2 Replies Latest reply on Oct 9, 2008 4:16 AM by camunda

    Added serialVersion to VariableContainer

    camunda

      Hi.

      I got an exception when I used the latest released jbpm-jpdl.jar together with jbpm-core-3.3.SNAPSHOT: stream classdesc serialVersionUID = 3959325234224601855, local class serialVersionUID = 520258491083406913

      So I added the "old" serialVersion to the class:

       private static final long serialVersionUID = 520258491083406913L;
      


      Cheers
      Bernd

        • 1. Re: Added serialVersion to VariableContainer
          tom.baeyens

          do you know this is the correct solution ?
          or is this just a random modification that fixed the problem ?

          i can't verify as i don't know the details of serial version uids. i only know it is more complicated then most people think it is :-)

          • 2. Re: Added serialVersion to VariableContainer
            camunda

            There was no serialVersionUid in the class, which is not a good idea I think...

            I added the serialVersionUid which was automatically generated in the old class (in jbpm 3.2), so jbpm 3.3 serialVersionUid should be compatible with jbpm 3.2 serialVersionUid...

            So in my eyes it is a correct solution (more correct would have been to add the versionUid at the beginning ;-))