Modify

Opened 9 years ago

Closed 9 years ago

#11947 closed defect (othersoftware)

StackOverflow during plugin load via JNLP on Java9

Reported by: wiktorn Owned by: team
Priority: normal Milestone:
Component: Core Webstart Version: latest
Keywords: template_report java9 javabug Cc:

Description

What steps will reproduce the problem?

  1. Start JOSM using JNLP on Windows, java version 9

What is the expected result?

What happens instead?

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

Java:
java version "1.9.0-ea"
Java(TM) SE Runtime Environment (build 1.9.0-ea-b82)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b82, mixed mode)
Revision: 8837
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2015-10-08 02:05:12 +0200 (Thu, 08 Oct 2015)
Build-Date: 2015-10-08 01:33:51
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8837

Identification: JOSM/1.5 (8837 en) Windows 7 64-Bit
Memory Usage: 192 MB / 3068 MB (85 MB allocated, but free)
Java version: 1.9.0-ea, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files\Java\jre1.9.0\conf\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Users\w\Desktop\josm-latest.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=50452, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==]

Plugins:
- Mapillary
- commons-imaging (31603)
- jts (31603)
- opendata (31241)
- photo_geotagging

Last errors/warnings:
- E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin reverter. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.StackOverflowError
- E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin geotools. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.StackOverflowError
- E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin utilsplugin2. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.StackOverflowError
- E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin photo_geotagging. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.StackOverflowError
- E: java.lang.StackOverflowError

java.lang.StackOverflowError
	at java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:405)
	at java.io.File.getCanonicalPath(File.java:619)
	at java.io.FilePermission$1.run(FilePermission.java:214)
	at java.io.FilePermission$1.run(FilePermission.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.io.FilePermission.init(FilePermission.java:202)
	at java.io.FilePermission.<init>(FilePermission.java:276)
	at java.lang.SecurityManager.checkRead(SecurityManager.java:880)
	at java.io.File.isDirectory(File.java:846)
	at java.io.File.toURI(File.java:734)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.isLocalJREJar(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
...<snip>...

Attachments (0)

Change History (5)

comment:1 by wiktorn, 9 years ago

Keywords: java9 removed

Looks like it's not Java9 related. I've just tried with Java8 and the problems is the same.

Also I've tried with empty JOSM home folder and got:

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 pl) Windows 7 64-Bit
Memory Usage: 464 MB / 2727 MB (215 MB allocated, but free)
Java version: 1.8.0_60, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.security.manager, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAA=, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.splashport=50725, -Djnlpx.home=C:\Program Files\Java\jre1.9.0\bin, -Djnlpx.remove=false, -Djnlpx.offline=false, -Djnlpx.relaunch=true, -Djnlpx.session.data=C:\Users\w\AppData\Local\Temp\session4920421712083529856, -Djnlpx.heapsize=NULL,NULL, -Djava.security.policy=file:C:\Program Files\Java\jre1.9.0\conf\security\javaws.policy, -DtrustProxy=true, -Djnlpx.origFilenameArg=C:\Users\w\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-79f4105e]

Plugins:
- Mapillary
- commons-imaging
- geotools
- jts (31603)
- opendata (31241)
- photo_geotagging
- photoadjust
- utilsplugin2

Last errors/warnings:
- E: org.openstreetmap.josm.plugins.PluginException: Wystąpił błąd we wtyczce geotools. Przyczyna: java.lang.reflect.InvocationTargetException. Przyczyna: java.lang.StackOverflowError
- E: org.openstreetmap.josm.plugins.PluginException: Wystąpił błąd we wtyczce utilsplugin2. Przyczyna: java.lang.reflect.InvocationTargetException. Przyczyna: java.lang.StackOverflowError
- E: org.openstreetmap.josm.plugins.PluginException: Wystąpił błąd we wtyczce photoadjust. Przyczyna: java.lang.reflect.InvocationTargetException. Przyczyna: java.lang.StackOverflowError
- E: java.lang.StackOverflowError

java.lang.StackOverflowError
	at java.io.ExpiringCache.get(Unknown Source)
	at java.io.WinNTFileSystem.canonicalize(Unknown Source)
	at java.io.File.getCanonicalPath(Unknown Source)
	at java.io.FilePermission$1.run(Unknown Source)
	at java.io.FilePermission$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.io.FilePermission.init(Unknown Source)
	at java.io.FilePermission.<init>(Unknown Source)
	at java.lang.SecurityManager.checkRead(Unknown Source)
	at java.io.File.isDirectory(Unknown Source)
	at java.io.File.toURI(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.isLocalJREJar(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
	at com.sun.deploy.net.protocol.jar.DeployURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
...<snip>...

I'm starting to suspect my machine.

comment:2 by wiktorn, 9 years ago

Keywords: java9 added

Ok, after uninstalling Java 9 everything back to normal...

comment:3 by Don-vip, 9 years ago

Component: CoreCore Webstart
Keywords: javabug added

comment:4 by Don-vip, 9 years ago

I don't get this error with b83 (released today), do you?

comment:5 by wiktorn, 9 years ago

Resolution: othersoftware
Status: newclosed

Nor did I. Looks like maybe b82 had really bugged Web Start (it was deleting *jnlp file too...)

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.