Issue1394
Created on 2009-07-03.15:16:54 by tigerfishdaisy, last changed 2009-07-08.13:19:31 by tigerfishdaisy.
| File name |
Uploaded |
Description |
Edit |
Remove |
|
A.java
|
tigerfishdaisy,
2009-07-08.13:19:03
|
|
|
|
|
PyTest.py
|
tigerfishdaisy,
2009-07-08.13:19:17
|
|
|
|
|
Test.java
|
tigerfishdaisy,
2009-07-08.13:19:31
|
|
|
|
| msg4878 (view) |
Author: Ed (tigerfishdaisy) |
Date: 2009-07-03.15:16:54 |
|
Serialization of Jython objects that implement Serializable is bugged in
Java - across a new instance of the JVM.
Serializing and reading in from the same instance of the JVM works fine.
When reading in from a different instance of the JVM, the JVM throws an
exception about the Jython proxy class not being found.
|
| msg4889 (view) |
Author: Philip Jenvey (pjenvey) |
Date: 2009-07-08.00:53:23 |
|
Can you provide the output of the actual exception?
|
| msg4892 (view) |
Author: Ed (tigerfishdaisy) |
Date: 2009-07-08.13:19:03 |
|
OK... I've also added the Java/Python code that causes this problem.
Exception in thread "main" java.lang.ClassNotFoundException:
org.python.proxies.main$PyTest$0
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:621)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1592)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
at Test.main(Test.java:28)
|
|
| Date |
User |
Action |
Args |
| 2009-07-08 13:19:31 | tigerfishdaisy | set | files:
+ Test.java |
| 2009-07-08 13:19:17 | tigerfishdaisy | set | files:
+ PyTest.py |
| 2009-07-08 13:19:04 | tigerfishdaisy | set | files:
+ A.java messages:
+ msg4892 |
| 2009-07-08 00:53:23 | pjenvey | set | nosy:
+ pjenvey messages:
+ msg4889 |
| 2009-07-03 15:16:54 | tigerfishdaisy | create | |
|