It's not a secret anymore!*
The moose likes Servlets and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "" Watch "" New topic

Manojkr Jadhav

Joined: Sep 05, 2009
Posts: 7
I have some problem in bean. please help me.

core.vehicleData; local class incompatible: stream classdesc serialVersionUID = -7875838657909631410, local class serialVersionUID = 6244843110542957975

java.lang.ClassFormatError: Unknown constant tag 0 in class file fleetvigil/core/vehicleData
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at Source)
at Source)
at$100(Unknown Source)
at$ Source)
at Method)
at Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at Source)
at Source)
at Source)
at Source)
at Source)
at Source)
at java.util.Hashtable.readObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at Source)
at Source)
at Source)
at Source)
at Source)
at aowspl.type2.VehicleLabels.<init>(
at aowspl.type2.MWin.<init>(
at aowspl.type2.Splasher.init(
at Source)
at Source)

Anirvan Majumdar
Ranch Hand

Joined: Feb 22, 2005
Posts: 261
Seems to be a serialisation problem. By any chance are you serialising an instance of vehicleData and de-serialising at some place else? 'cause if that's so, the place where you're deserialising seems to have a different version of the class vehicleData than the one which has been serialised.
I agree. Here's the link:
Similar Threads
Logging problem log4j:ERROR
Problem with jasper report -loading stream
InvalidClassException while Retrieving the serialized object
JasperReport problem