JAVA error

Discussion in 'iOS 5 and earlier' started by fabrizioanzolin, Nov 19, 2011.

  1. fabrizioanzolin macrumors newbie

    Joined:
    Nov 19, 2011
    #1
    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
     
  2. ct2k7 macrumors 603

    ct2k7

    Joined:
    Aug 29, 2008
    Location:
    London or Florida
    #2
    Java is not available on iOS.

    That said, what application is it?
     
  3. Ashwood11 macrumors 65816

    Joined:
    Nov 10, 2010
    Location:
    US
    #3
    In the Settings app under Safari you can turn JavaScript on or off?
     
  4. AdrianK macrumors 68020

    Joined:
    Feb 19, 2011
    #4
    They're two different things.

    I'm guessing the OP posted under the wrong section.
     
  5. Ashwood11 macrumors 65816

    Joined:
    Nov 10, 2010
    Location:
    US
    #5
    Thanks for the link. Very interesting.
     
  6. fabrizioanzolin thread starter macrumors newbie

    Joined:
    Nov 19, 2011
    #6
    Thank you for the replies. Will try to make it work.
    Bye
     

Share This Page