This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 9505 - NullPointerException Inflater.java:253
Summary: NullPointerException Inflater.java:253
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 critical (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-08 15:43 UTC by _ pkuzel
Modified: 2008-12-22 19:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2001-02-08 15:43:00 UTC
[8th Feb 2001]
Got during second start of IDE. It leads to deadlock. Can not reproduce.

Uncaught error fetching image:
java.lang.NullPointerException
        at java.util.zip.Inflater.reset(Inflater.java:253)
        at java.util.zip.ZipFile.getInflater(ZipFile.java:249)
        at java.util.zip.ZipFile.getInputStream(ZipFile.java:197)
        at java.util.zip.ZipFile.getInputStream(ZipFile.java:174)
        at java.util.jar.JarFile.getInputStream(JarFile.java:307)
        at
org.openide.filesystems.JarFileSystem.inputStream(JarFileSystem.java:696)
        at
org.openide.filesystems.JarFileSystem$Impl.inputStream(JarFileSystem.java:987)
        at
org.openide.filesystems.AbstractFileObject.getInputStream(AbstractFileObject.java:165)
        at
org.openide.filesystems.MIMESupport$CachedFileObject.getInputStream(MIMESupport.java:146)
        at
org.openide.filesystems.MIMESupport$CachedFileObject.resolveMIME(MIMESupport.java:123)
        at
org.openide.filesystems.MIMESupport$CachedFileObject.getMIMEType(MIMESupport.java:110)
        at org.openide.filesystems.MIMESupport.findMIMEType(MIMESupport.java:43)
        at org.openide.filesystems.FileUtil.getMIMEType(FileUtil.java:499)
        at
org.openide.filesystems.AbstractFileObject.getMIMEType(AbstractFileObject.java:147)
        at org.openide.filesystems.FileURL.getHeaderField(FileURL.java:173)
        at java.net.URLConnection.getContentType(URLConnection.java:377)
        at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:113)
        at
sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:251)
        at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:217)
        at sun.awt.image.ImageFetcher.run(ImageFetcher.java:185)
Comment 1 Svata Dedic 2001-02-08 15:52:59 UTC
Raising priority -- it occurs in about 3/5 cases on my workstation (Linux RedHat
6.1, KDE-2, Sun JDK-1.3.x)
Comment 2 Jesse Glick 2001-02-08 16:23:59 UTC
P3 at least.
Comment 3 rmatous 2001-02-09 13:12:59 UTC
I think this bug relates to #9462, that was already fixed. But for all that it
has no sense to use InputStream in MIMESupport if no resolvers are present. So
I fixed it.
Comment 4 Marian Mirilovic 2002-04-19 16:29:21 UTC
closed