Modify

Opened 4 years ago

Closed 4 years ago

#21075 closed defect (needinfo)

Mapillary Plugin keeps crashing

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Plugin mapillary Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Load in mapillary layer.
  2. Progress through images. An error will appear at the bottom that says "cannot read null image".
  3. Popup appears asking to update plugin. Updating plugin asks you to file a bug report.

What is the expected result?

What happens instead?

Please provide any additional information below. Attach a screenshot if possible.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-06-02 22:03:39 +0200 (Wed, 02 Jun 2021)
Build-Date:2021-06-02 20:11:30
Revision:17919
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17919 en) Mac OS X 10.16
OS Build number: macOS 11.4 (20F71)
Memory Usage: 1186 MB / 1820 MB (265 MB allocated, but free)
Java version: 1.8.0_291-b10, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 69733632 1440×900 (scaling 1.00×1.00) Display 188945226 1920×1080 (scaling 1.00×1.00) Display 188945225 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/Downloads/josm.jnlp, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Dmacosx.jnlpx.dock.name=JOSM, -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/25/4c122699-697effe2.icns, -Djnlpx.jvm="<java.home>/bin/java"]
Dataset consistency test: No problems found

Plugins:
+ Mapillary (2.0.0-alpha.25-dirty)
+ apache-commons (35524)
+ apache-http (35589)
+ auto_tools (79)
+ changeset-viewer (25)
+ continuosDownload (91)
+ graphview (35640)
+ javafx-osx (35655)
+ jna (35662)
+ openqa (0.2.2)
+ osm-obj-info (56)
+ reverter (35732)
+ rex (53)
+ utilsplugin2 (35691)

Tagging presets:
+ /Applications/JOSM-Buddy/assets/presets/heading.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Kaart-Styles.mapcss
+ ${HOME}/Desktop/Paintstyle:validator checks/Clingstone/Test styles/Current_Kaart_style copy.mapcss
+ https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Overlapping%20Ways.mapcss
- ${HOME}/Desktop/Paintstyle:validator checks/Clingstone/QC Styles/New Test QC.mapcss
- https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Kaart_QC_Quandary.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/LayerChecker&zip=1
- ${HOME}/Desktop/Paintstyle:validator checks/applepaintstyles-main/main_street.mapcss

Validator rules:
+ https://raw.githubusercontent.com/KaartGroup/KaartValidator/master/kaart.clingstone.validator.mapcss
+ /Applications/JOSM-Buddy/assets/validators/forbidden-tag-check.validator.mapcss
- https://raw.githubusercontent.com/KaartGroup/KaartValidator/master/kaart.indonesiaNames.validator.mapcss
- https://raw.githubusercontent.com/KaartGroup/KaartValidator/master/kaart.durazno.validator.mapcss
- ${HOME}/Desktop/Paintstyle:validator checks/Clingstone/kaart.malaysiaNames.validator.mapcss

Last errors/warnings:
- 00227.847 E: Mapillary API error: {"error":{"message":"Unsupported get request. Object with ID 'null' does not exist, cannot be loaded due to missing permissions, or does not support this operation","type":"MLYApiException","code":100,"error_subcode":33,"fbtrace_id":"AL8TPThvwHNISeJFyyTSiJF"}}
- 00231.160 E: {"error":{"message":"Unsupported get request. Object with ID 'null' does not exist, cannot be loaded due to missing permissions, or does not support this operation","type":"MLYApiException","code":100,"error_subcode":33,"fbtrace_id":"AwpOa4nitDV51iHZFXIjF57"}}
- 00231.161 E: Mapillary API error: {"error":{"message":"Unsupported get request. Object with ID 'null' does not exist, cannot be loaded due to missing permissions, or does not support this operation","type":"MLYApiException","code":100,"error_subcode":33,"fbtrace_id":"AwpOa4nitDV51iHZFXIjF57"}}
- 00235.125 E: java.lang.NullPointerException
- 00235.130 E: java.lang.NullPointerException
- 00235.158 E: Handled by bug report queue: java.lang.NullPointerException
- 00235.162 E: Handled by bug report queue: java.lang.NullPointerException
- 00235.456 E: java.lang.NullPointerException
- 00235.470 E: Handled by bug report queue: java.lang.IllegalStateException: No match found
- 00235.552 E: Handled by bug report queue: java.lang.NullPointerException



=== REPORTED CRASH DATA ===
JsonDecoder#lambda$decodeData$0:
 - json: {"altitude":0,"thumb_2048_url":"https://scontent.fmci2-1.fna.fbcdn.net/m1/v/t6/An8sSWM2Si0VzQ9Uyv80q39BFEGfXasnMgqGBJ5g16pN7WD1X6-s_DDRYLwBDPk7gSIiDB3en_WjX9iBLjteB-UnIfRgEuNDkhJCKigQV4mlxmo3KO_cG8JRKS4VWgNcM6ZjaucrBvzC8TMPPulXxg?stp=s2048x1152&tp=1&ccb=9-4&oh=86a8ca7218032ab091734fe868452479&oe=60E99A92","captured_at":1621868928793,"compass_angle":24.393781661987,"computed_altitude":2.3550977064297,"computed_compass_angle":18.830385759706,"computed_geometry":{"type":"Point","coordinates":[-43.428940966812,-22.88192028697]},"computed_rotation":[1.1267835227152,-0.20328829907325,0.26690879467882],"exif_orientation":1,"geometry":{"type":"Point","coordinates":[-43.428977966309,-22.881883621216]},"id":"390114498985781","quality_score":0.93333333333333,"sequence":"rjwp1o4hnl0x15qug8t28d","thumb_256_url":"https://scontent.fmci2-1.fna.fbcdn.net/m1/v/t6/An8sSWM2Si0VzQ9Uyv80q39BFEGfXasnMgqGBJ5g16pN7WD1X6-s_DDRYLwBDPk7gSIiDB3en_WjX9iBLjteB-UnIfRgEuNDkhJCKigQV4mlxmo3KO_cG8JRKS4VWgNcM6ZjaucrBvzC8TMPPulXxg?stp=s256x144&tp=1&ccb=9-4&oh=6340b01e41ee4003bba5e6bc09961e2f&oe=60E99A92"}

Warning issued by: JsonDecoder#lambda$decodeData$0

=== STACK TRACE ===
Thread: AWT-EventQueue-2 (47) of javawsApplicationThreadGroup
java.lang.NullPointerException
	at org.openstreetmap.josm.data.osm.AbstractPrimitive.doGet(AbstractPrimitive.java:684)
	at org.openstreetmap.josm.data.osm.AbstractPrimitive.get(AbstractPrimitive.java:698)
	at org.openstreetmap.josm.plugins.mapillary.utils.MapillaryImageUtils.getKey(MapillaryImageUtils.java:301)
	at org.openstreetmap.josm.plugins.mapillary.utils.api.JsonImageDetailsDecoder.lambda$decodeImageInfo$2(JsonImageDetailsDecoder.java:100)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
	at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1361)
	at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
	at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:499)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
	at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.findAny(ReferencePipeline.java:469)
	at org.openstreetmap.josm.plugins.mapillary.utils.api.JsonImageDetailsDecoder.decodeImageInfo(JsonImageDetailsDecoder.java:100)
	at org.openstreetmap.josm.plugins.mapillary.utils.api.JsonImageDetailsDecoder.decodeImageInfos(JsonImageDetailsDecoder.java:65)
	at org.openstreetmap.josm.plugins.mapillary.io.download.MapillaryDownloader.lambda$realDownloadImages$2(MapillaryDownloader.java:95)
	at org.openstreetmap.josm.plugins.mapillary.utils.api.JsonDecoder.decodeData(JsonDecoder.java:94)
	at org.openstreetmap.josm.plugins.mapillary.io.download.MapillaryDownloader.realDownloadImages(MapillaryDownloader.java:95)
	at org.openstreetmap.josm.plugins.mapillary.io.download.MapillaryDownloader.downloadImages(MapillaryDownloader.java:61)
	at org.openstreetmap.josm.plugins.mapillary.cache.MapillaryCache.lambda$prefetchImageDetails$5(MapillaryCache.java:161)
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1067)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1703)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172)

Attachments (0)

Change History (3)

comment:1 by taylor.smock, 4 years ago

Ticket #21066 has been marked as a duplicate of this ticket.

comment:2 by taylor.smock, 4 years ago

Owner: changed from Taylor Smock to anonymous
Status: assignedneedinfo

@anonymous: I just made a change that will hopefully fix this. Please update your plugins in ~ 10 minutes from this post (11:50 MDT), and let me know if it keeps happening.

comment:3 by Don-vip, 4 years ago

Resolution: needinfo
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anonymous.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.