IBM Support

PM04594: SUB CLASS OF VECTOR OVERRIDING CLONE() CAN NOT BE SERIALIZED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Serialization of instances of java.util.Vector
    which can not be cloned. This is the case when a detached entity
     with an uninitialized one-to-many relation is tranfered via rem
    ote business interface.
    .
    Stack Trace: java.lang.UnsupportedOperationException
     at com.kn.pmr.IndirectList.clone(IndirectList.java:16)
     at java.util.Vector.writeObject(Vector.java:1066)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:48)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:600)
     at
    java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.ja
    va:957)
     at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.ja
    va:1470)
     at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStrea
    m.java:1401)
     at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:
    1159)
     at
    java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream
    .java:1518)
     at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.ja
    va:1483)
     at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStrea
    m.java:1401)
     at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:
    1159)
     at
    java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:3
    32)
     at
    com.kn.pmr.DetachedSerializationTest.testDetachtedSerialization(
    DetachedSerializationTest.java:22)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:48)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:600)
     at
    org.junit.internal.runners.TestMethodRunner.executeMethodBody(Te
    stMethodRunner.java:99)
     at
    org.junit.internal.runners.TestMethodRunner.runUnprotected(TestM
    ethodRunner.java:81)
     at
    org.junit.internal.runners.BeforeAndAfterRunner.runProtected(Bef
    oreAndAfterRunner.java:34)
     at
    org.junit.internal.runners.TestMethodRunner.runMethod(TestMethod
    Runner.java:75)
     at
    org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner
    .java:45)
     at
    org.junit.internal.runners.TestClassMethodsRunner.invokeTestMeth
    od(TestClassMethodsRunner.java:71)
     at
    org.junit.internal.runners.TestClassMethodsRunner.run(TestClassM
    ethodsRunner.java:35)
     at
    org.junit.internal.runners.TestClassRunner$1.runUnprotected(Test
    ClassRunner.java:42)
     at
    org.junit.internal.runners.BeforeAndAfterRunner.runProtected(Bef
    oreAndAfterRunner.java:34)
     at
    org.junit.internal.runners.TestClassRunner.run(TestClassRunner.j
    ava:52)
     at
    org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(J
    Unit4TestReference.java:38)
     at
    org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExec
    ution.java:38)
     at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
    RemoteTestRunner.java:460)
     at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
    RemoteTestRunner.java:673)
     at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(Remot
    eTestRunner.java:386)
     at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(Remo
    teTestRunner.java:196)
    .
    

Local fix

Problem summary

  • See Error Description
    

Problem conclusion

  • Java 6 SR7 which contains this fix will be in Rational
    Application Developer 7.5.5.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM04594

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-07

  • Closed date

    2010-04-01

  • Last modified date

    2010-04-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R750 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
01 April 2010