﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14988	NPE at dxfimport.DxfImportTask.realRun	amishabudhiraja96@…	team	"==== What steps will reproduce the problem?
1.JOSM current version on my system is 12450. 
2. Installed DxfImport Plugin.
3. Error: ""An unexpected excception occured. This is always a coding error"" 

==== What is the expected result?
With Dxf import plugin dxf file should be opened in JOSM.

==== What happens instead?
Error occured as mentioned above.

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-07-03 00:44:07 +0200 (Mon, 03 Jul 2017)
Build-Date:2017-07-02 23:26:36
Revision:12450
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12450 en) Linux Ubuntu 16.04.2 LTS
Memory Usage: 418 MB / 850 MB (162 MB allocated, but free)
Java version: 1.8.0_131-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: :0.0 1366x768
Maximum Screen Size: 1366x768
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
+ DxfImport (1010)
+ apache-commons (32994)
+ dataimport (33024)
+ ejml (32680)
+ geotools (33380)
+ jts (32699)
+ opendata (33358)
+ utilsplugin2 (33328)

Last errors/warnings:
- W: Update plugins - org.openstreetmap.josm.plugins.PluginHandler$UpdatePluginsMessagePanel[,0,0,0x0,invalid,layout=java.awt.GridBagLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
- W: Invalid jar file ''<josm.pref>/plugins/dataimport.jar.new'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>/plugins/geotools.jar.new'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>/plugins/opendata.jar.new'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>/plugins/jts.jar.new'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>/plugins/utilsplugin2.jar.new'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>/plugins/apache-commons.jar.new'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>/plugins/ejml.jar.new'' (exists: false, canRead: false)
- E: java.io.IOException: java.lang.NullPointerException. Cause: java.lang.NullPointerException
- E: Handled by bug report queue: java.io.IOException: java.lang.NullPointerException. Cause: java.lang.NullPointerException


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (18) of main
java.io.IOException: java.lang.NullPointerException
	at org.openstreetmap.josm.plugins.dxfimport.DxfImportTask.realRun(DxfImportTask.java:192)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:95)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:143)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
	at com.kitfox.svg.Line.getBoundingBox(Line.java:118)
	at com.kitfox.svg.Group.calcBoundingBox(Group.java:270)
	at com.kitfox.svg.Group.getBoundingBox(Group.java:252)
	at com.kitfox.svg.Group.calcBoundingBox(Group.java:270)
	at com.kitfox.svg.Group.getBoundingBox(Group.java:252)
	at com.kitfox.svg.Group.calcBoundingBox(Group.java:270)
	at com.kitfox.svg.Group.getBoundingBox(Group.java:252)
	at com.kitfox.svg.SVGRoot.getBoundingBox(SVGRoot.java:374)
	at org.openstreetmap.josm.plugins.dxfimport.DxfImportTask.realRun(DxfImportTask.java:186)
	... 7 more
}}}
"	defect	closed	normal		Plugin DxfImport		duplicate	template_report	
