Modify

Opened 9 years ago

Closed 9 years ago

#11951 closed defect (duplicate)

Clicking on exit causes Josm to restart.

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

Description (last modified by Don-vip)

I did check to see that I only had one call to java the josm jar in my .bat file. The recent changes to my environment is a new version of Josm and some new plugins.

I uploaded a change ...

INFO: PUT https://api.openstreetmap.org/api/0.6/changeset/create...
INFO: OK
INFO: POST https://api.openstreetmap.org/api/0.6/changeset/34531167/upload...
INFO: OK
INFO: PUT https://api.openstreetmap.org/api/0.6/changeset/34531167/close...
INFO: OK

Shutdown was called--application close button.

[INFO] ElementEventQueue - Element event queue destroyed: org.apache.commons.jcs
.engine.control.event.ElementEventQueue@10898c1
[INFO] CompositeCache - In DISPOSE, [mapillary] fromRemote [false]
[INFO] CompositeCache - In DISPOSE, [mapillary] auxiliary [mapillary]
[INFO] CompositeCache - In DISPOSE, [mapillary] put 0 into auxiliary mapillary
[INFO] AbstractDiskCache - No longer waiting for event queue to finish: Cache Event Queue
Working = true
Alive = false
Empty = true
Size = 0
[INFO] AbstractDiskCache - In dispose, destroying event queue.
[INFO] CacheEventQueue - Destroy was called after queue was destroyed.  Doing nothing.  Stats =  Cache Event Queue
Working = true
Alive = false
Empty = true
Size = 0
[INFO] IndexedDiskCache - Region [mapillary] Saving keys to: mapillary, key count: 80
[INFO] IndexedDiskCache - Region [mapillary] Finished saving keys.
[INFO] IndexedDiskCache - Region [mapillary] Shutdown complete.
[INFO] CompositeCache - In DISPOSE, [mapillary] disposing of memory cache.
[INFO] AbstractMemoryCache - Memory Cache dispose called.
[INFO] CompositeCache - In DISPOSE, [TMS] fromRemote [false]
[INFO] CompositeCache - In DISPOSE, [TMS] auxiliary [TMS]
[INFO] CompositeCache - In DISPOSE, [TMS] put 0 into auxiliary TMS
[INFO] AbstractDiskCache - No longer waiting for event queue to finish: Cache Event Queue
Working = true
Alive = false
Empty = true
Size = 0
[INFO] AbstractDiskCache - In dispose, destroying event queue.
[INFO] CacheEventQueue - Destroy was called after queue was destroyed.  Doing nothing.  Stats =  Cache Event Queue
Working = true
Alive = false
Empty = true
Size = 0
[INFO] IndexedDiskCache - Region [TMS] Saving keys to: TMS, key count: 23288
[INFO] IndexedDiskCache - Region [TMS] Finished saving keys.
[INFO] IndexedDiskCache - Region [TMS] Shutdown complete.
[INFO] CompositeCache - In DISPOSE, [TMS] disposing of memory cache.
[INFO] AbstractMemoryCache - Memory Cache dispose called.

This is where josm restarts. I receive the null pointer exception from https://josm.openstreetmap.de/ticket/11930

ERROR: java.lang.NullPointerException
java.lang.NullPointerException
        at org.openstreetmap.josm.plugins.rasterfilters.RasterFiltersPlugin.layerRemoved(RasterFiltersPlugin.java:125)
        at org.openstreetmap.josm.gui.MapView.fireLayerRemoved(MapView.java:216)

        at org.openstreetmap.josm.gui.MapView.removeLayer(MapView.java:527)
        at org.openstreetmap.josm.Main.removeLayer(Main.java:522)
        at org.openstreetmap.josm.Main.exitJosm(Main.java:1120)
        at org.openstreetmap.josm.gui.MainApplication$1.windowClosing(MainApplication.java:111)
        at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
        at java.awt.Window.processWindowEvent(Unknown Source)
        at javax.swing.JFrame.processWindowEvent(Unknown Source)
        at java.awt.Window.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(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.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
Oct 09, 2015 7:40:56 AM org.geotools.referencing.factory.DeferredAuthorityFactory disposeBackingStore
INFO: Disposing class org.geotools.referencing.factory.epsg.UnnamedExtension backing store
Oct 09, 2015 7:40:56 AM org.geotools.referencing.factory.DeferredAuthorityFactory disposeBackingStore
INFO: Disposing class org.geotools.referencing.factory.epsg.EsriExtension backing store

Here's the list of plugins from https://josm.openstreetmap.de/ticket/11930

Revision: 8800
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: simon04
Last Changed Date: 2015-09-27 22:11:06 +0200 (Sun, 27 Sep 2015)
Build-Date: 2015-09-28 01:32:03
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8800

Identification: JOSM/1.5 (8800 en) Windows 7 64-Bit
Memory Usage: 486 MB / 1230 MB (337 MB allocated, but free)
Java version: 1.8.0_31, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-XX:NumberOfGCLogFiles=10, -XX:GCLogFileSize=8K, -Djosm.pref=\gis\apps\josm, -Djosm.cache=\gis\data\josm_temp, -Djosm.userdata=\gis\apps\josm\data_files, -Djosm.home=\gis\apps\josm]
Dataset consistency test: No problems found

Plugins:
- ColorPlugin (1414145445)
- CommandLine (31241)
- Create_grid_of_ways (31241)
- DirectDownload (31241)
- DirectUpload (31241)
- DxfImport (UNKNOWN)
- FastDraw (31265)
- FixAddresses (31241)
- HouseNumberTaggingTool (31241)
- ImportImagePlugin (31241)
- Mapillary (31550)
- OpeningHoursEditor (31241)
- PicLayer (31241)
- RoadSigns (31241)
- ShapeTools (1000)
- alignways (31241)
- buildings_tools (31558)
- commons-imaging (31241)
- conflation (0.1.7)
- continuosDownload (1413902943)
- dataimport (31241)
- download_along (31241)
- editgpx (31241)
- ext_tools (31241)
- geotools (31126)
- graphview (31241)
- imageryadjust (31241)
- jna (31126)
- jts (31126)
- junctionchecking (31241)
- kendzi3d-jogl (41)
- lakewalker (31241)
- log4j (31231)
- mbtiles (v1.2)
- measurement (31289)
- missingRoads (31)
- namemanager (31241)
- opendata (31241)
- openvisible (31241)
- osmarender (31241)
- pbf (31241)
- pdfimport (31241)
- photo_geotagging (31241)
- photoadjust (31413)
- poly (31241)
- print (31329)
- proj4j (31353)
- public_transport (31241)
- public_transport_layer (31220)
- rasterfilters (31509)
- reltoolbox (31241)
- reverter (31241)
- routes (31241)
- routing (31241)
- tageditor (31576)
- tagging-preset-tester (31241)
- todo (29154)
- touchscreenhelper (31241)
- turnlanes (31241)
- turnrestrictions (31578)
- undelete (31241)
- utilsplugin2 (31463)
- videomapping (31241)
- waydownloader (31241)
- wikipedia (31241)

Attachments (0)

Change History (4)

comment:1 by Don-vip, 9 years ago

Description: modified (diff)

in reply to:  description comment:2 by Don-vip, 9 years ago

Owner: changed from team to anonymous
Status: newneedinfo

Replying to anonymous:

The recent changes to my environment is a new version of Josm and some new plugins.

Here's the list of plugins from https://josm.openstreetmap.de/ticket/11930

If you have updated JOSM and some plugins, please attach the new list, not the old one.

comment:3 by anonymous, 9 years ago

I finally isolated this issue. The problem was in the raster plugin. I remembered that I added the missing roads and the raster files plugin about the same time. I removed the raster files plugin. The problem went away. I do not know if this ticket https://josm.openstreetmap.de/ticket/11930 and this change fixes the problem.
https://trac.openstreetmap.org/browser/subversion/?rev=31636

comment:4 by Don-vip, 9 years ago

Resolution: duplicate
Status: needinfoclosed

Closed as duplicate of #11930.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anonymous.
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.