Modify

Opened 15 years ago

Closed 15 years ago

#5112 closed defect (fixed)

"Divide building" issues error

Reported by: OliverW Owned by: zerebubuth@…
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 bastiK, 15 years ago

Resolution: invalid
Status: newclosed

Please update plugins.

comment:2 by OliverW, 15 years ago

Resolution: invalid
Status: closedreopened

The tested version reports my terracer version as current, the problem still persists with JOSM 3208.

comment:3 by bastiK, 15 years ago

Resolution: invalid
Status: reopenedclosed

Plugin update helps, just trust me on this one. :)

comment:4 by OliverW, 15 years ago

So what went wrong in my case? I updated *all* plugins, but it did not help.

comment:5 by bastiK, 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 stoecker, 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 OliverW, 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 bastiK, 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:

Help/ResetPreferences

comment:9 by stoecker, 15 years ago

Resolution: invalid
Status: closedreopened

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 anonymous, 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).

in reply to:  2 comment:12 by bastiK, 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 stoecker, 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 OliverW, 15 years ago

Resolution: fixed
Status: reopenedclosed

I updated to 3329 today and the plugin seems to work now as well 20956 and 21706, thanks.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain zerebubuth@….
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.