Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#20736 closed defect (duplicate)

NPE: "Initial LatLon cannot be null" at MapillaryAbstractImage.<init> - trying to download a new data set

Reported by: marcos.mar.medeiros@… Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin mapillary Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

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-04-01 23:17:01 +0200 (Thu, 01 Apr 2021)
Build-Date:2021-04-01 21:46:03
Revision:17702
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17702 pt_BR) Windows 10 64-Bit
OS Build number: Windows 10 Home 2004 (19041)
Memory Usage: 247 MB / 247 MB (69 MB allocated, but free)
Java version: 1.8.0_181-b13, Oracle Corporation, Java HotSpot(TM) Client VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1366×768 (scaling 1,00×1,00) \Display1 1360×768 (scaling 1,00×1,00)
Maximum Screen Size: 1366×768
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Dataset consistency test: No problems found

Plugins:
+ CADTools (1008)
+ FastDraw (35640)
+ Mapillary (1.5.37.4)
+ apache-commons (35524)
+ apache-http (35589)
+ buildings_tools (35669)
+ imagery_offset_db (35640)
+ javafx-windows (35655)
+ jna (35662)
+ turnrestrictions (35640)
+ utilsplugin2 (35691)

Map paint styles:
- %UserProfile%\Downloads\Kaart-Styles.mapcss

Validator rules:
+ %UserProfile%\Documents\Open Street Maps\Josm\kaart.validator.mapcss

Last errors/warnings:
- 00063,515 E: Falha ao localizar imagem 'void--car-mount'
- 00063,519 E: Falha ao localizar imagem 'void--dynamic'
- 00063,523 E: Falha ao localizar imagem 'void--ego-vehicle'
- 00063,527 E: Falha ao localizar imagem 'void--ground'
- 00063,531 E: Falha ao localizar imagem 'void--static'
- 00064,313 E: Falha ao localizar imagem 'warning--kangaroo-crossing--g1'
- 00152,531 E: Region [userProfile_BLOCK_v2] : Problem loading keys for file userProfile_BLOCK_v2
- 00171,154 E: Region [mapillaryObjectIcons_BLOCK_v2] : Problem loading keys for file mapillaryObjectIcons_BLOCK_v2
- 00172,371 W: Failed to download icon. ID unknown to the icon list: general--traffic-sign--g1: java.io.IOException: A URL requisitada https://www.mapillary.com/developer/api-documentation/images/traffic_sign/general--traffic-sign--g1.png não foi encontrada
- 00429,396 E: Handled by bug report queue: java.lang.NullPointerException: Initial LatLon cannot be null



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: mapillary-MapillarySquareDownloadRunnable-1 (301)
java.lang.NullPointerException: Initial LatLon cannot be null
	at java.util.Objects.requireNonNull(Unknown Source)
	at org.openstreetmap.josm.plugins.mapillary.data.image.MapillaryAbstractImage.<init>(MapillaryAbstractImage.java:96)
	at org.openstreetmap.josm.plugins.mapillary.data.image.MapillaryImage.<init>(MapillaryImage.java:64)
	at org.openstreetmap.josm.plugins.mapillary.utils.api.JsonImageDetailsDecoder.decodeImageInfo(JsonImageDetailsDecoder.java:81)
	at org.openstreetmap.josm.plugins.mapillary.utils.api.JsonImageDetailsDecoder.lambda$decodeImageInfos$0(JsonImageDetailsDecoder.java:52)
	at org.openstreetmap.josm.plugins.mapillary.utils.api.JsonDecoder.decodeFeatureCollection(JsonDecoder.java:44)
	at org.openstreetmap.josm.plugins.mapillary.utils.api.JsonImageDetailsDecoder.decodeImageInfos(JsonImageDetailsDecoder.java:52)
	at org.openstreetmap.josm.plugins.mapillary.io.download.ImageDetailsDownloadRunnable.run(ImageDetailsDownloadRunnable.java:56)
	at org.openstreetmap.josm.plugins.mapillary.io.download.BoundsDownloadRunnable.realRun(BoundsDownloadRunnable.java:113)
	at org.openstreetmap.josm.plugins.mapillary.io.download.BoundsDownloadRunnable.realRun(BoundsDownloadRunnable.java:81)
	at org.openstreetmap.josm.plugins.mapillary.io.download.BoundsDownloadRunnable.lambda$run$0(BoundsDownloadRunnable.java:71)
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(Unknown Source)
	at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)

Attachments (0)

Change History (3)

comment:1 by Don-vip, 4 years ago

Component: CorePlugin mapillary
Owner: changed from team to taylor.smock
Summary: The error occurred when trying to download a new data set with the mapillary plugin enabledNPE: "Initial LatLon cannot be null" at MapillaryAbstractImage.<init> - trying to download a new data set

comment:2 by skyper, 4 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #20622.

comment:3 by taylor.smock, 4 years ago

Please update your plugins.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain taylor.smock.
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.