Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-67

InvalidClassException: org.jnp.interfaces.MarshalledValuePair

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • JBossAS-4.0.1 Final
    • JBossAS-4.0.0 Final
    • Naming
    • None

    Description

      The following exception is seen when a 4.0.1RC1 client talks to the 4.0.0 naming service:

      java.io.InvalidClassException: org.jnp.interfaces.MarshalledValuePair; local
      class incompatible: stream classdesc serialVersionUID = -6485622724173581497, local class serialVersionUID = -3403843515711139134

      The problem is due to the introduction of a serialVersionUID that is compatible with the 3.2.x version. Even though there has been no actual serializable incompatible changes, because the serialVersionUID has not been assigned any change in the class resulted in the implicit serialVersionUID changing. So even though the MarshalledValuePair is compatible with 4.0.1RC1 and 3.2.6, the lack of an explicit serialVersionUID to this effect has resulted in an incompatibility. At this point I don't think there is anyting that can be done about the 4.0.0 incompatiblity unless 3.2.x incompatibility is introduced.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            starksm64 Scott Stark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: