java - StringIndexOutOfBoundExcpetion and failure to launch JNLP in MAC OS -
in application's jnlp file, specify permgensize in jnlp java-vm-args parameter. after upgrading java on mac java7u13, jnlp fails launch java-vm-args params. if remove java-vm-args parameter works fine.
my java-vm-args parameter java-vm-args="-xx:maxpermsize=128m"
is java 7 issue?. able reproduce above problem in solaris also.
during failure see next exception in trace file:
log started: tue, 19 feb 2013 11:02:41 +0530 java.lang.stringindexoutofboundsexception: string index out of range: -8 @ java.lang.string.substring(string.java:1911) @ com.sun.deploy.util.property.<init>(unknown source) @ com.sun.deploy.util.property.createproperty(unknown source) @ com.sun.deploy.util.jvmparameters$argumentset.addargument(unknown source) @ com.sun.deploy.util.jvmparameters.addargumentimpl(unknown source) @ com.sun.deploy.util.jvmparameters.parseimpl(unknown source) @ com.sun.deploy.util.jvmparameters.parsetrustedoptions(unknown source) @ com.sun.javaws.main.initializeexecutionenvironment(unknown source) @ com.sun.javaws.main.continueinsecurethread(unknown source) @ com.sun.javaws.main.access$000(unknown source) @ com.sun.javaws.main$1.run(unknown source) @ java.lang.thread.run(thread.java:722)
permgen gonna disappear in futher releases. remove xx:maxpermsize arguments lists , re-run application.
java string java-7 jnlp java-web-start
No comments:
Post a Comment