Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#3932 closed defect (worksforme)

[NPE] In mappaint, after downloading from OSM

Reported by: Ldp Owned by: Ldp
Priority: blocker Milestone:
Component: Core Version:
Keywords: Cc:

Description

Introduced in 2450. Open JOSM, download data from OSM ->

Build-Date: 2009-11-14 19:04:59		
Revision: 2450
Is-Local-Build: true

Memory Usage: 64 MB / 1016 MB (23 MB allocated, but free)
Java version: 1.6.0_17

Plugins: AddrInterpolationremotecontrolutilspluginvalidatorwmsplugin
Plugin AddrInterpolation Version: 18503
Plugin remotecontrol Version: 18503
Plugin utilsplugin Version: 18503
Plugin validator Version: 18524
Plugin wmsplugin Version: 18408


java.lang.AbstractMethodError: org.openstreetmap.josm.gui.layer.Layer.paint(Ljava/awt/Graphics2D;Lorg/openstreetmap/josm/gui/MapView;Lorg/openstreetmap/josm/data/Bounds;)V
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:391)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JSplitPane.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintToOffscreen(Unknown Source)
	at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
	at javax.swing.RepaintManager.paint(Unknown Source)
	at javax.swing.JComponent._paintImmediately(Unknown Source)
	at javax.swing.JComponent.paintImmediately(Unknown Source)
	at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at javax.swing.RepaintManager.seqPaintDirtyRegions(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 (11)

comment:1 by Gubaer, 15 years ago

Owner: changed from team to Ldp
Status: newneedinfo

Did you run ant clean before ant dist for your local build?

comment:2 by jttt, 15 years ago

I've changed MapViewPaintable interface (it now has Bounds parameter, which is used for example by MapPaintVisititor to paint only visible part of map - much faster). Doing ant clean and upgrading plugins should fix the issue.

comment:3 by jttt, 15 years ago

Well, I've just realized that the change in interface was not necessary, it was obviously possible before to get visible part of map (though it's now easier). Anyway I've already changed all plugins so I'll left it as is.

comment:4 by anonymous, 15 years ago

Ticket #3934 has been marked as a duplicate of this ticket.

comment:5 by Ldp, 15 years ago

I usually do ant clean ; ant dist these days, because of all the major changes.

comment:6 by avarab@…, 15 years ago

I filed #3934. I always build with ant clean dist but after updating plugins too I can't reproduce this, but that may be incidental.

comment:7 by Gubaer, 15 years ago

Resolution: worksforme
Status: needinfoclosed

Neither can I. Closing as worksforme. Please reopen if you still have problems.

comment:8 by Ldp, 15 years ago

Ran ant clean dist again. Same issue. Updated plugins. Fixed.

So I forgot to update plugins as well. Lesson learned.

comment:9 by anonymous, 15 years ago

Ticket #3950 has been marked as a duplicate of this ticket.

comment:10 by anonymous, 15 years ago

Ticket #3953 has been marked as a duplicate of this ticket.

comment:11 by anonymous, 15 years ago

Ticket #3962 has been marked as a duplicate of this ticket.

Modify Ticket

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