Modify

Opened 12 years ago

Closed 12 years ago

#8301 closed defect (fixed)

java.lang.NullPointerException while editing key value [Fixed]

Reported by: naoliv Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc: mcheck, andre-r@…

Description

Double-clicked on a key to edit its value (had a way selected) and got this:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-12-29 02:31:34
Last Changed Author: Don-vip
Revision: 5644
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-12-28 22:35:12 +0100 (Fri, 28 Dec 2012)
Last Changed Rev: 5644

Identification: JOSM/1.5 (5644 pt_BR)
Memory Usage: 601 MB / 1756 MB (408 MB allocated, but free)
Java version: 1.7.0_09, Oracle Corporation, OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: Create_grid_of_ways (28412)
Plugin: PicLayer (28807)
Plugin: SimplifyArea (28807)
Plugin: buildings_tools (28891)
Plugin: editgpx (28807)
Plugin: geotools (29116)
Plugin: graphview (28807)
Plugin: jts (28945)
Plugin: merge-overlap (28807)
Plugin: opendata (29115)
Plugin: pdfimport (28807)
Plugin: reverter (28820)
Plugin: turnrestrictions (28807)
Plugin: undelete (28807)
Plugin: utilsplugin2 (29124)

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.dialogs.properties.TagEditHelper$EditTagDialog.<init>(TagEditHelper.java:268)
	at org.openstreetmap.josm.gui.dialogs.properties.TagEditHelper$EditTagDialog.<init>(TagEditHelper.java:209)
	at org.openstreetmap.josm.gui.dialogs.properties.TagEditHelper.editProperty(TagEditHelper.java:147)
	at org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog$MouseClickWatch.mouseClicked(PropertiesDialog.java:133)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
	at java.awt.Component.processMouseEvent(Component.java:6508)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
	at java.awt.Component.processEvent(Component.java:6270)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Component.dispatchEventImpl(Component.java:4861)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Component.dispatchEvent(Component.java:4687)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4501)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
	at java.awt.Container.dispatchEventImpl(Container.java:2273)
	at java.awt.Window.dispatchEventImpl(Window.java:2719)
	at java.awt.Component.dispatchEvent(Component.java:4687)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:682)
	at java.awt.EventQueue$3.run(EventQueue.java:680)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(EventQueue.java:696)
	at java.awt.EventQueue$4.run(EventQueue.java:694)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)

Attachments (0)

Change History (6)

comment:1 by akks, 12 years ago

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

comment:2 by akks, 12 years ago

My fault, fixing...

comment:3 by akks, 12 years ago

Resolution: fixed
Status: newclosed

In 5645/josm:

fix #8301 (Exception while editing key value); Shift-Enter in Add Tag dialog adds tag without closing, see #8300

comment:4 by akks, 12 years ago

Resolution: fixed
Status: closedreopened
Summary: java.lang.NullPointerException while editing key valuejava.lang.NullPointerException while editing key value [Fixed]

Please update josm-latest.jar if possible, bug seem to be critical.

comment:5 by Don-vip, 12 years ago

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

comment:6 by Don-vip, 12 years ago

Cc: mcheck andre-r@… added
Resolution: fixed
Status: reopenedclosed

It will be updated in 6 hours :)
People that cannot live with this bug can still use the previous latest: http://josm.openstreetmap.de/download/josm-snapshot-5639.jar

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.