Hi,

You are right about the non-editable layer but it is also possible to make the 
tool confused by having two or more layers editable at the same time when the 
selected layer is not the first editable layer. In Kosmo that can’t happen 
because it only allows one editable layer at a time but with OJ it is still 
possible if user changes the default setting.

The tool does not seem to deal with multilinestrings so if you cut one segment 
from a line you can’t cut another one because the first operation makes 
linestring into multilinestring.

-Jukka-
Lähettäjä: Giuseppe Aruta [mailto:[email protected]]
Lähetetty: 16. maaliskuuta 2017 15:56
Vastaanottaja: OpenJump develop and use <[email protected]>
Aihe: Re: [JPP-Devel] CAD drawing tool Remove segment in line

Hi Jukka
I can reproduce the error message. It happens for me when the layer is 
selectable but non editable. Can you please check on your side? I will correct 
this bug as soon as possible.
thanks
Peppe

2017-03-16 13:49 GMT+01:00 Rahkonen Jukka (MML) 
<[email protected]<mailto:[email protected]>>:
Hi Peppe,

I don’t know if I use the Remove segment tool in a wrong way or what but it 
throws me this:

java.util.NoSuchElementException
                             at 
java.util.LinkedHashMap$LinkedHashIterator.nextNode(Unknown Source)
                             at 
java.util.LinkedHashMap$LinkedKeyIterator.next(Unknown Source)
                             at 
org.openjump.advancedtools.tools.RemoveSectionInLineTool.gestureFinished(RemoveSectionInLineTool.java:158)
                             at 
com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.fireGestureFinished(AbstractCursorTool.java:614)
                             at 
com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.finishGesture(MultiClickTool.java:247)
                             at 
com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.mouseReleased(MultiClickTool.java:138)
                             at 
com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:93)
                             at 
com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:105)
                             at 
java.awt.AWTEventMulticaster.mouseReleased(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)

-Jukka Rahkonen-


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to