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 2792 - Changing selection in the Packages panel of the Object Browser may cause an exception.
Summary: Changing selection in the Packages panel of the Object Browser may cause an e...
Status: CLOSED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All Linux
: P4 normal (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-07-27 02:16 UTC by Marian Petras
Modified: 2003-07-02 16:00 UTC (History)
0 users

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 Marian Petras 1999-07-27 02:16:01 UTC
[IAN] Probably caused by old filesystem.atttributes files...

Changing selection in the Packages panel of the Object Browser may cause
the following exception:

java.io.StreamCorruptedException: Caught EOFException while reading the stream header
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:727)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:165)
        at org.openide.util.io.NbObjectInputStream.<init>(NbObjectInputStream.java:46)
        at org.openide.filesystems.DefaultAttributes.loadTable(DefaultAttributes.java:365)
        at org.openide.filesystems.DefaultAttributes.load(DefaultAttributes.java:328)
        at org.openide.filesystems.DefaultAttributes.loadTable(DefaultAttributes.java:308)
        at org.openide.filesystems.DefaultAttributes.readAttribute(DefaultAttributes.java:130)
        at org.openide.filesystems.AbstractFileObject.getAttribute(AbstractFileObject.java:299)
        at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:340)
        at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:316)
        at org.openide.loaders.DataObject.find(DataObject.java:402)
        at com.netbeans.developer.modules.loaders.java.JavaParser.createInputStream(JavaParser.java:183)
        at com.netbeans.developer.modules.loaders.java.JavaParser.<init>(JavaParser.java:128)
        at com.netbeans.developer.modules.loaders.java.JavaParser.<init>(JavaParser.java:117)

        at com.netbeans.developer.modules.loaders.java.SourceElementImpl$ParsingRunnable.run(SourceElementImpl.java:625)
        at org.openide.util.Task.run(Task.java:125)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:379)
Comment 1 Marek Grummich 2000-07-25 09:27:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 16:00:37 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.