Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4143 closed defect (duplicate)

Issue when downloading incomplete members from within the relation dialog

Reported by: Nakor Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Download data using the bounding box http://www.openstreetmap.org/?minlon=-73.9609831&minlat=40.8500942&maxlon=-73.9443908&maxlat=40.853352

Try to get incomplete members for relation 112245: it works well and fast.

Delete the layer and download the same data again.

Open the relation editor and download incomplete members: it takes a long time and at the end the relation window contains only one member. If you try to click in it, an exception occurs.

Exception occurred during event dispatching:
java.lang.NullPointerException

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.roundabo

utType(MemberTableModel.java:837)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.roundabo

utType(MemberTableModel.java:821)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.determin

eDirection(MemberTableModel.java:799)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.updateLi

nks(MemberTableModel.java:894)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.wayConne

ction(MemberTableModel.java:846)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.getValue

At(MemberTableModel.java:177)

at javax.swing.JTable.getValueAt(Unknown Source)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(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(Unknow

n 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.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor$3.run(P

leaseWaitProgressMonitor.java:78)

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)

java.lang.NullPointerException

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.roundabo

utType(MemberTableModel.java:837)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.roundabo

utType(MemberTableModel.java:821)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.determin

eDirection(MemberTableModel.java:799)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.updateLi

nks(MemberTableModel.java:894)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.wayConne

ction(MemberTableModel.java:846)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.getValue

At(MemberTableModel.java:177)

at javax.swing.JTable.getValueAt(Unknown Source)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(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.paintForceDoubleBuffered(Unknown Source)
at javax.swing.JViewport.blitDoubleBuffered(Unknown Source)
at javax.swing.JViewport.windowBlitPaint(Unknown Source)
at javax.swing.JViewport.setViewPosition(Unknown Source)
at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(Unkn

own Source)

at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(Unknown

Source)

at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown Source)

at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown Sourc

e)

at javax.swing.DefaultBoundedRangeModel.setValue(Unknown Source)
at javax.swing.JScrollBar.setValue(Unknown Source)
at javax.swing.plaf.basic.BasicScrollBarUI$TrackListener.setValueFrom(Un

known Source)

at javax.swing.plaf.basic.BasicScrollBarUI$TrackListener.mouseDragged(Un

known Source)

at java.awt.Component.processMouseMotionEvent(Unknown Source)
at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)

java.lang.NullPointerException

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.roundabo

utType(MemberTableModel.java:837)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.roundabo

utType(MemberTableModel.java:821)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.determin

eDirection(MemberTableModel.java:799)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.updateLi

nks(MemberTableModel.java:894)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.wayConne

ction(MemberTableModel.java:846)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.getValue

At(MemberTableModel.java:177)

at javax.swing.JTable.getValueAt(Unknown Source)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(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.JViewport.paint(Unknown Source)
at javax.swing.JComponent.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(Unknow

n 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)

java.lang.NullPointerException

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.roundabo

utType(MemberTableModel.java:837)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.roundabo

utType(MemberTableModel.java:821)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.determin

eDirection(MemberTableModel.java:799)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.updateLi

nks(MemberTableModel.java:894)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.wayConne

ction(MemberTableModel.java:846)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.getValue

At(MemberTableModel.java:177)

at javax.swing.JTable.getValueAt(Unknown Source)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(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.paintForceDoubleBuffered(Unknown Source)
at javax.swing.JViewport.blitDoubleBuffered(Unknown Source)
at javax.swing.JViewport.windowBlitPaint(Unknown Source)
at javax.swing.JViewport.setViewPosition(Unknown Source)
at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(Unkn

own Source)

at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(Unknown

Source)

at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown Source)

at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown Sourc

e)

at javax.swing.DefaultBoundedRangeModel.setValue(Unknown Source)
at javax.swing.JScrollBar.setValue(Unknown Source)
at javax.swing.plaf.basic.BasicScrollBarUI$TrackListener.setValueFrom(Un

known Source)

at javax.swing.plaf.basic.BasicScrollBarUI$TrackListener.mouseDragged(Un

known Source)

at java.awt.Component.processMouseMotionEvent(Unknown Source)
at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)

java.lang.NullPointerException

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.roundabo

utType(MemberTableModel.java:837)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.roundabo

utType(MemberTableModel.java:821)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.determin

eDirection(MemberTableModel.java:799)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.updateLi

nks(MemberTableModel.java:894)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.wayConne

ction(MemberTableModel.java:846)

at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.getValue

At(MemberTableModel.java:177)

at javax.swing.JTable.getValueAt(Unknown Source)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(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.JViewport.paint(Unknown Source)
at javax.swing.JComponent.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(Unknow

n 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 (5)

comment:1 by mjulius, 14 years ago

Resolution: duplicate
Status: newclosed

comment:2 by mjulius, 14 years ago

Closed as duplicate of #4146.

comment:3 by Nakor, 14 years ago

Is this really a duplicate of 4146? It looks to me as two completely different problems.

comment:4 by Nakor, 14 years ago

Summary: Issue wehn downloading incomplete members from within the relation dialogIssue when downloading incomplete members from within the relation dialog

in reply to:  3 comment:5 by mjulius, 14 years ago

Replying to Nakor:

Is this really a duplicate of 4146? It looks to me as two completely different problems.

No, it's the same issue. It not only applies to downloading of incomplete relation members but to downloading of ways in general apart from downloading by bounding box. JOSM is downloading the ways but not the nodes for them, leaving the nodes incomplete.

Then you get an exception when something does not expect a way to have incomplete nodes - because that is never supposed to happen.

Your issue is just the result of #4146.

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.