Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#17382 closed defect (fixed)

Unexpected exception occurred when using splinex

Reported by: chenjwandrew@… Owned by: Upliner
Priority: normal Milestone:
Component: Plugin splinex Version: tested
Keywords: Cc:

Description

What steps will reproduce the problem?

  1. Open JOSM and select the splinex tool
  2. Draw some connected nodes
  3. Exception occurred when double clicking on the nodes or way.

"an unexpected exception occurred that that may have come from the splinex plugin"

What is the expected result?

Should have formed a spline

What happens instead?

Unexpected Exception

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-02-02 21:01:18 +0100 (Sat, 02 Feb 2019)
Build-Date:2019-02-04 21:50:11
Revision:14760
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14760 en) Windows 10 64-Bit
OS Build number: Windows 10 Home China 1809 (17763)
Memory Usage: 550 MB / 1820 MB (231 MB allocated, but free)
Java version: 1.8.0_201-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

Plugins:
+ splinex (34867)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: java.util.NoSuchElementException
- E: Handled by bug report queue: java.util.NoSuchElementException
- W: Warning - <html>JOSM could not find information about the following plugin:<ul><li>splinex</li></ul>The plugin is 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.LinkedList$ListItr.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.Splinex.Spline$FinishSplineCommand.<init>(Spline.java:511)
	at org.openstreetmap.josm.plugins.Splinex.Spline.finishSpline(Spline.java:279)
	at org.openstreetmap.josm.plugins.Splinex.DrawSplineAction.mousePressed(DrawSplineAction.java:172)
	at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (5)

comment:1 by Don-vip, 5 years ago

Component: CorePlugin splinex
Keywords: splinex bug removed
Owner: changed from team to Upliner

comment:2 by Don-vip, 5 years ago

Resolution: fixed
Status: newclosed

Fixed in [o34901:34902].

in reply to:  2 comment:3 by anonymous, 5 years ago

Replying to Don-vip:

Fixed in [o34901:34902].

Thanks for the reply. Could you explain how to fix this problem?

comment:4 by Don-vip, 5 years ago

simply update your plugins. Maybe a restart of JOSM is needed then.

in reply to:  4 comment:5 by anonymous, 5 years ago

Replying to Don-vip:

simply update your plugins. Maybe a restart of JOSM is needed then.

Thank you very much. I really appreciate your help. The error is fixed right now, but when I double click on the spline, it just turns into several nodes connected by straight line instead of a smooth curve. Do you know what might the problem?

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.