Modify

Opened 9 years ago

Closed 9 years ago

#14750 closed defect (fixed)

NPE at JsonUserProfileDecoder.decodeUserProfile

Reported by: skorasaurus Owned by: floscher
Priority: major Milestone:
Component: Plugin mapillary Version: latest
Keywords: json Cc:

Description (last modified by skorasaurus)

When adding the mapillary layer, this error immediately appears. I'm using the latest version of josm as of this bug report, 12067.

To Reproduce:

  1. Open a new layer in josm.
  2. go to top menu > imagery > mapillary
  3. error appears

The full stacktrace is attached.

If I suppress the error box, JOSM and the mapillary functions normally.

a brief error is below:

Last errors/warnings:
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- E: Handled by bug report queue: java.lang.NullPointerException
- E: Handled by bug report queue: java.lang.NullPointerException
- E: Handled by bug report queue: java.lang.NullPointerException
- E: Handled by bug report queue: java.lang.NullPointerException
- E: Handled by bug report queue: java.lang.NullPointerException


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: userProfileDownload_D-BdgL-EHLpJ8yfCett07w (251)
java.lang.NullPointerException
	at javax.swing.ImageIcon.<init>(ImageIcon.java:240)
	at org.openstreetmap.josm.plugins.mapillary.utils.api.JsonUserProfileDecoder.decodeUserProfile(JsonUserProfileDecoder.java:34)
	at org.openstreetmap.josm.plugins.mapillary.MapillarySequence.lambda$setUser$0(MapillarySequence.java:179)
	at java.lang.Thread.run(Thread.java:745)

}}}

Attachments (1)

stacktrace (96.3 KB ) - added by skorasaurus 9 years ago.
stacktrace_from_josm

Download all attachments as: .zip

Change History (8)

by skorasaurus, 9 years ago

Attachment: stacktrace added

stacktrace_from_josm

comment:1 by skorasaurus, 9 years ago

Description: modified (diff)

comment:2 by Don-vip, 9 years ago

Keywords: json added
Summary: NullPointerException when loading mapillary layer.NPT at JsonUserProfileDecoder.decodeUserProfile

comment:3 by Don-vip, 9 years ago

Summary: NPT at JsonUserProfileDecoder.decodeUserProfileNPE at JsonUserProfileDecoder.decodeUserProfile

comment:4 by Don-vip, 9 years ago

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

comment:5 by Don-vip, 9 years ago

Priority: normalmajor

comment:6 by floscher, 9 years ago

This issue has been resolved in commit a865af6, which is contained in the releases v1.5.4 and later.

comment:7 by floscher, 9 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

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