Modify

Opened 7 months ago

Closed 7 months ago

Last modified 7 months ago

#16551 closed defect (fixed)

NPE at svg.TransformableElement.boundsToParent

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone: 18.08
Component: Core Version:
Keywords: template_report Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Will not import .svg image

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: 2018-07-29 00:41:59 +0200 (Sun, 29 Jul 2018)
Build-Date:2018-07-29 01:32:17
Revision:14066
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14066 en) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1803 (17134)
Memory Usage: 247 MB / 247 MB (1 MB allocated, but free)
Java version: 1.8.0_171-b11, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1920x1080, \Display1 1920x1080, \Display2 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-788ff6d8, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=58457, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe]
Dataset consistency test: No problems found

Plugins:
+ ColorPlugin (1511895663)
+ PicLayer (34389)
+ apache-commons (34389)
+ buildings_tools (34212)
+ colorscheme (34206)
+ ejml (34389)
+ geotools (34125)
+ imagery_offset_db (34370)
+ importvec (34206)
+ indoorhelper (34389)
+ jts (34206)
+ opendata (34389)
+ photoadjust (34389)
+ plastic_laf (34206)
+ public_transport (34265)
+ utilsplugin2 (34389)

Map paint styles:
+ https://github.com/gmgeo/osmic-josm-style/archive/master.zip
+ https://josm.openstreetmap.de/josmfile?page=Styles/ColourTag&zip=1
+ <josm.pref>\styles\sit.mapcss

Validator rules:
+ <josm.pref>\validator\indoorhelper.validator.mapcss

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
- 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
- W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>indoorhelper</li><li>imagery_offset_db</li><li>apache-commons</li><li>photoadjust</li><li>geotools</li><li>opendata</li><li>jts</li><li>ejml</li><li>public_transport</li><li>plastic_laf</li><li>ColorPlugin</li><li>utilsplugin2</li><li>buildings_tools</li><li>colorscheme</li><li>importvec</li><li>PicLayer</li></ul>The plugins are not going to be loaded.</html>
- 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
- W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>indoorhelper</li><li>imagery_offset_db</li><li>apache-commons</li><li>photoadjust</li><li>geotools</li><li>opendata</li><li>jts</li><li>ejml</li><li>public_transport</li><li>plastic_laf</li><li>ColorPlugin</li><li>utilsplugin2</li><li>buildings_tools</li><li>colorscheme</li><li>importvec</li><li>PicLayer</li></ul>The plugins are not going to be loaded.</html>


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-2 (57) of javawsApplicationThreadGroup
java.io.IOException: java.lang.NullPointerException
	at org.openstreetmap.josm.plugins.importvec.SvgImportTask.realRun(SvgImportTask.java:188)
	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(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
	at com.kitfox.svg.TransformableElement.boundsToParent(TransformableElement.java:117)
	at com.kitfox.svg.ImageSVG.getBoundingBox(ImageSVG.java:262)
	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.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.importvec.SvgImportTask.realRun(SvgImportTask.java:181)
	... 7 more

Attachments (0)

Change History (4)

comment:1 Changed 7 months ago by Don-vip

Description: modified (diff)
Owner: changed from team to anonymous
Status: newneedinfo
Summary: Will not import .svg imageNPE at svg.TransformableElement.boundsToParent

Please attach your .svg file.

comment:2 Changed 7 months ago by Don-vip

Milestone: 18.08

comment:3 Changed 7 months ago by Don-vip

Resolution: fixed
Status: needinfoclosed

In 14082/josm:

fix #16551 - NPE

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.