[jdom-interest] Sorry for this post
Andres March
Andres at ehealthcontracts.com
Fri May 24 09:24:44 PDT 2002
I probably should have included the trace:
java.io.InvalidClassException: org.jdom.Document; Local class not compatible: stream classdesc serialVersionUID=607431889463202798 local class serialVersionUID=389033246719444877
at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:518) at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:562) at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:931) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231) at java.util.HashMap.readObject(HashMap.java:835) at java.lang.reflect.Method.invoke(Native Method) at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231) at com.ehc.util.Conduit.receiveObject(Conduit.java:326) at com.ehc.util.ServletTunnel.getResponse(ServletTunnel.java:94) at com.ehc.util.ServletTunnel.invoke(ServletTunnel.java:130) at com.ehc.ui.session.AppEnvironment.communicateToServlet(AppEnvironment.java:491) at com.ehc.ui.session.AppEnvironment.getDocument(AppEnvironment.java:358) at com.ehc.ui.session.AppEnvironment.getActivity(AppEnvironment.java:330) at com.ehc.ui.navigation.Navigator.setNavigation(Navigator.java:402) at com.ehc.ui.navigation.Navigator.setNavigation(Navigator.java:391) at com.ehc.ui.EHCApplet.initializeNavigator(EHCApplet.java:903) at com.ehc.ui.EHCApplet.init(EHCApplet.java:851) at com.ehc.ui.EHCApplet.main(EHCApplet.java:1213)
-----Original Message-----
From: Andres March
Sent: Friday, May 24, 2002 9:07 AM
To: jdom
Subject: [jdom-interest] Sorry for this post
In advance. I'm sorry but I've tried everything else. At least it
relates to JDOM.
I am using JBuilder and have set up the jdk to be the same one I use on
the command line. When I compile on the command line I get a class with
a different serialversionUID than when I compile in JBuilder. It gets
weirder. When I set debugging compiler option on in JBuilder, the class
that has the wrong versionUID is Document but when I have the compiler
option -XDebug off it is ContentLIst that has the wrong versionUID.
Now, I can't believe that compiling on the command line could produce
incorrect results, but why would compiler options change the versionUI
of one of JDOMs classes. This does not happen to any of my other
classes. I am going to throw my laptop out the window soon. Am I just
stupid or something?
I'm using jdk 1.3.1-b24 in both cases. If anybody can help, it might
save a laptop's life.
-Andres
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list