Opened 17 years ago
Closed 16 years ago
#1704 closed defect (fixed)
Plugin DirectUpload: exception "NoClassDefFoundError: javax/swing/GroupLayout$Group"
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin | Version: | latest |
Keywords: | directupload plugin | Cc: |
Description ¶
I am running today's josm with up-to-date plugins.
The DirectUpload plugin throws an exception after the following steps (reproducable):
- open a local gpx file
- mark the gpx file
- choose "Upload Traces" from the "Tool" menu
This happens for different gpx files.
Debug output:
Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1065
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1065
Last Changed Date: 2008-11-02 15:06:01 +0100 (Sun, 02 Nov 2008)
java.lang.NoClassDefFoundError: javax/swing/GroupLayout$Group
at org.openstreetmap.josm.plugins.DirectUpload.UploadDataGuiPlugin$UploadAction.actionPerformed(UploadDataGuiPlugin.java:38)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Change History (5)
follow-up: 2 comment:1 by , 17 years ago
comment:2 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Replying to Jan Peter Stotz <jpstotz@gmx.de>:
The GroupLayout is new in Java 1.6 and should therefore not be used in JOSM or a plugin as long as the minimal Java version required for JOSM is 1.5.
ok ....i am already changing it to gridbaglayout ..so wishes to get rid of this bug
comment:3 by , 16 years ago
just for the record a more recent report was issued in ticket #1760 (and closed for being a duplicate)
comment:4 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
The GroupLayout is new in Java 1.6 and should therefore not be used in JOSM or a plugin as long as the minimal Java version required for JOSM is 1.5.