Modify

Opened 8 months ago

Closed 8 months ago

Last modified 8 months 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 Changed 8 months ago by Don-vip

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

comment:2 Changed 8 months ago by Don-vip

Resolution: fixed
Status: newclosed

Fixed in [o34901:34902].

comment:3 in reply to:  2 Changed 8 months ago by anonymous

Replying to Don-vip:

Fixed in [o34901:34902].

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

comment:4 Changed 8 months ago by Don-vip

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

comment:5 in reply to:  4 Changed 8 months ago by anonymous

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.

Add Comment


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

 
Note: See TracTickets for help on using tickets.