Opened 7 years ago

Closed 7 years ago

#8677 closed defect (fixed)

NPE when closing JOSM with history dialog still opened

Reported by: Don-vip Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Have reverter plugin installed
  2. Revert changeset 15875597 (see #8676)
  3. Undo
  4. Show history dialog of node 885644779 (tested on second monitor, with also command stack opened on this monitor)
  5. Redo
  6. Exit JOSM

--> NPE

Build-Date: 2013-05-06 00:01:52
Revision: 5927
Is-Local-Build: true

Identification: JOSM/1.5 (5927 SVN en_GB) Windows 8 64-Bit
Memory Usage: 266 MB / 1813 MB (110 MB allocated, but free)
Java version: 1.6.0_45, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Dfile.encoding=UTF-8]

Plugin: DirectDownload (29435)
Plugin: DirectUpload (29435)
Plugin: FixAddresses (29519)
Plugin: HouseNumberTaggingTool (29487)
Plugin: OpeningHoursEditor (29435)
Plugin: RoadSigns (29435)
Plugin: TombPlugin (41)
Plugin: Tracer (29435)
Plugin: alignways (29435)
Plugin: buildings_tools (29435)
Plugin: cadastre-fr (29526)
Plugin: contourmerge (1003)
Plugin: download_along (29435)
Plugin: ext_tools (29435)
Plugin: geotools (29435)
Plugin: gpxfilter (29435)
Plugin: imagery-xml-bounds (29461)
Plugin: jts (29435)
Plugin: log4j (29435)
Plugin: measurement (29545)
Plugin: merge-overlap (29435)
Plugin: michigan_left (29435)
Plugin: mirrored_download (29505)
Plugin: multipoly-convert (29435)
Plugin: opendata (29505)
Plugin: openstreetbugs (29435)
Plugin: openvisible (29435)
Plugin: print (29529)
Plugin: proj4j (29435)
Plugin: public_transport (29435)
Plugin: reltoolbox (29535)
Plugin: reverter (29553)
Plugin: tag2link (29461)
Plugin: terracer (29509)
Plugin: turnlanes (29435)
Plugin: turnrestrictions (29435)
Plugin: undelete (29555)
Plugin: utilsplugin2 (29435)
Plugin: videomapping (29536)
Plugin: waydownloader (29435)
Plugin: waypoint_search (29435)
Plugin: wayselector (29435)
Plugin: wikipedia (29523)

	at java.util.Calendar.setTime(
	at java.text.SimpleDateFormat.format(
	at java.text.SimpleDateFormat.format(
	at java.text.DateFormat.format(
	at org.openstreetmap.josm.gui.history.VersionInfoPanel.getInfoText(
	at org.openstreetmap.josm.gui.history.VersionInfoPanel.update(
	at java.util.Observable.notifyObservers(
	at java.util.Observable.notifyObservers(
	at org.openstreetmap.josm.gui.history.HistoryBrowserModel.fireModelChange(
	at org.openstreetmap.josm.gui.history.HistoryBrowserModel.activeLayerChange(
	at org.openstreetmap.josm.gui.MapView.fireActiveLayerChanged(
	at org.openstreetmap.josm.gui.MapView.setActiveLayer(
	at org.openstreetmap.josm.gui.MapView.removeLayer(
	at org.openstreetmap.josm.Main.removeLayer(
	at org.openstreetmap.josm.Main.exitJosm(
	at org.openstreetmap.josm.gui.MainApplication$1.windowClosing(
	at java.awt.AWTEventMulticaster.windowClosing(
	at java.awt.Window.processWindowEvent(
	at javax.swing.JFrame.processWindowEvent(
	at java.awt.Window.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$400(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Don-vip

Description: modified (diff)

comment:2 Changed 7 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 5929/josm:

fix #8677 - NPE in VersionHistoryPanel when undoing/redoing changeset revert

Modify Ticket

Change Properties
Set your email in Preferences
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.