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.
[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)
Raising priority -- it occurs in about 3/5 cases on my workstation (Linux RedHat 6.1, KDE-2, Sun JDK-1.3.x)
P3 at least.
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.
closed