Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#5965 closed defect (fixed)

NullPointerExeptition when enabling wms in rev 3906 (local build)

Reported by: anonymous Owned by: team
Priority: critical Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

Please provide any additional information below. Attach a screenshot if
possible.

Build-Date: 2011-02-15 20:30:09
Revision: 3906
Is-Local-Build: true

Identification: JOSM/1.5 (3906 SVN da)
Memory Usage: 144 MB / 672 MB (19 MB allocated, but free)
Java version: 1.6.0_22, Sun Microsystems Inc., Java HotSpot(TM) Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: DirectUpload (25199)
Plugin: buildings_tools (25192)
Plugin: editgpx (25192)
Plugin: graphview (25199)
Plugin: mapdust (25199)
Plugin: osmarender (25192)
Plugin: reverter (25190)
Plugin: routing (25199)
Plugin: undelete (25199)

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.layer.TMSLayer.paint(TMSLayer.java:1199)
	at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:450)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:504)
	at javax.swing.JComponent.paintChildren(JComponent.java:862)
	at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1030)
	at javax.swing.JComponent.paint(JComponent.java:1038)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5124)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1479)
	at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1410)
	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:294)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1224)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5072)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:785)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713)
	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693)
	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Attachments (0)

Change History (11)

comment:1 by Zverikk, 14 years ago

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

comment:3 by Zverikk, 14 years ago

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

comment:4 by Zverikk, 14 years ago

Possible cause: #5911

comment:5 by glebius, 14 years ago

Fixed in OSM rev 25336

comment:6 by Zverikk, 14 years ago

Needs normal fix: org.openstreetmap.josm.gui.layer.TMSLayer, line 1199:

int imgWidth = attrImage.getWidth(this);
if(attrImage != null) {

It's just NPE waiting to happen. Please fix ASAP.

comment:7 by Upliner, 14 years ago

Resolution: fixed
Status: newclosed

In [3909/josm]:

fix #5965 - NPE in TMSLayer

comment:8 by Zverikk, 14 years ago

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

comment:9 by skyper, 14 years ago

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

comment:10 by skyper, 14 years ago

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

comment:11 by skyper, 14 years ago

Maybe there should be an updated josm-latest after fixing critical/blocker bugs.

Modify Ticket

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