[JPP-Devel] [jump-pilot:bugs] #521 Error on Measure Toolbox plugin OpenJUMP 2 - rev 4996 20211017

2021-11-22 Thread ede via Jump-pilot-devel
tried `OpenJUMP-20211017-r4998(f9296be)-PLUS` note **r4998**, r4996 does not 
exist
with 
```
Using 'java' found in 'C:\Program Files (x86)\Java\jre1.8.0_261\bin\'
java version "1.8.0_261"; Java(TM) SE Runtime Environment (build 
1.8.0_261-b12); Java HotSpot(TM) Client VM (build 25.261-b12 mixed mode)
```
and both measurement cursol tools seem to work fine. see attached



Attachments:

- 
[measure.jpg](https://sourceforge.net/p/jump-pilot/bugs/_discuss/thread/511f5a6fee/bf5f/attachment/measure.jpg)
 (53.7 kB; image/jpeg)


---

** [bugs:#521] Error on Measure Toolbox plugin OpenJUMP 2 - rev 4996  20211017**

**Status:** open
**Milestone:** undecided
**Created:** Thu Nov 18, 2021 07:30 PM UTC by Giuseppe Aruta
**Last Updated:** Sun Nov 21, 2021 04:02 PM UTC
**Owner:** nobody


Hi all,
the error comes out when I use "Measure area" tool /First icon from the left) 
in the drag mode (not in drawing mode)
--
[ERROR] 20:16:07.262 'boolean 
org.locationtech.jts.geom.CoordinateList.add(org.locationtech.jts.geom.Coordinate)'
java.lang.NoSuchMethodError: 'boolean 
org.locationtech.jts.geom.CoordinateList.add(org.locationtech.jts.geom.Coordinate)'
at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.getRectangleCoordinates(MeasureRectangleTool.java:134)
at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.toFeature(MeasureRectangleTool.java:146)
at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.gestureFinished(MeasureRectangleTool.java:94)
at 
com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.fireGestureFinished(AbstractCursorTool.java:616)
at 
com.vividsolutions.jump.workbench.ui.cursortool.DragTool.mouseReleased(DragTool.java:172)
at 
com.vividsolutions.jump.workbench.ui.cursortool.OrCompositeTool.mouseReleased(OrCompositeTool.java:121)
at 
com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:94)
at 
com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:105)
at 
java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6400)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at 
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at 
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at 
java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
--

I download the code and opened into Eclipse but I didn't find any error

Peppe


---

Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/jump-pilot/bugs/

To unsubscribe from further messages, a project admin can change settings at 
https://sourc

[JPP-Devel] [jump-pilot:bugs] Re: #521 Error on Measure Toolbox plugin OpenJUMP 2 - rev 4996 20211017

2021-11-22 Thread ede via Jump-pilot-devel
On 21.11.2021 17:02, michael michaud wrote:
> Sorry,  https://ojrepo.soldin.de "2.0-SNAPSHOT" is referencing jts1.18.1 but 
> "2.0-main-SNAPSHOT" is referencing jts 1.18.2 and measure-toolbox is pointing 
> to the second. So I have no idea about what happens.

yeah and extension are compiled against 2.0-main-SNAPSHOT currently, hence jts 
1.18.2 .
let me see if can get the issue replicated. it's probably something simple, as 
usual.

> By the way, is there a reason to keep 2 snapshots in the repo ?

nope, just a leftover. deleted it just now. ..ede


---

** [bugs:#521] Error on Measure Toolbox plugin OpenJUMP 2 - rev 4996  20211017**

**Status:** open
**Milestone:** undecided
**Created:** Thu Nov 18, 2021 07:30 PM UTC by Giuseppe Aruta
**Last Updated:** Mon Nov 22, 2021 01:06 PM UTC
**Owner:** nobody


Hi all,
the error comes out when I use "Measure area" tool /First icon from the left) 
in the drag mode (not in drawing mode)
--
[ERROR] 20:16:07.262 'boolean 
org.locationtech.jts.geom.CoordinateList.add(org.locationtech.jts.geom.Coordinate)'
java.lang.NoSuchMethodError: 'boolean 
org.locationtech.jts.geom.CoordinateList.add(org.locationtech.jts.geom.Coordinate)'
at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.getRectangleCoordinates(MeasureRectangleTool.java:134)
at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.toFeature(MeasureRectangleTool.java:146)
at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.gestureFinished(MeasureRectangleTool.java:94)
at 
com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.fireGestureFinished(AbstractCursorTool.java:616)
at 
com.vividsolutions.jump.workbench.ui.cursortool.DragTool.mouseReleased(DragTool.java:172)
at 
com.vividsolutions.jump.workbench.ui.cursortool.OrCompositeTool.mouseReleased(OrCompositeTool.java:121)
at 
com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:94)
at 
com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:105)
at 
java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6400)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at 
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at 
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at 
java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
--

I download the code and opened into Eclipse but I didn't find any error

Peppe


---

Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/jump-pilot/bugs/

To unsubscribe from further messages, a project admin can change

Re: [JPP-Devel] [jump-pilot:bugs] #521 Error on Measure Toolbox plugin OpenJUMP 2 - rev 4996 20211017

2021-11-22 Thread Michaud Michael


Hi Ede,Are you sure you tested the extension from the plugins menu and using the drag mode as stated by Peppe and not the measure tool of the toolbar which works fine for me also ?Michaëlenvoyé : 22 novembre 2021 à 14:06de : ede via Jump-pilot-devel à : jump-pilot-devel@lists.sourceforge.netcc : ede objet : [JPP-Devel] [jump-pilot:bugs] #521 Error on Measure Toolbox plugin OpenJUMP 2 - rev 4996 20211017tried OpenJUMP-20211017-r4998(f9296be)-PLUS note r4998, r4996 does not exist withUsing 'java' found in 'C:\Program Files (x86)\Java\jre1.8.0_261\bin\'
java version "1.8.0_261"; Java(TM) SE Runtime Environment (build 1.8.0_261-b12); Java HotSpot(TM) Client VM (build 25.261-b12 mixed mode)
and both measurement cursol tools seem to work fine. see attachedAttachments:measure.jpg (53.7 kB; image/jpeg) [bugs:#521] Error on Measure Toolbox plugin OpenJUMP 2 - rev 4996 20211017Status: open Milestone: undecided Created: Thu Nov 18, 2021 07:30 PM UTC by Giuseppe Aruta Last Updated: Sun Nov 21, 2021 04:02 PM UTC Owner: nobodyHi all, the error comes out when I use "Measure area" tool /First icon from the left) in the drag mode (not in drawing mode)[ERROR] 20:16:07.262 'boolean org.locationtech.jts.geom.CoordinateList.add(org.locationtech.jts.geom.Coordinate)' java.lang.NoSuchMethodError: 'boolean org.locationtech.jts.geom.CoordinateList.add(org.locationtech.jts.geom.Coordinate)' at org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.getRectangleCoordinates(MeasureRectangleTool.java:134) at org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.toFeature(MeasureRectangleTool.java:146) at org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.gestureFinished(MeasureRectangleTool.java:94) at com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.fireGestureFinished(AbstractCursorTool.java:616) at com.vividsolutions.jump.workbench.ui.cursortool.DragTool.mouseReleased(DragTool.java:172) at com.vividsolutions.jump.workbench.ui.cursortool.OrCompositeTool.mouseReleased(OrCompositeTool.java:121) at com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:94) at com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:105) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) at java.desktop/java.awt.Component.processEvent(Component.java:6400) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)I download the code and opened into Eclipse but I didn't find any errorPeppeSent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jump-pilot

[JPP-Devel] [jump-pilot:bugs] Re: #521 Error on Measure Toolbox plugin OpenJUMP 2 - rev 4996 20211017

2021-11-22 Thread michael michaud via Jump-pilot-devel
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

http://www.w3.org/1999/xhtml";>

 Hi Ede,Are you sure you tested the extension from the plugins 
menu and using the drag mode as stated by Peppe and not the measure tool of the 
toolbar which works fine for me also ?Michaëlenvoyé : 22 novembre 2021 à 14:06de 
: ede via Jump-pilot-devel 
à : jump-pilot-devel@lists.sourceforge.netcc : ede 
objet 
: [JPP-Devel] [jump-pilot:bugs] #521 Error 
on Measure Toolbox plugin OpenJUMP 2 - rev 4996 20211017tried 
OpenJUMP-20211017-r4998(f9296be)-PLUS note r4998, r4996 does 
not exist withUsing 'java' found in 
'C:\Program 
Files (x86)\Java\jre1.8.0_261\bin\'
java version "1.8.0_261"; Java(TM) SE Runtime Environment (build 
1.8.0_261-b12); Java 
HotSpot(TM) Client 
VM (build 
25.261-b12 
mixed mode)
and both measurement cursol tools seem to work fine. see 
attachedAttachments:https://sourceforge.net/p/jump-pilot/bugs/_discuss/thread/511f5a6fee/bf5f/attachment/measure.jpg";>measure.jpg
 (53.7 kB; image/jpeg) https://sourceforge.net/p/jump-pilot/bugs/521/";>[bugs:#521] Error on 
Measure Toolbox plugin OpenJUMP 2 - rev 4996 
20211017Status: open 
Milestone: undecided Created: Thu Nov 18, 
2021 07:30 PM UTC by Giuseppe Aruta Last Updated: Sun Nov 
21, 2021 04:02 PM UTC Owner: nobodyHi all, the 
error comes out when I use "Measure area" tool /First icon from the left) in 
the drag mode (not in drawing mode)[ERROR] 20:16:07.262 'boolean 
org.locationtech.jts.geom.CoordinateList.add(org.locationtech.jts.geom.Coordinate)'
 java.lang.NoSuchMethodError: 'boolean 
org.locationtech.jts.geom.CoordinateList.add(org.locationtech.jts.geom.Coordinate)'
 at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.getRectangleCoordinates(MeasureRectangleTool.java:134)
 at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.toFeature(MeasureRectangleTool.java:146)
 at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.gestureFinished(MeasureRectangleTool.java:94)
 at 
com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.fireGestureFinished(AbstractCursorTool.java:616)
 at 
com.vividsolutions.jump.workbench.ui.cursortool.DragTool.mouseReleased(DragTool.java:172)
 at 
com.vividsolutions.jump.workbench.ui.cursortool.OrCompositeTool.mouseReleased(OrCompositeTool.java:121)
 at 
com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:94)
 at 
com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:105)
 at 
java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298)
 at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635) 
at 
java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) 
at java.desktop/java.awt.Component.processEvent(Component.java:6400) at 
java.desktop/java.awt.Container.processEvent(Container.java:2263) at 
java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011) at 
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at 
java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at 
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
 at 
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
 at 
java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
 at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) 
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) at 
java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at 
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at 
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at 
java.base/java.security.AccessController.doPrivileged(Native Method) at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
 at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
 at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at 
java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at 
java.base/java.security.AccessController.doPrivileged(Native Method) at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
 at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
 at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
 at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
 at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
 at 
java.desktop/java.awt.EventDispatchThread

[JPP-Devel] [jump-pilot:bugs] #521 Error on Measure Toolbox plugin OpenJUMP 2 - rev 4996 20211017

2021-11-22 Thread ede via Jump-pilot-devel
> Are you sure you tested the extension from the plugins menu and using the 
> drag mode as stated by Peppe and not the measure tool of the toolbar which 
> works fine for me also ?

that's why i asked for a step-by-step before to reproduce it ;) . indeed using 
the 'measure rectangle' from Plugins->Measure Toolbox to draw a rectangle 
eventually throws the exception.

some more investigation shows the removal of the CoordinateList:add(Element) 
method without any explanation
https://github.com/locationtech/jts/commit/539ef272f20507cfd666f5c219f9af150b593604#diff-6557bc7f05fd4b213b0647f7457ac9c76c8dbff501ba38a1c040dc8e4f1bbb4dL67

but surely the public ArrayList:add(Element e) should be available as 
CoordinateList extends that class.


---

** [bugs:#521] Error on Measure Toolbox plugin OpenJUMP 2 - rev 4996  20211017**

**Status:** open
**Milestone:** undecided
**Created:** Thu Nov 18, 2021 07:30 PM UTC by Giuseppe Aruta
**Last Updated:** Mon Nov 22, 2021 01:06 PM UTC
**Owner:** nobody


Hi all,
the error comes out when I use "Measure area" tool /First icon from the left) 
in the drag mode (not in drawing mode)
--
[ERROR] 20:16:07.262 'boolean 
org.locationtech.jts.geom.CoordinateList.add(org.locationtech.jts.geom.Coordinate)'
java.lang.NoSuchMethodError: 'boolean 
org.locationtech.jts.geom.CoordinateList.add(org.locationtech.jts.geom.Coordinate)'
at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.getRectangleCoordinates(MeasureRectangleTool.java:134)
at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.toFeature(MeasureRectangleTool.java:146)
at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.gestureFinished(MeasureRectangleTool.java:94)
at 
com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.fireGestureFinished(AbstractCursorTool.java:616)
at 
com.vividsolutions.jump.workbench.ui.cursortool.DragTool.mouseReleased(DragTool.java:172)
at 
com.vividsolutions.jump.workbench.ui.cursortool.OrCompositeTool.mouseReleased(OrCompositeTool.java:121)
at 
com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:94)
at 
com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:105)
at 
java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6400)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at 
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at 
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at 
java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
--

I download the code and opened into Eclipse but I didn't find any error

Peppe


---

Sent from

[JPP-Devel] [openjump-gis/openjump] 868edd: bug 521: upgrade to rebuilt measure extension agai...

2021-11-22 Thread edeso via Jump-pilot-devel
  Branch: refs/heads/main
  Home:   https://github.com/openjump-gis/openjump
  Commit: 868eddb9db92e51996cf7fdc55943bdf1b8d8578
  
https://github.com/openjump-gis/openjump/commit/868eddb9db92e51996cf7fdc55943bdf1b8d8578
  Author: ede 
  Date:   2021-11-23 (Tue, 23 Nov 2021)

  Changed paths:
M pom.xml

  Log Message:
  ---
  bug 521: upgrade to rebuilt measure extension against newer jts

https://sourceforge.net/p/jump-pilot/bugs/521/




___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] [jump-pilot:bugs] #521 Error on Measure Toolbox plugin OpenJUMP 2 - rev 4996 20211017

2021-11-22 Thread ede via Jump-pilot-devel
hey Mike,

ok, now did exactly what we figured

first ran OJ2 from IDE including the measure-extension project classes. worked 
fine.
then i ran `mvn package` and used the resulting extension jar. worked fine too.
just to make sure - downloaded `OpenJUMP-20211017-r4998(f9296be)-PLUS` again. 
reproduced the error. renamed old to `measure-toolbox-extension-2.1.0.jar.sav`, 
added rebuilt `measure-toolbox-extension-2.1.0.jar`. started OJ2. **all good.**

fix is pushed now. i removed your release for cleanliness. the resulting 
snapshot needs to be tested still. will have a look tomorrow then.


---

** [bugs:#521] Error on Measure Toolbox plugin OpenJUMP 2 - rev 4996  20211017**

**Status:** open
**Milestone:** undecided
**Created:** Thu Nov 18, 2021 07:30 PM UTC by Giuseppe Aruta
**Last Updated:** Mon Nov 22, 2021 11:12 PM UTC
**Owner:** nobody


Hi all,
the error comes out when I use "Measure area" tool /First icon from the left) 
in the drag mode (not in drawing mode)
--
[ERROR] 20:16:07.262 'boolean 
org.locationtech.jts.geom.CoordinateList.add(org.locationtech.jts.geom.Coordinate)'
java.lang.NoSuchMethodError: 'boolean 
org.locationtech.jts.geom.CoordinateList.add(org.locationtech.jts.geom.Coordinate)'
at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.getRectangleCoordinates(MeasureRectangleTool.java:134)
at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.toFeature(MeasureRectangleTool.java:146)
at 
org.openjump.core.ui.plugin.measuretoolbox.cursortools.MeasureRectangleTool.gestureFinished(MeasureRectangleTool.java:94)
at 
com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.fireGestureFinished(AbstractCursorTool.java:616)
at 
com.vividsolutions.jump.workbench.ui.cursortool.DragTool.mouseReleased(DragTool.java:172)
at 
com.vividsolutions.jump.workbench.ui.cursortool.OrCompositeTool.mouseReleased(OrCompositeTool.java:121)
at 
com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:94)
at 
com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:105)
at 
java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6400)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at 
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at 
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at 
java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
--

I download the code and opened into Eclipse but I didn't find any error

Peppe


---

Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/jump-pilot/bugs/

To unsubscribe from fur