Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#3930 closed defect (fixed)

[NPE] when deleting some objects

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

Description

'Report bug' gives this report, but I can keep clicking on 'Do nothing' until my finger hurts, but the bug popup keeps coming back.

Build-Date: 2009-11-13 12:31:30
Revision: 2447
Is-Local-Build: true

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

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

java.lang.AssertionError: branch node (org.openstreetmap.josm.data.osm.QuadBuckets$QBLevel@16f95c2[17]: [ x: 4.34234619140625 -> 4.3450927734375, y: 51.980438232421875 -> 51.9818115234375 ] false) had no children (content: [{Way id=7540719 version=1 V nodes=[{Node id=44709795 version=2 V lat=51.9807612,lon=4.344632}, {Node id=44711979 version=2 V lat=51.9813585,lon=4.3443811}]}, {Way id=7540396 version=1 V nodes=[{Node id=44707256 version=3 V lat=51.9804891,lon=4.3440156}, {Node id=44711609 version=3 V lat=51.9812442,lon=4.3436876}]}, {Way id=7540395 version=1 V nodes=[{Node id=44708868 version=2 V lat=51.9806,lon=4.3432437}, {Node id=44711138 version=2 V lat=51.9811434,lon=4.3430352}]}]) this: org.openstreetmap.josm.data.osm.QuadBuckets$QBLevel@16f95c2[17]: [ x: 4.34234619140625 -> 4.3450927734375, y: 51.980438232421875 -> 51.9818115234375 ]

at org.openstreetmap.josm.data.osm.QuadBuckets.abort(QuadBuckets.java:28)
at org.openstreetmap.josm.data.osm.QuadBuckets$QBLevel.nextContentNode(QuadBuckets.java:492)
at org.openstreetmap.josm.data.osm.QuadBuckets$QuadBucketIterator.next_content_node(QuadBuckets.java:990)
at org.openstreetmap.josm.data.osm.QuadBuckets$QuadBucketIterator.peek(QuadBuckets.java:1037)
at org.openstreetmap.josm.data.osm.QuadBuckets$QuadBucketIterator.hasNext(QuadBuckets.java:1015)
at org.openstreetmap.josm.data.osm.QuadBuckets.toArrayList(QuadBuckets.java:962)
at org.openstreetmap.josm.data.osm.QuadBuckets.toArray(QuadBuckets.java:972)
at java.util.Collections$UnmodifiableCollection.toArray(Unknown Source)
at java.util.ArrayList.<init>(Unknown Source)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.selectedLast(MapPaintVisitor.java:1429)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visitAll(MapPaintVisitor.java:1523)
at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:247)
at org.openstreetmap.josm.gui.MapView.paint(MapView.java:388)
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.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(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 (2)

comment:1 by hansendc, 16 years ago

Resolution: fixed
Status: newclosed

Give current SVN a try. I've greatly simplified the code that was causing this issue.

comment:2 by Ldp, 16 years ago

Given that it happened seemingly random, I do not have a clear case to reproduce it, but will let you know if it would happen again.

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.