Modify

Opened 12 years ago

Closed 11 years ago

#8720 closed defect (fixed)

Unable to restart JOSM when run via Java Web Start

Reported by: geri-oc Owned by: team
Priority: normal Milestone:
Component: Core restart Version:
Keywords: JNLP Cc: geri-oc

Description (last modified by Don-vip)

Nach Änderungen der Einstellungen wollte ich Datei - neu starten.

Dies funktioniert nicht. Ich erhalte folgende Fehlermeldung:

InvalidArgumentException[ Ungültige Argumente angegeben: { }]
	at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
	at com.sun.javaws.Main.access$000(Unknown Source)
	at com.sun.javaws.Main$1.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-05-08 01:34:29
Last Changed Author: stoecker
Revision: 5939
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-05-07 14:05:08 +0200 (Tue, 07 May 2013)
Last Changed Rev: 5939

Identification: JOSM/1.5 (5939 de) Windows Vista 32-Bit
Memory Usage: 34 MB / 247 MB (6 MB allocated, but free)
Java version: 1.7.0_21, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.policy=file:C:\Program Files\Java\jre7\lib\security\javaws.policy, -DtrustProxy=true, -Xverify:remote, -Djnlpx.home=C:\Program Files\Java\jre7\bin, -Djnlpx.origFilenameArg=C:\Users\Gerd Richter\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\21\73111055-53b91a75, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Xbootclasspath/a:C:\Program Files\Java\jre7\lib\javaws.jar;C:\Program Files\Java\jre7\lib\deploy.jar;C:\Program Files\Java\jre7\lib\plugin.jar, -Djnlpx.splashport=51642, -Djnlp.application.href=http://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=C:\Program Files\Java\jre7\bin\javaw.exe, -Djnlpx.vmargs=-Djnlp.application.href=http://josm.openstreetmap.de/download/josm.jnlp]

Attachments (0)

Change History (12)

comment:1 by Don-vip, 12 years ago

Description: modified (diff)
Keywords: java7 JNLP added; template_report removed

Looks like a bug specific to Java 7 JNLP. Have you tried to launch JOSM from different browsers ?

comment:2 by Don-vip, 12 years ago

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

comment:3 by Don-vip, 12 years ago

Component: CoreCore restart

comment:4 by Don-vip, 12 years ago

In 5967/josm:

see #8720, see #8733 - More checks and some debug info in RestartAction

comment:5 by Don-vip, 12 years ago

Can you check if tomorrow's latest fix this problem ? Thanks.

comment:6 by geri-oc, 12 years ago

Mit 5967 funktioniert "Neu starten". - i.O.

comment:7 by stoecker, 12 years ago

Resolution: fixed
Status: newclosed

comment:8 by Don-vip, 12 years ago

Resolution: fixed
Status: closedreopened

Mmm this is not fixed. It works fine with latest jar, but not with latest JNLP (http://josm.openstreetmap.de/download/josm-latest.jnlp). I am able to reproduce the problem, not sure if it is specific to Windows implementation of WebStart or not.

comment:9 by Don-vip, 12 years ago

It's not specific to java 7, got it with 6u45 too:

InvalidArgumentException[ Arguments fournis non valides : { }]
	at com.sun.javaws.Main.continueInSecureThread(Main.java:141)
	at com.sun.javaws.Main$1.run(Main.java:110)
	at java.lang.Thread.run(Thread.java:662)
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-05-23 01:34:29
Last Changed Author: Don-vip
Revision: 5967
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-05-23 00:38:59 +0200 (Thu, 23 May 2013)
Last Changed Rev: 5967

Identification: JOSM/1.5 (5967 en_GB) Windows 7 64-Bit
Memory Usage: 26 MB / 247 MB (7 MB allocated, but free)
Java version: 1.6.0_45, Sun Microsystems Inc., Java HotSpot(TM) Client VM
VM arguments: [-Xbootclasspath/a:C:\Users\XXX\Apps\jdk1.6.0_45\jre\lib\javaws.jar;C:\Users\XXX\Apps\jdk1.6.0_45\jre\lib\deploy.jar;C:\Users\XXX\Apps\jdk1.6.0_45\jre\lib\plugin.jar, -Djava.security.policy=file:C:\Users\XXX\Apps\jdk1.6.0_45\jre\lib\security\javaws.policy, -DtrustProxy=true, -Xverify:remote, -Djnlpx.home=C:\Users\XXX\Apps\jdk1.6.0_45\jre\bin, -Dsun.awt.warmup=true, -Djnlpx.origFilenameArg=..\..\..\Desktop\josm-latest.jnlp, -Djnlpx.remove=true, -Djnlpx.splashport=53889, -Djnlpx.jvm=C:\Users\XXX\Apps\jdk1.6.0_45\jre\bin\javaw.exe]

comment:10 by Don-vip, 12 years ago

Keywords: java7 removed
Summary: Neu starten - FehlerUnable to restart JOSM when run via Java Web Start

comment:11 by Don-vip, 11 years ago

In 6111/josm:

see #8720 - should fix restart with JNLP

comment:12 by Don-vip, 11 years ago

Resolution: fixed
Status: reopenedclosed

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.