Modify

Opened 6 years ago

Closed 5 years ago

#16669 closed defect (needinfo)

NPE at Rect.getBoundingBox

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Plugin importvec Version:
Keywords: template_report svg Cc:

Description

What steps will reproduce the problem?

  1. Trying to import .svg layer into JOSM

What is the expected result?

To have vector image to tag
Have updated plugins and restarted.

What happens instead?

Pop-up saying 'importvec' plug-in wont load followed by pop-up saying no plug-ins will load.

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-08-18 16:16:51 +0200 (Sat, 18 Aug 2018)
Build-Date:2018-08-18 16:30:21
Revision:14163
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14163 en) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1803 (17134)
Memory Usage: 247 MB / 247 MB (86 MB allocated, but free)
Java version: 1.8.0_181-b13, 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=49458, -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 (34544)
+ apache-commons (34506)
+ buildings_tools (34572)
+ colorscheme (34573)
+ ejml (34389)
+ geotools (34513)
+ imagery_offset_db (34506)
+ importvec (34520)
+ indoorhelper (34522)
+ jts (34524)
+ photoadjust (34543)
+ plastic_laf (34206)
+ public_transport (34548)
+ utilsplugin2 (34506)

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
- 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>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 (53) of javawsApplicationThreadGroup
java.io.IOException: java.lang.NullPointerException
	at org.openstreetmap.josm.plugins.importvec.SvgImportTask.realRun(SvgImportTask.java:190)
	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.Rect.getBoundingBox(Rect.java:221)
	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:183)
	... 7 more

Attachments (0)

Change History (3)

comment:1 by Don-vip, 6 years ago

Component: CorePlugin importvec
Owner: changed from team to Upliner
Priority: criticalnormal
Summary: 14163 will not load plug-insNPE at Rect.getBoundingBox

comment:2 by Don-vip, 6 years ago

Owner: changed from Upliner to anonymous
Status: newneedinfo

Please attach the .svg file you try to import.

comment:3 by Don-vip, 5 years ago

Keywords: svg added
Resolution: needinfo
Status: needinfoclosed

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. 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.