2 Replies Latest reply on Feb 13, 2008 6:39 PM by 807601

    Applet NotInited

    807597
      Hi
      I am very new to Java and have no clue about this error.
      This one is a standard IBM software and after i log on with my user name and password on my laptop it comes back with the following error. It used to work until i downloaded the automatic windows update. i am able to view the page on other computer. i am attaching the error message from the Java Console.

      ***********
      Java Plug-in 1.5.0_04
      Using JRE version 1.5.0_04 Java HotSpot(TM) Client VM
      User home directory = C:\Documents and Settings\Mathew John


      ----------------------------------------------------
      c: clear console window
      f: finalize objects on finalization queue
      g: garbage collect
      h: display this help message
      l: dump classloader list
      m: print memory usage
      o: trigger logging
      p: reload proxy configuration
      q: hide console
      r: reload policy configuration
      s: dump system and deployment properties
      t: dump thread list
      v: dump thread stack
      x: clear classloader cache
      0-5: set trace level to <n>
      ----------------------------------------------------

      java.lang.IllegalArgumentException: port out of range:-1
           at java.net.InetSocketAddress.<init>(Unknown Source)
           at com.sun.deploy.net.proxy.DeployProxySelector$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at com.sun.deploy.net.proxy.DeployProxySelector.select(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
           at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
           at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
           at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
           at sun.plugin.cache.CachedJarLoader.isUpToDate(Unknown Source)
           at sun.plugin.cache.CachedJarLoader.loadFromCache(Unknown Source)
           at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
           at sun.plugin.cache.JarCache.get(Unknown Source)
           at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
           at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
           at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
           at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
           at sun.misc.URLClassPath$3.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.misc.URLClassPath.getLoader(Unknown Source)
           at sun.misc.URLClassPath.getLoader(Unknown Source)
           at sun.misc.URLClassPath.getResource(Unknown Source)
           at java.net.URLClassLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.net.URLClassLoader.findClass(Unknown Source)
           at sun.applet.AppletClassLoader.findClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadCode(Unknown Source)
           at sun.applet.AppletPanel.createApplet(Unknown Source)
           at sun.plugin.AppletViewer.createApplet(Unknown Source)
           at sun.applet.AppletPanel.runLoader(Unknown Source)
           at sun.applet.AppletPanel.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      java.net.UnknownHostException: www.ascendanterp.ihost.com
           at java.net.PlainSocketImpl.connect(Unknown Source)
           at java.net.Socket.connect(Unknown Source)
           at sun.net.NetworkClient.doConnect(Unknown Source)
           at sun.net.www.http.HttpClient.openServer(Unknown Source)
           at sun.net.www.http.HttpClient.openServer(Unknown Source)
           at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
           at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
           at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
           at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
           at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
           at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
           at sun.plugin.cache.CachedJarLoader.isUpToDate(Unknown Source)
           at sun.plugin.cache.CachedJarLoader.loadFromCache(Unknown Source)
           at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
           at sun.plugin.cache.JarCache.get(Unknown Source)
           at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
           at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
           at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
           at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
           at sun.misc.URLClassPath$3.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.misc.URLClassPath.getLoader(Unknown Source)
           at sun.misc.URLClassPath.getLoader(Unknown Source)
           at sun.misc.URLClassPath.getResource(Unknown Source)
           at java.net.URLClassLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.net.URLClassLoader.findClass(Unknown Source)
           at sun.applet.AppletClassLoader.findClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadCode(Unknown Source)
           at sun.applet.AppletPanel.createApplet(Unknown Source)
           at sun.plugin.AppletViewer.createApplet(Unknown Source)
           at sun.applet.AppletPanel.runLoader(Unknown Source)
           at sun.applet.AppletPanel.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      java.lang.IllegalArgumentException: port out of range:-1
           at java.net.InetSocketAddress.<init>(Unknown Source)
           at com.sun.deploy.net.proxy.DeployProxySelector$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at com.sun.deploy.net.proxy.DeployProxySelector.select(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
           at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
           at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
           at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
           at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
           at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
           at sun.plugin.cache.FileCache.get(Unknown Source)
           at sun.plugin.cache.PluginCacheHandler.get(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
           at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
           at java.net.HttpURLConnection.getResponseCode(Unknown Source)
           at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
           at sun.applet.AppletClassLoader.getBytes(Unknown Source)
           at sun.applet.AppletClassLoader.access$100(Unknown Source)
           at sun.applet.AppletClassLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.applet.AppletClassLoader.findClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadCode(Unknown Source)
           at sun.applet.AppletPanel.createApplet(Unknown Source)
           at sun.plugin.AppletViewer.createApplet(Unknown Source)
           at sun.applet.AppletPanel.runLoader(Unknown Source)
           at sun.applet.AppletPanel.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      java.lang.IllegalArgumentException: port out of range:-1
           at java.net.InetSocketAddress.<init>(Unknown Source)
           at com.sun.deploy.net.proxy.DeployProxySelector$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at com.sun.deploy.net.proxy.DeployProxySelector.select(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
           at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
           at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
           at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
           at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
           at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
           at sun.plugin.cache.FileCache.get(Unknown Source)
           at sun.plugin.cache.PluginCacheHandler.get(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
           at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
           at java.net.HttpURLConnection.getResponseCode(Unknown Source)
           at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
           at sun.applet.AppletClassLoader.getBytes(Unknown Source)
           at sun.applet.AppletClassLoader.access$100(Unknown Source)
           at sun.applet.AppletClassLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at sun.applet.AppletClassLoader.findClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadCode(Unknown Source)
           at sun.applet.AppletPanel.createApplet(Unknown Source)
           at sun.plugin.AppletViewer.createApplet(Unknown Source)
           at sun.applet.AppletPanel.runLoader(Unknown Source)
           at sun.applet.AppletPanel.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      load: class com.ascendant.src.base.TreeApplet.class not found.
      java.lang.ClassNotFoundException: com.ascendant.src.base.TreeApplet.class
           at sun.applet.AppletClassLoader.findClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadCode(Unknown Source)
           at sun.applet.AppletPanel.createApplet(Unknown Source)
           at sun.plugin.AppletViewer.createApplet(Unknown Source)
           at sun.applet.AppletPanel.runLoader(Unknown Source)
           at sun.applet.AppletPanel.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.IOException: open HTTP connection failed.
           at sun.applet.AppletClassLoader.getBytes(Unknown Source)
           at sun.applet.AppletClassLoader.access$100(Unknown Source)
           at sun.applet.AppletClassLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           ... 10 more
      Exception in thread "Thread-4" java.lang.NullPointerException
           at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
           at sun.plugin.AppletViewer.showAppletException(Unknown Source)
           at sun.applet.AppletPanel.runLoader(Unknown Source)
           at sun.applet.AppletPanel.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      java.lang.NullPointerException
           at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
           at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
           at sun.applet.AppletPanel.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      ********

      Thanks much in advance for any help on this one.

      Appreciate it.

      Mayohan
        • 1. Re: Applet NotInited
          807597
          ... another victim of windows update...

          usually with errors like this, the first 1-2 lines are the most helpful
          java.lang.IllegalArgumentException: port out of range:-1
          at java.net.InetSocketAddress.<init>(Unknown Source)
          this means that a -1 was passed as an argument where the program was not expecting a -1

          as for how to solve it, I'm clueless
          • 2. Re: Applet NotInited
            807601
            Hello, is the problem solved, how did you do it? I have the same error with jre1.6.0_03 on a solaris machine.


            Thanks.
            yc