Hi Guys, I am getting a JAVA error when I launch an application and the error message is:
Error:
String index out of range: -1
Exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.charAt(String.java:686)
at com.sun.jnlp.DownloadService2Impl.getLowerNameExtension(DownloadService2Impl.java:160)
at com.sun.jnlp.DownloadService2Impl.getResourceType(DownloadService2Impl.java:115)
at com.sun.jnlp.DownloadService2Impl.matches(DownloadService2Impl.java:89)
at com.sun.jnlp.DownloadService2Impl.getCachedResourcesImpl(DownloadService2Impl.java:73)
at com.sun.jnlp.DownloadService2Impl.access$000(DownloadService2Impl.java:26)
at com.sun.jnlp.DownloadService2Impl$1.run(DownloadService2Impl.java:60)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jnlp.DownloadService2Impl.getCachedResources(DownloadService2Impl.java:58)
at com.sdm.quasar.webstart.bootstrap.BootStrapper.getNativeDirectoriesMethodB(BootStrapper.java:222)
at com.sdm.quasar.webstart.bootstrap.BootStrapper.getNativeDirectories(BootStrapper.java:198)
at com.sdm.quasar.webstart.bootstrap.BootStrapper.registerNativeLibDirs(BootStrapper.java:165)
at com.sdm.quasar.webstart.bootstrap.BootStrapper.launchApplication(BootStrapper.java:140)
at com.sdm.quasar.webstart.bootstrap.BootStrapper.run(BootStrapper.java:61)
at com.sdm.quasar.webstart.bootstrap.BootStrapper.main(BootStrapper.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1914)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1847)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1609)
at com.sun.javaws.Launcher.run(Launcher.java:138)
at java.lang.Thread.run(Thread.java:680)
Any idea how to dove it?
Thanks
Error:
String index out of range: -1
Exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.charAt(String.java:686)
at com.sun.jnlp.DownloadService2Impl.getLowerNameExtension(DownloadService2Impl.java:160)
at com.sun.jnlp.DownloadService2Impl.getResourceType(DownloadService2Impl.java:115)
at com.sun.jnlp.DownloadService2Impl.matches(DownloadService2Impl.java:89)
at com.sun.jnlp.DownloadService2Impl.getCachedResourcesImpl(DownloadService2Impl.java:73)
at com.sun.jnlp.DownloadService2Impl.access$000(DownloadService2Impl.java:26)
at com.sun.jnlp.DownloadService2Impl$1.run(DownloadService2Impl.java:60)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jnlp.DownloadService2Impl.getCachedResources(DownloadService2Impl.java:58)
at com.sdm.quasar.webstart.bootstrap.BootStrapper.getNativeDirectoriesMethodB(BootStrapper.java:222)
at com.sdm.quasar.webstart.bootstrap.BootStrapper.getNativeDirectories(BootStrapper.java:198)
at com.sdm.quasar.webstart.bootstrap.BootStrapper.registerNativeLibDirs(BootStrapper.java:165)
at com.sdm.quasar.webstart.bootstrap.BootStrapper.launchApplication(BootStrapper.java:140)
at com.sdm.quasar.webstart.bootstrap.BootStrapper.run(BootStrapper.java:61)
at com.sdm.quasar.webstart.bootstrap.BootStrapper.main(BootStrapper.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1914)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1847)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1609)
at com.sun.javaws.Launcher.run(Launcher.java:138)
at java.lang.Thread.run(Thread.java:680)
Any idea how to dove it?
Thanks