Serialisation bug with abstract classes
Christian Stuellenberg
gcj@stuellenberg.de
Mon Dec 22 09:46:00 GMT 2003
>>>>> "CS" == Christian Stuellenberg <gcj@stuellenberg.de> writes:
Hello again,
CS> Hello all, I think I found a bug in the
CS> serialisation/deserialisation of objects that inherit from an
CS> abstract class.
I could even reproduce the behaviour with 'gij -cp test10.jar test10.ConcreteElement'
act1
java.lang.NullPointerException
at _ZN4java4lang11VMThrowable16fillInStackTraceEPNS0_9ThrowableE (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _ZN4java4lang9Throwable16fillInStackTraceEv (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _ZN4java4lang9ThrowableC1EPNS0_6StringE (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _ZN4java4lang9ThrowableC1Ev (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _ZN4java4lang9ExceptionC1Ev (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _ZN4java4lang16RuntimeExceptionC1Ev (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _ZN4java4lang20NullPointerExceptionC1Ev (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _Jv_AllocObject (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _Z10_Jv_selectiP6fd_setS0_S0_P7timeval (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _ZN16_Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _ZN16_Jv_InterpMethod3runEPvP7ffi_raw (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _ZN16_Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_ (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _ZN16_Jv_InterpMethod3runEPvP7ffi_raw (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _ZN16_Jv_InterpMethod9run_classEP7ffi_cifPvP7ffi_rawS2_ (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _ZN3gnu3gcj7runtime11FirstThread9call_mainEv (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _ZN3gnu3gcj7runtime11FirstThread3runEv (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _Z13_Jv_ThreadRunPN4java4lang6ThreadE (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at _Z11_Jv_RunMainPN4java4lang5ClassEPKciPS4_b (/site.opt/gcc-3.4/lib/libgcj.so.4.0.0)
at main (/home/rubber/Work/WorkingDirectory/e3m/../../../gcc-3.4-20031210/libjava/gij.cc:167)
at __libc_start_main (/lib/libc.so.6)
at _start (Unknown Source)
Christian
More information about the Java
mailing list