﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14750	NullPointerException when loading mapillary layer.	skorasaurus	floscher	"
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)
}}}




}}}
"	defect	new	normal		Plugin mapillary	latest			
