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 2577 - The attached stub causes StreamCorruptedException. It is common for all components (class) which has the code generation set to "Serialize"
Summary: The attached stub causes StreamCorruptedException. It is common for all compo...
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-07-20 00:02 UTC by Jan Palka
Modified: 2008-12-23 11:53 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 Jan Palka 1999-07-20 00:02:10 UTC
I have serialized a stub from rmiregistry and  when I try to load the .ser (also the node cannot be parsed)
I have got the 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.loaders.InstanceSupport$1$OIS.<init>(InstanceSupport.java:380)
        at org.openide.loaders.InstanceSupport.readClass(InstanceSupport.java:391)
        at org.openide.loaders.InstanceSupport.instanceClass(InstanceSupport.java:106)
        at com.netbeans.developer.modules.loaders.clazz.ClassDataObject.initCookies(ClassDataObject.java:105)
        at com.netbeans.developer.modules.loaders.clazz.ClassDataObject.getCookie(ClassDataObject.java:124)
        at com.netbeans.developer.modules.loaders.clazz.ClassDataNode.initialize(ClassDataNode.java:105)
        at com.netbeans.developer.modules.loaders.clazz.ClassDataNode.<init>(ClassDataNode.java:90)
        at com.netbeans.developer.modules.loaders.clazz.SerDataNode.<init>(SerDataNode.java:48)
        at com.netbeans.developer.modules.loaders.clazz.SerDataObject.createNodeDelegate(SerDataObject.java:58)
        at org.openide.loaders.DataObject.getNodeDelegate(DataObject.java:231)
        at org.openide.loaders.DataObject.getClonedNodeDelegate(DataObject.java:245)
        at org.openide.loaders.FolderChildren.createNodes(FolderChildren.java:113)
        at org.openide.nodes.Children$1$Updator.run(Children.java:1212)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:156)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:285)
        at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Comment 1 Marek Grummich 2000-07-25 09:41:59 UTC
Priority is changed to P4 (normal).