Modify

Opened 6 years ago

Closed 6 years ago

#17961 closed defect (fixed)

Importvec throws exception when importing

Reported by: Pauluzz Owned by: Upliner
Priority: normal Milestone:
Component: Plugin importvec Version: latest
Keywords: template_report Cc: Upliner

Description

What steps will reproduce the problem?

  1. Install importvec plugin
  2. Open SVG file "File-> Open..."
  3. Close the unexpected "Opening files" dialog
  4. Set scale and curve to 1:1 and 4 (or 100, doesn't matter)

What is the expected result?

Plugin imports the svg into josm.

What happens instead?

an unexpected exception occurs

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: 2019-07-10 00:52:47 +0200 (Wed, 10 Jul 2019)
Build-Date:2019-07-10 01:30:51
Revision:15238
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15238 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Pro 1809 (17763)
Memory Usage: 1372 MB / 1820 MB (880 MB allocated, but free)
Java version: 1.8.0_211-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080, \Display1 1920x1200
Maximum Screen Size: 1920x1200
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (34908)
+ FixAddresses (34977)
+ HouseNumberTaggingTool (34977)
+ MicrosoftStreetside (34977)
+ OpeningHoursEditor (34977)
+ PicLayer (35030)
+ apache-commons (34908)
+ apache-http (34908)
+ buildings_tools (34982)
+ ejml (35049)
+ fieldpapers (v0.5.0)
+ geotools (34908)
+ imagery_offset_db (34908)
+ importvec (34908)
+ javafx-windows
+ jaxb (35014)
+ jna (34908)
+ jts (35064)
+ log4j (34908)
+ measurement (35051)
+ opendata (34997)
+ pdfimport (34977)
+ tageditor (34977)
+ terracer (34977)
+ turnrestrictions (34977)
+ utilsplugin2 (34977)
+ wikipedia (v1.1.1)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/BicycleJunction&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&zip=1

Last errors/warnings:
- W: Update plug-ins - 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: Plugin javafx-windows requires Java version 10. The current Java version is 8. You have to update Java in order to use this plugin.
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: unable to find dependency javafx for plugin MicrosoftStreetside
- E: Handled by bug report queue: java.util.NoSuchElementException
- W: Warning - <html>JOSM could not find information about the following plug-ins:<ul><li>apache-commons</li><li>HouseNumberTaggingTool</li><li>geotools</li><li>tageditor</li><li>opendata</li><li>javafx-windows</li><li>FixAddresses</li><li>measurement</li><li>jaxb</li><li>utilsplugin2</li><li>pdfimport</li><li>AddrInterpolation</li><li>terracer</li><li>turnrestrictions</li><li>wikipedia</li><li>jna</li><li>importvec</li><li>MicrosoftStreetside</li><li>PicLayer</li><li>log4j</li><li>imagery_offset_db</li><li>jts</li><li>ejml</li><li>fieldpapers</li><li>OpeningHoursEditor</li><li>buildings_tools</li><li>apache-http</li></ul>The plug-ins 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-0 (18) of main
java.util.NoSuchElementException
	at java.util.ArrayList$Itr.next(Unknown Source)
	at org.openstreetmap.josm.command.SequenceCommand.<init>(SequenceCommand.java:56)
	at org.openstreetmap.josm.command.SequenceCommand.<init>(SequenceCommand.java:65)
	at org.openstreetmap.josm.plugins.importvec.SvgImportTask.realRun(SvgImportTask.java:200)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142)
	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)

Attachments (1)

KaartViewerPDF4plain.svg (809.5 KB ) - added by Pauluzz 6 years ago.
plain SVG file that causes the exception when importing

Download all attachments as: .zip

Change History (2)

by Pauluzz, 6 years ago

Attachment: KaartViewerPDF4plain.svg added

plain SVG file that causes the exception when importing

comment:1 by Don-vip, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [o35074:35075].

Modify Ticket

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