Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#6496 closed defect (worksforme)

as soon i select an object, i get exception

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

Build-Date: 2011-06-24 11:39:23
Revision: 4160
Is-Local-Build: true

Identification: JOSM/1.5 (4160 SVN de)
Memory Usage: 87 MB / 494 MB (47 MB allocated, but free)
Java version: 1.6.0_23, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows XP
Dataset consistency test: No problems found

Plugin: AddrInterpolation (25199)
Plugin: DirectDownload (25199)
Plugin: DirectUpload (25199)
Plugin: ImproveWayAccuracy (26025)
Plugin: buildings_tools (25905)
Plugin: editgpx (25407)
Plugin: turnrestrictions (26079)

java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.DefaultNameFormatter.buildDefaultToolTip(Lorg/openstreetmap/josm/data/osm/OsmPrimitive;)Ljava/lang/String;

at org.openstreetmap.josm.gui.OsmPrimitivRenderer.getComponentToolTipText(OsmPrimitivRenderer.java:103)
at org.openstreetmap.josm.gui.OsmPrimitivRenderer.renderer(OsmPrimitivRenderer.java:71)
at org.openstreetmap.josm.gui.OsmPrimitivRenderer.getListCellRendererComponent(OsmPrimitivRenderer.java:44)
at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)
at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)
at javax.swing.plaf.basic.BasicListUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(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)

Attachments (0)

Change History (7)

comment:1 by 6745th@…, 14 years ago

Nach mehreren Versuchen hat JOSM selbststaendig ein verdächtiges Plugin abgeschaltet.
Hat nicht geholfen.

Bin zur alten Version zurueck.

4064 ist OK

comment:2 by skyper, 14 years ago

Owner: changed from team to anonymous
Status: newneedinfo

I can not reproduce, on a Linux with openjava

Please, try with josm-latest (r4160) from the main web page and/or with an new/empty preference dir.

Thanks

comment:3 by anonymous, 14 years ago

first try: rename the preference File.
Result: same error

second try: download the 4160 from main page
Result: OK

third try: recover old preference File.
Result: OK

seems so, that the self compiled Version from svn did not work.
In the past it work like a charm.

comment:4 by skyper, 14 years ago

Resolution: worksforme
Status: needinfoclosed

comment:5 by stoecker, 14 years ago

"Is-Local-Build: true" and "java.lang.NoSuchMethodError" usually means the reporter has forgotten to do an "ant clean". ant catches most dependencies for rebuilding classes, but not all.

Major rule of programming:
Before reporting a build error in local builds, do a cleanup of build environment and try again!

Last edited 14 years ago by stoecker (previous) (diff)

comment:6 by 6745th@…, 14 years ago

thanks, with a prior "ant clean" it works now.

But i got the error not during the build process,
so everything seems to be good.

But anyhow, my mistake.

happy mapping,
Thomas

comment:7 by stoecker, 14 years ago

No. As said ant does not always rebuilt everything which is should rebuilt. So you may get a set of classes which do not match together.

Modify Ticket

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