Modify ↓
Opened 12 years ago
Closed 12 years ago
#7983 closed defect (duplicate)
turnrestrictions plugin crashing when entering the preferences in r5466
Reported by: | rickmastfan67 | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin turnrestrictions | Version: | latest |
Keywords: | Cc: |
Description
Seems a recent change in the preferences is causing the turnrestrictions plugin to crash when entering the preferences.
Steps to reproduce:
- Open JOSM
- Hit "F12" to open the preferences.
- Watch the turnrestrictions plugin instantly crash.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2012-08-21 01:31:07 Last Changed Author: Don-vip Revision: 5466 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2012-08-21 00:26:48 +0200 (Tue, 21 Aug 2012) Last Changed Rev: 5466 Identification: JOSM/1.5 (5466 en) Memory Usage: 154 MB / 2730 MB (112 MB allocated, but free) Java version: 1.7.0_05, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Operating system: Windows 7 Plugin: OpeningHoursEditor (28477) Plugin: buildings_tools (28529) Plugin: mapdust (28412) Plugin: measurement (28412) Plugin: mirrored_download (28418) Plugin: openstreetbugs (28412) Plugin: reverter (28535) Plugin: turnrestrictions (28412) Plugin: undelete (28501) Plugin: utilsplugin2 (28556) org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin turnrestrictions at org.openstreetmap.josm.plugins.PluginProxy.getPreferenceSetting(PluginProxy.java:42) at org.openstreetmap.josm.plugins.PluginPreferenceFactory.createPreferenceSetting(PluginPreferenceFactory.java:16) at org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane.buildGui(PreferenceTabbedPane.java:321) at org.openstreetmap.josm.gui.preferences.PreferenceDialog.build(PreferenceDialog.java:69) at org.openstreetmap.josm.gui.preferences.PreferenceDialog.<init>(PreferenceDialog.java:82) at org.openstreetmap.josm.actions.PreferencesAction.run(PreferencesAction.java:38) at org.openstreetmap.josm.actions.PreferencesAction.actionPerformed(PreferencesAction.java:34) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) 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$000(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$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.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$1.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) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.openstreetmap.josm.plugins.PluginProxy.getPreferenceSetting(PluginProxy.java:38) ... 44 more Caused by: java.lang.NoSuchMethodError: org.openstreetmap.josm.data.Preferences.getBoolean(Ljava/lang/String;Z)Z at org.openstreetmap.josm.plugins.turnrestrictions.preferences.PreferencesPanel.initFromPreferences(PreferencesPanel.java:194) at org.openstreetmap.josm.plugins.turnrestrictions.preferences.PreferenceEditor.buildIconPreferencePanel(PreferenceEditor.java:86) at org.openstreetmap.josm.plugins.turnrestrictions.preferences.PreferenceEditor.build(PreferenceEditor.java:100) at org.openstreetmap.josm.plugins.turnrestrictions.preferences.PreferenceEditor.<init>(PreferenceEditor.java:39) at org.openstreetmap.josm.plugins.turnrestrictions.TurnRestrictionsPlugin.getPreferenceSetting(TurnRestrictionsPlugin.java:35) ... 49 more
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Closed as duplicate of #7982.