Modify

Opened 4 years ago

Closed 4 years ago

#12533 closed defect (fixed)

Error in scoutsigns after change in JOSM core

Reported by: bastiK Owned by: jBeata
Priority: blocker Milestone:
Component: Plugin scoutsigns Version:
Keywords: Cc:

Description

What steps will reproduce the problem?

  1. click on scoutsign button on the left
  2. error

Note: Setting class has been moved to new package.

Build-Date:2016-02-15 12:09:36
Revision:9795
Is-Local-Build:true

Identification: JOSM/1.5 (9795 SVN en) Linux Ubuntu 15.10
Memory Usage: 799 MB / 1764 MB (534 MB allocated, but free)
Java version: 1.8.0_66-internal-b17, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Dfile.encoding=UTF-8, -Djosm.home=.josm-local]
Dataset consistency test: No problems found

Plugins:
- apache-commons (31895)
- ejml (31895)
- geotools (31895)
- jts (31772)
- opendata (31937)
- scoutsigns (71)
- utilsplugin2 (32018)

Last errors/warnings:
- E: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.Preferences$PreferenceChangeEvent.getNewValue()Lorg/openstreetmap/josm/data/Preferences$Setting;
- E: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.Preferences$PreferenceChangeEvent.getNewValue()Lorg/openstreetmap/josm/data/Preferences$Setting;

java.lang.NoSuchMethodError: org.openstreetmap.josm.data.Preferences$PreferenceChangeEvent.getNewValue()Lorg/openstreetmap/josm/data/Preferences$Setting;
	at org.openstreetmap.josm.plugins.scoutsigns.ScoutSignsPlugin.preferenceChanged(Unknown Source)
	at org.openstreetmap.josm.data.Preferences.firePreferenceChanged(Preferences.java:243)
	at org.openstreetmap.josm.data.Preferences.putSetting(Preferences.java:855)
	at org.openstreetmap.josm.data.Preferences.put(Preferences.java:471)
	at org.openstreetmap.josm.data.Preferences.put(Preferences.java:475)
	at org.openstreetmap.josm.gui.dialogs.ToggleDialog.setIsShowing(ToggleDialog.java:761)
	at org.openstreetmap.josm.gui.dialogs.ToggleDialog.hideDialog(ToggleDialog.java:362)
	at org.openstreetmap.josm.gui.dialogs.ToggleDialog$ToggleDialogAction.actionPerformed(ToggleDialog.java:285)
	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.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:308)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6535)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6300)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Component.dispatchEventImpl(Component.java:4891)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4713)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
	at java.awt.Container.dispatchEventImpl(Container.java:2280)
	at java.awt.Window.dispatchEventImpl(Window.java:2750)
	at java.awt.Component.dispatchEvent(Component.java:4713)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	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:76)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	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 (5)

comment:1 Changed 4 years ago by anonymous

This will be fixed as soon as 9795 will become a stable build.

comment:2 Changed 4 years ago by bastiK

You can (and normally should) distribute different versions of the plugin depending on the JOSM version. See DevelopersGuide/DevelopingPlugins on Plugin-Url entries in the Manifest. E.g. scripting-plugin is a good example of a plugin using this mechanism.

comment:3 Changed 4 years ago by Don-vip

As said in e-mail this is kind of easter and egg problem, we try to ensure via unit tests that all plugins are working fine before we release a new stable version.

comment:4 Changed 4 years ago by Don-vip

In 9815/josm:

see #12514, see #12533 - fix/ignore longstanding problems in unit tests

comment:5 Changed 4 years ago by jBeata

Resolution: fixed
Status: newclosed

Solved in scoutsigns version 73.

Modify Ticket

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