jre 1.1.6 reports exception or hangs in ImageFetcher thread when loading a gif f

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P2
    • None
    • Affects Version/s: 1.1.6
    • Component/s: tools
    • None
    • jar
    • x86
    • generic

      Machine: NT (~48Meg)
      JDK: 1.1.6

      Problem:
           Trying to load a gif from a jar file (using Toolkit.getImage(URK url)).

           problem happens randomly (within 1 out of 10 launches). Same code runs fine on Solaris. Exception is reported on the ImageFetcher thread.

      Exception:
      java.lang.NullPointerException:
              at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:82)
              at sun.net.www.protocol.systemresource.SystemResourceManager.getLocalResourceStream(SystemResourceManager.java:114)
              at sun.net.www.protocol.systemresource.SystemResourceConnection.getInputStream(SystemResourceConnection.java:93)
              at sun.net.www.URLConnection.getContentType(URLConnection.java:126)
              at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:98)
              at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:259)
              at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:151)
              at sun.awt.image.ImageFetcher.run(ImageFetcher.java:127)

            Assignee:
            Zhenghua Li (Inactive)
            Reporter:
            Kevin Looney (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: