Modify

#16370 closed defect (fixed)

Replace Membership function of Utilsplugin2 drops exception

Reported by: BathoryPeter Owned by: team
Priority: normal Milestone:
Component: Plugin utilsplugin2 Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

Select two object and click on More tools / Replace Membership (Utilsplugin2 must be installed).

I didn't find any documentation so I did some attempt to find out what is this function used for.
Lastly I've found it, but before that, any other combination caused an exception.
For example selecting objects in wrong order (newly created first), selecting a relation and a way, and so on.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-05-31 00:51:20 +0200 (Thu, 31 May 2018)
Build-Date:2018-05-30 22:58:01
Revision:13878
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13878 hu) Linux Ubuntu 18.04 LTS
Memory Usage: 817 MB / 1698 MB (478 MB allocated, but free)
Java version: 1.8.0_171-8u171-b11-0ubuntu0.18.04.1-b11, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1280x1024, :0.1 768x1024
Maximum Screen Size: 1280x1024
Java package: openjdk-8-jre:amd64-8u171-b11-0ubuntu0.18.04.1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-20ubuntu0.1
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
+ Mapillary (v1.5.14+post13733)
+ PicLayer (34170)
+ alignways (34109)
+ apache-commons (34109)
+ apache-http (34109)
+ contourmerge (1032)
+ imagery_offset_db (34209)
+ photo_geotagging (34109)
+ photoadjust (34109)
+ reverter (34109)
+ tageditor (34109)
+ turnlanes-tagging (263)
+ turnrestrictions (34129)
+ utilsplugin2 (34221)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Turistautkapcsolat&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/HU.zip

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/HU-HighlightHikingTrailSigns&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- W: java.net.SocketException: Unexpected end of file from server
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Indok: java.io.EOFException: SSL peer shut down incorrectly
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Indok: java.io.EOFException: SSL peer shut down incorrectly
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Indok: java.io.EOFException: SSL peer shut down incorrectly
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Indok: java.io.EOFException: SSL peer shut down incorrectly
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Indok: java.io.EOFException: SSL peer shut down incorrectly
- E: Handled by bug report queue: java.util.NoSuchElementException
- W: Figyelmeztetés - <html>A JOSM nem talált információt az alábbi bővítményekről:<ul><li>imagery_offset_db</li><li>apache-commons</li><li>photoadjust</li><li>tageditor</li><li>Mapillary</li><li>alignways</li><li>reverter</li><li>turnlanes-tagging</li><li>utilsplugin2</li><li>photo_geotagging</li><li>turnrestrictions</li><li>PicLayer</li><li>apache-http</li><li>contourmerge</li></ul>A bővítmények nem lesznek betöltve.</html>
- E: Handled by bug report queue: java.util.NoSuchElementException
- E: Handled by bug report queue: java.util.NoSuchElementException


=== 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(ArrayList.java:862)
	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.utilsplugin2.replacegeometry.ReplaceGeometryCommand.<init>(ReplaceGeometryCommand.java:21)
	at org.openstreetmap.josm.plugins.utilsplugin2.replacegeometry.ReplaceMembershipAction.getReplaceGeometryCommand(ReplaceMembershipAction.java:77)
	at org.openstreetmap.josm.plugins.utilsplugin2.replacegeometry.ReplaceMembershipAction.actionPerformed(ReplaceMembershipAction.java:44)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6533)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6298)
	at java.awt.Container.processEvent(Container.java:2238)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2296)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4897)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4534)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4475)
	at java.awt.Container.dispatchEventImpl(Container.java:2282)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
	at java.awt.EventQueue$4.run(EventQueue.java:733)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Attachments (0)

Change History (1)

comment:1 Changed 17 months ago by Don-vip

Resolution: fixed
Status: newclosed

Fixed in [o34263:34264].

Modify Ticket

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