Opened 15 years ago
Closed 15 years ago
#5112 closed defect (fixed)
"Divide building" issues error
Reported by: | OliverW | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin terracer | Version: | tested |
Keywords: | Plugin, terracer, NoClassDefFoundError, AutoCompletingComboBox | Cc: |
Description
JOSM issues an error when selecting a building and calling "Divide building".
Stack trace:
java.lang.NoClassDefFoundError: org/openstreetmap/josm/gui/tagging/ac/AutoCompletingComboBox
at terracer.HouseNumberInputHandler.<init>HouseNumberInputHandler.java:63)
at terracer.TerracerAction.actionPerformed(TerracerAction.java:148)
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.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
Attachments (0)
Change History (14)
comment:1 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
follow-up: 12 comment:2 by , 15 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
The tested version reports my terracer version as current, the problem still persists with JOSM 3208.
comment:3 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Plugin update helps, just trust me on this one. :)
comment:4 by , 15 years ago
So what went wrong in my case? I updated *all* plugins, but it did not help.
comment:5 by , 15 years ago
Hm, i did a fresh install of 3208 and got terracer 20956. This works for me.
Maybe click "download list" again and then "update plugins".
comment:6 by , 15 years ago
Please look in you josm plugins directory and compare the site....txt file there with the information from Plugins page. Does it probably contain old information? Is there mor than one file? What names do they have? Does updating plugin list help?
comment:7 by , 15 years ago
Thanks for the hints.
I updated the site....txt as suggested by Dirk, made sure that all Plugins are up-to-date and restarted JOSM.
The error still persists:
...
lade Plugin 'terracer' (Version 20956)
lade Plugin 'measurement' (Version 21307)
lade Plugin 'ColumbusCSV' (Version 299)
lade Plugin 'colorscheme' (Version 21563)
lade Plugin 'editgpx' (Version 21582)
lade Plugin 'openvisible' (Version 20067)
lade Plugin 'DirectUpload' (Version 20881)
lade Plugin 'buildings_tools' (Version 21236)
GET http://www.openstreetmap.org/api/capabilities... OK
...
java.lang.NoClassDefFoundError: org/openstreetmap/josm/gui/tagging/ac/AutoComple
tingComboBox
...
Any ideas?
What about AutoCompletingComboBox?
comment:8 by , 15 years ago
Frankly I don't understand this. The error comes when you use an incompatible plugin version with you main version. But josm 3208 should work well with terracer 20956. I tested it just now.
You could locate terracer.jar file in your josm user folder (under plugins), unpack it and open the Manifest file: What version does it show?
The first post looks as if you are quite sure it is caused by terracer plugin, right?
A quick solution for your problem would be to clear the user folder:
comment:9 by , 15 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Also try deleting the terracer.jar and let josm redownload it. Maybe you got one of the files, where plugins have been checked in wrong temporary.
comment:10 by , 15 years ago
As far as I can see is AutoCompleteComboBox moved from trunk/src/org/openstreetmap/josm/gui/widgets/AutoCompleteComboBox.java in r3210 (See http://josm.openstreetmap.de/log/trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingComboBox.java). So terracer could not find this class with current josm stable (r3208).
comment:11 by , 15 years ago
The old Version from http://trac.openstreetmap.org/browser/applications/editors/josm/dist/terracer.jar?rev=20957 does work with josm stable.
comment:12 by , 15 years ago
@anonymous
your analysis is correct, the error suggests, that OliverW is using a later version (> 20957) of the terracer plugin (along with r3208). But it seems he is using 20957 (which should be looking for AutoCompletingComboBox in the old path gui/widgets/ and not gui/tagging/ac) so this error should not come.
comment:13 by , 15 years ago
I think this was again a plugin checkin mismatch. I fixed the old-link. OliverW, please delete terracer.jar again and redownload it. Should now work as expected.
comment:14 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
I updated to 3329 today and the plugin seems to work now as well 20956 and 21706, thanks.
Please update plugins.