Modify

Opened 9 years ago

Closed 9 years ago

#12530 closed defect (othersoftware)

JOSM crashes when trying to download data

Reported by: Polyglot Owned by: team
Priority: blocker Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Start JOSM
  2. Press download button, same happens with Download from Overpass API
  3. I started with a fresh config for these bug reports

I included the output on the console as well.

What is the expected result?

What happens instead?

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-02-12 00:30:00 +0100 (Fri, 12 Feb 2016)
Build-Date:2016-02-12 02:33:09
Revision:9787
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9787 en) Windows 7 64-Bit
Memory Usage: 305 MB / 1111 MB (210 MB allocated, but free)
Java version: 1.8.0_66-b18, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM


Last errors/warnings:
- E: java.lang.ExceptionInInitializerError. Cause: org.apache.commons.logging.LogConfigurationException: java.lang.SecurityException: class "org.apache.commons.logging.impl.LogFactoryImpl"'s signer information does not match signer information of other classes in the same package (Caused by java.lang.SecurityException: class "org.apache.commons.logging.impl.LogFactoryImpl"'s signer information does not match signer information of other classes in the same package). Cause: java.lang.SecurityException: class "org.apache.commons.logging.impl.LogFactoryImpl"'s signer information does not match signer information of other classes in the same package

java.lang.ExceptionInInitializerError
	at org.openstreetmap.josm.data.cache.JCSCacheManager.<clinit>(JCSCacheManager.java:43)
	at org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getCache(AbstractCachedTileSourceLayer.java:122)
	at org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getTileLoaderFactory(AbstractCachedTileSourceLayer.java:113)
	at org.openstreetmap.josm.gui.bbox.SlippyMapBBoxChooser.<init>(SlippyMapBBoxChooser.java:143)
	at org.openstreetmap.josm.gui.download.SlippyMapChooser.<init>(SlippyMapChooser.java:35)
	at org.openstreetmap.josm.gui.download.DownloadDialog.buildMainPanel(DownloadDialog.java:119)
	at org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDialog.java:234)
	at org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDialog.java:222)
	at org.openstreetmap.josm.gui.download.DownloadDialog.getInstance(DownloadDialog.java:66)
	at org.openstreetmap.josm.actions.DownloadAction.actionPerformed(DownloadAction.java:43)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(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.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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.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$JavaSecurityAccessImpl.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)
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.SecurityException: class "org.apache.commons.logging.impl.LogFactoryImpl"'s signer information does not match signer information of other classes in the same package (Caused by java.lang.SecurityException: class "org.apache.commons.logging.impl.LogFactoryImpl"'s signer information does not match signer information of other classes in the same package)
	at org.apache.commons.logging.LogFactory.createFactory(LogFactory.java:1158)
	at org.apache.commons.logging.LogFactory$2.run(LogFactory.java:960)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:957)
	at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:624)
	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:655)
	at org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory.<clinit>(IndexedDiskCacheFactory.java:37)
	... 47 more
Caused by: java.lang.SecurityException: class "org.apache.commons.logging.impl.LogFactoryImpl"'s signer information does not match signer information of other classes in the same package
	at java.lang.ClassLoader.checkCerts(Unknown Source)
	at java.lang.ClassLoader.preDefineClass(Unknown Source)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$100(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
...<snip>...

This also happens when trying to download from Overpass API:

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-02-12 00:30:00 +0100 (Fri, 12 Feb 2016)
Build-Date:2016-02-12 02:33:09
Revision:9787
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9787 en) Windows 7 64-Bit
Memory Usage: 368 MB / 1111 MB (286 MB allocated, but free)
Java version: 1.8.0_66-b18, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM


Last errors/warnings:
- E: java.lang.ExceptionInInitializerError. Cause: org.apache.commons.logging.LogConfigurationException: java.lang.SecurityException: class "org.apache.commons.logging.impl.LogFactoryImpl"'s signer information does not match signer information of other classes in the same package (Caused by java.lang.SecurityException: class "org.apache.commons.logging.impl.LogFactoryImpl"'s signer information does not match signer information of other classes in the same package). Cause: java.lang.SecurityException: class "org.apache.commons.logging.impl.LogFactoryImpl"'s signer information does not match signer information of other classes in the same package
- E: java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.data.cache.JCSCacheManager

java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.data.cache.JCSCacheManager
	at org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getCache(AbstractCachedTileSourceLayer.java:122)
	at org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getTileLoaderFactory(AbstractCachedTileSourceLayer.java:113)
	at org.openstreetmap.josm.gui.bbox.SlippyMapBBoxChooser.<init>(SlippyMapBBoxChooser.java:143)
	at org.openstreetmap.josm.gui.download.SlippyMapChooser.<init>(SlippyMapChooser.java:35)
	at org.openstreetmap.josm.gui.download.DownloadDialog.buildMainPanel(DownloadDialog.java:119)
	at org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDialog.java:234)
	at org.openstreetmap.josm.actions.OverpassDownloadAction$OverpassDownloadDialog.<init>(OverpassDownloadAction.java:126)
	at org.openstreetmap.josm.actions.OverpassDownloadAction$OverpassDownloadDialog.getInstance(OverpassDownloadAction.java:136)
	at org.openstreetmap.josm.actions.OverpassDownloadAction.actionPerformed(OverpassDownloadAction.java:75)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(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.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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.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$JavaSecurityAccessImpl.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)
C:\data\osm>"C:\Program Files\Java\jre1.8.0_66\bin\java.exe" -Xmx1250M -classpat
h "C:\Data\OSM\josm-latest.jar;C:\Data\osm\jython-standalone-2.7.0.jar;C:\Data\o
sm\wdtk-client-0.6.0.jar" org.openstreetmap.josm.gui.MainApplication
INFO: Missing preference file 'C:\Users\u0083655\AppData\Roaming\JOSM\preference
s.xml'. Creating a default preference file.
INFO: GET https://josm.openstreetmap.de/wiki/StartupPage -> 200
INFO: GET https://josm.openstreetmap.de/maps -> 200
INFO: GET https://api.openstreetmap.org/api/capabilities -> 200 (369 B)
INFO: OK
ERROR: java.lang.ExceptionInInitializerError. Cause: org.apache.commons.logging.
LogConfigurationException: java.lang.SecurityException: class "org.apache.common
s.logging.impl.LogFactoryImpl"'s signer information does not match signer inform
ation of other classes in the same package (Caused by java.lang.SecurityExceptio
n: class "org.apache.commons.logging.impl.LogFactoryImpl"'s signer information d
oes not match signer information of other classes in the same package). Cause: j
ava.lang.SecurityException: class "org.apache.commons.logging.impl.LogFactoryImp
l"'s signer information does not match signer information of other classes in th
e same package
java.lang.ExceptionInInitializerError
        at org.openstreetmap.josm.data.cache.JCSCacheManager.<clinit>(JCSCacheMa
nager.java:43)
        at org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getCac
he(AbstractCachedTileSourceLayer.java:122)
        at org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getTil
eLoaderFactory(AbstractCachedTileSourceLayer.java:113)
        at org.openstreetmap.josm.gui.bbox.SlippyMapBBoxChooser.<init>(SlippyMap
BBoxChooser.java:143)
        at org.openstreetmap.josm.gui.download.SlippyMapChooser.<init>(SlippyMap
Chooser.java:35)
        at org.openstreetmap.josm.gui.download.DownloadDialog.buildMainPanel(Dow
nloadDialog.java:119)
        at org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDia
log.java:234)
        at org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDia
log.java:222)
        at org.openstreetmap.josm.gui.download.DownloadDialog.getInstance(Downlo
adDialog.java:66)
        at org.openstreetmap.josm.actions.DownloadAction.actionPerformed(Downloa
dAction.java:43)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(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.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$JavaSecurityAccessImpl.doIntersectionP
rivilege(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
rivilege(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$JavaSecurityAccessImpl.doIntersectionP
rivilege(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)
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.Secur
ityException: class "org.apache.commons.logging.impl.LogFactoryImpl"'s signer in
formation does not match signer information of other classes in the same package
 (Caused by java.lang.SecurityException: class "org.apache.commons.logging.impl.
LogFactoryImpl"'s signer information does not match signer information of other
classes in the same package)
        at org.apache.commons.logging.LogFactory.createFactory(LogFactory.java:1
158)
        at org.apache.commons.logging.LogFactory$2.run(LogFactory.java:960)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:957)

        at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:624)

        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:655)
        at org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
.<clinit>(IndexedDiskCacheFactory.java:37)
        ... 47 more
Caused by: java.lang.SecurityException: class "org.apache.commons.logging.impl.L
ogFactoryImpl"'s signer information does not match signer information of other c
lasses in the same package
        at java.lang.ClassLoader.checkCerts(Unknown Source)
        at java.lang.ClassLoader.preDefineClass(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at org.apache.commons.logging.LogFactory.createFactory(LogFactory.java:1
020)
        ... 53 more
INFO: GET https://josm.openstreetmap.de/wiki/TestedVersion?format=txt -> 200
INFO: Opening URL: https://josm.openstreetmap.de/josmticket?gdata=H4sIAAAAAAAAAO
1YbW8aORD-fPsrrCrSEV0wu7xnVVUKkKhEcM2VcP12J7M7gJvFXtlekvTX39i8JKFAljStWukSCdb2PM
-8eDw7ZvixF06NScNS6bPUMypTENooADNjKY2hpOeiZFQmbryPkErNjVT34XDY7YTEj-rQqFXLxajuB0
W_GvjFZhUaxcivNBnEzeaoMvJ6TJuwPWViAjHpMAMhKftBveiXi0GZ-H5Y8UPfJ3_4AX4WLhQ_ITh_AS
Mnduy1Mp7ERQd8jCuHlUron6JRc665FOFpo9nAUcIMn0M4RLfIP0vDvW4MwvAxj3ARRcnlh0G_FNAaKV
gUAXFMPnERy1tNGqReLba48fowQ0_JULMJmlzxa6TfIiUS4J99KpQD336zJJFIC_EJGWWGjDFyx94lmz
MyB-UMIwFtUv_fer04Cpon5INiUQKkLVUqlbPnhDj599IMUmkK1_3jpQ1kAApZyN99z3NxJKCUVLp0y5
TgYqJDr0jOQ_IZ4TTBCNPzuwhSy9nFf244S_gXUOcWRUmbZRpdkWpCWcqiKdBIzmZSaJrIyQT5aE9O2l
KM-SRbWLame6xjAFGmuLl_tBglTGvyZg8zn6WJpb9gkU2gLg7f_K6J5hOBDnIxlmrmVJJYgiZCGoLjaL
pNQo6JNFOcdGpRmguCY6LZDAiqv8EdIwXnbUxG97-a6cfrnfrFDPe8XIno_caMS8KnpcZVn5gZRiPnzW
V70LYPfSaQW9G3UcKR6V1hc8EqDauV4328k4yjXfcofTbCJQyIo4iveQIDmakIem51AouFwn4xpzIol1
9Lp53qSRaDWu5VLv3B8z6PRvKODhKepvd9lrZa8q49lVLbcC6CuXVtQZ8jpFgxRYJ2P6jYRf-EulLLz9
xZPnQwheSEjuzboM-4uGICksLG6jIupy-mX5q9jbZcqX4X2hxZtIsWM6eL8kxEsJW7Xt9LjenFbb1YQc
_ceDl9BcqefogLG8tPjpsd3FF9a8vNKmVbmTEoN-YKzjaohuJGIBtZ5PJzFEfvmYgTTJpNi56j6cCYZc
mSpS9jSF5kzRYaDeZKARbA59FpwsZ0xDSPaMt-Lmh6XBvA4kpnEks8tivA9pFRdmvo2afr8zk2MH00Bl
sYJDgI3pazVArE01TJCI3vW6xjfNaJy5eAt2vNhREGjza6dwhmpSfmOrWvLweyL7u8yg4GbtW4H9Tjk6
m5BfvZWaJQswLDFJ7ivEHdznLgzmwnOcCXF0du0WP_kHg7kb8yyOBQdY-QLLJxPar5fl7IUYXijeO1pP
Wy66NnzhAbdyUTWxFjeaX4HLsCvFQV_nRXHtIHM5XxNviVkgZc8evIGe7ckb1vrFrKBbeNC7J2BRYXvZ
Bda8hh4HfTsBGw6kHhfUb6pw_vvkTOgVqd7uupAmwe0myWfhCLCnEh1QVPrDEv43Hzes3yjSTvOSimou
n9t_D8WOy2xFrfOP-_Y__spj_0xbt3aWkLjXDDDawuZo8WlreNWvMAtqOyS51NltO6_yqFKZ9HAm53uX
NaaxzChL3LLqZ6uXogE46-ZqnVdrJ8jjRl2R1POENxrI43FBsMuIOYdhffeGhv3A16xbn-EWGXwOJ-am
NAKSXVBplJBY9P9i-W6A9J5WxuW8nFLw0UzYtu2qD2lb-vQKkCvBZh8-cmDwDGeVDrxHexhYPxAgwdfu
y9Bm7Z-wX7er-vYUfB1jcD5tJbLXj6Dh-8_wD31lsPchcAAA==
ERROR: java.lang.NoClassDefFoundError: Could not initialize class org.openstreet
map.josm.data.cache.JCSCacheManager
java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.jos
m.data.cache.JCSCacheManager
        at org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getCac
he(AbstractCachedTileSourceLayer.java:122)
        at org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getTil
eLoaderFactory(AbstractCachedTileSourceLayer.java:113)
        at org.openstreetmap.josm.gui.bbox.SlippyMapBBoxChooser.<init>(SlippyMap
BBoxChooser.java:143)
        at org.openstreetmap.josm.gui.download.SlippyMapChooser.<init>(SlippyMap
Chooser.java:35)
        at org.openstreetmap.josm.gui.download.DownloadDialog.buildMainPanel(Dow
nloadDialog.java:119)
        at org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDia
log.java:234)
        at org.openstreetmap.josm.actions.OverpassDownloadAction$OverpassDownloa
dDialog.<init>(OverpassDownloadAction.java:126)
        at org.openstreetmap.josm.actions.OverpassDownloadAction$OverpassDownloa
dDialog.getInstance(OverpassDownloadAction.java:136)
        at org.openstreetmap.josm.actions.OverpassDownloadAction.actionPerformed
(OverpassDownloadAction.java:75)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(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.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$JavaSecurityAccessImpl.doIntersectionP
rivilege(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
rivilege(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$JavaSecurityAccessImpl.doIntersectionP
rivilege(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)
INFO: GET https://josm.openstreetmap.de/wiki/TestedVersion?format=txt -> 200

Attachments (0)

Change History (3)

comment:1 by Polyglot, 9 years ago

Uh oh, I seem to be causing this myself, by using this to start JOSM:

"C:\Program Files\Java\jre1.8.0_66\bin\java.exe" -Xmx1250M -classpath "C:\Data\OSM\josm-latest.jar;C:\Data\osm\jython-standalone-2.7.0.jar;C:\Data\osm\wdtk-client-0.6.0.jar" org.openstreetmap.josm.gui.MainApplication

Is there a better way to include wdtk-client-0.6.0.jar?

I was so happy that this seemed to work and that I was even able to use the classes in there from within the scripting plugin.

I had started to write Wikidata bot framework myself, but after experiencing logon problems, it seemed like a better idea to use that toolkit instead.

Jo

comment:2 by bastiK, 9 years ago

This is, what is commonly called the JAR hell. You can try to change the order of jars in the classpath. Next you can try with a custom JOSM build that isn't signed (same with wdtk should it be signed). Finally, if the versions of commons logging used in the two jars turn out to be incompatible, you are basically out of luck. It is still possible in principle, but not very straightforward.

comment:3 by Polyglot, 9 years ago

Resolution: othersoftware
Status: newclosed

Thank you bastiK,

Changing the order to:

"C:\Program Files\Java\jre1.8.0_66\bin\java.exe" -Xmx1250M -classpath "C:\Data\osm\wdtk-client-0.6.0.jar;C:\Data\OSM\josm-latest.jar;C:\Data\osm\jython-standalone-2.7.0.jar" org.openstreetmap.josm.gui.MainApplication

did the trick.

Jo

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.