Modify

Ticket #4505 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

NullPointerException in RelationDialogManager.windowClosed() in r2948

Reported by: skela Owned by: team
Priority: normal Component: Core
Version: latest Keywords: relation
Cc:

Description

I had the relation editor window open (with no changes pending, as far as I remember) while I uploaded changes. Then I hit the ‘cancel’ button and got this:

java.lang.NullPointerException

at org.openstreetmap.josm.gui.dialogs.relation.RelationDialogManager.windowClosed(RelationDialogManager.java:217) at java.awt.AWTEventMulticaster.windowClosed(AWTEventMulticaster.java:343) at java.awt.AWTEventMulticaster.windowClosed(AWTEventMulticaster.java:342) at java.awt.Window.processWindowEvent(Window.java:1865) at javax.swing.JDialog.processWindowEvent(JDialog.java:633) at java.awt.Window.processEvent(Window.java:1820) at java.awt.Component.dispatchEventImpl(Component.java:4583) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4413) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) 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)

After that, I tried to create a new relation and was met with exactly the same stack trace. I am using a self-built JOSM r2948 with no plugins (they refused to load).

Attachments

Change History

comment:1 Changed 2 years ago by Gubaer

  • Status changed from new to closed
  • Resolution set to fixed

(In [2992]) fixed #4505: NullPointerException in RelationDialogManager.windowClosed() in r2948

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.