[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-classpath] [Bug classpath/22870] New: deserialisation fails on non-
From: |
mark at gcc dot gnu dot org |
Subject: |
[bug-classpath] [Bug classpath/22870] New: deserialisation fails on non-classpath object. |
Date: |
7 Aug 2005 19:46:53 -0000 |
I tried to deserialize a stream coming from a Sun JVM (which means a good
stream) and got this exception:
java.lang.ClassNotFoundException: pvr/net/ServiceEvent
at java.lang.VMClassLoader.loadClass (Native Method)
at java.lang.Class.forName (Class.java:210)
at java.io.ObjectInputStream.resolveClass (ObjectInputStream.java:749)
at java.io.ObjectInputStream.readClassDescriptor (ObjectInputStream.java:530)
at java.io.ObjectInputStream.readObject (ObjectInputStream.java:228)
at java.io.ObjectInputStream.readObject (ObjectInputStream.java:275)
at pvr.net.IPV4Master$IPV4Connection.send (IPV4Master.java:887)
...6 more
Some printlines in the ObjectInputStream.java told me that the class.forName
was called with a 'null' as classloader, which IIRC is not going to find
classes that are in my classpath. (right?)
Which makes the bug that the currentLoader() method returned null.
I ran using jamvm 1.2.4 and current classpath CVS.
------- Additional Comments From from-classpath at savannah dot gnu dot org
2005-05-18 07:38 -------
Whee; this bug seems to be solved as my P2P software now works fine :)
Please close bug.
------- Additional Comments From mark at gcc dot gnu dot org 2005-08-07 19:46
-------
Closed on request from submitter.
--
Summary: deserialisation fails on non-classpath object.
Product: classpath
Version: unspecified
Status: RESOLVED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: from-classpath at savannah dot gnu dot org
CC: bug-classpath at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22870
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-classpath] [Bug classpath/22870] New: deserialisation fails on non-classpath object.,
mark at gcc dot gnu dot org <=