Modify

Opened 12 years ago

Closed 12 years ago

#4230 closed defect (fixed)

NPE when searching for ^name$:[^a-z] in Iceland.osm

Reported by: avarab@… Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open Iceland.osm
  2. Search for name$:[a-z] with regex search
  3. Get NPE
Build-Date: 2009-12-24 13:42:21		
Revision: 2678
Is-Local-Build: true

Memory Usage: 207 MB / 986 MB (47 MB allocated, but free)
Java version: 1.6.0_16

Dataset consistency test:
No problems found


Plugins: lakewalker,multipoly,openvisible,remotecontrol,validator,walkingpapers,wmsplugin
Plugin lakewalker Version: 18880
Plugin multipoly Version: 19138
Plugin openvisible Version: 17536
Plugin remotecontrol Version: 18678
Plugin validator Version: 19200
Plugin walkingpapers Version: 19074
Plugin wmsplugin Version: 18953

java.lang.NullPointerException
	at org.openstreetmap.josm.data.osm.visitor.paint.MapPaintVisitor.drawSelectedMember(MapPaintVisitor.java:308)
	at org.openstreetmap.josm.data.osm.visitor.paint.MapPaintVisitor.paintUnselectedRelation(MapPaintVisitor.java:338)
	at org.openstreetmap.josm.data.osm.visitor.paint.MapPaintVisitor.visitAll(MapPaintVisitor.java:950)
	at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:250)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:453)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	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.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:278)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5072)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
	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 (1)

comment:1 Changed 12 years ago by jttt

Resolution: fixed
Status: newclosed

(In [2679]) Fixed #4230 NPE when searching for name$:[a-z] in Iceland.osm

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.