APAR status
Closed as program error.
Error description
Error Message: java.lang.ClassCastException: com.sun.tools.jdi.ObjectReferenceImpl incompatible with com.sun.tools.jdi.ThreadReferenceImpl . Stack Trace: Exception in thread "event-handler" java.lang.ClassCastException: com.sun.tools.jdi.ObjectReferenceImpl incompatible with com.sun.tools.jdi.ThreadReferenceImpl at com.sun.tools.jdi.VirtualMachineImpl.threadMirror(VirtualMachine Impl.java:1362) at com.sun.tools.jdi.PacketStream.readThreadReference(PacketStream. java:458) at com.sun.tools.jdi.JDWP$Event$Composite$Events$MethodEntry.<init> (JDWP.java:7597) at com.sun.tools.jdi.JDWP$Event$Composite$Events.<init>(JDWP.java:7 394) at com.sun.tools.jdi.JDWP$Event$Composite.<init>(JDWP.java:8453) at com.sun.tools.jdi.EventSetImpl.build(EventSetImpl.java:620) at com.sun.tools.jdi.EventQueueImpl.removeUnfiltered(EventQueueImpl .java:223) at com.sun.tools.jdi.EventQueueImpl.remove(EventQueueImpl.java:108) at com.sun.tools.jdi.EventQueueImpl.remove(EventQueueImpl.java:94) at com.sun.tools.example.trace.EventThread.run(EventThread.java:93) Exception in thread "JDI Internal Event Handler" java.lang.ClassCastException: com.sun.tools.jdi.ObjectReferenceImpl incompatible with com.sun.tools.jdi.ThreadReferenceImpl at com.sun.tools.jdi.VirtualMachineImpl.threadMirror(VirtualMachine Impl.java:1362) at com.sun.tools.jdi.PacketStream.readThreadReference(PacketStream. java:458) at com.sun.tools.jdi.JDWP$Event$Composite$Events$MethodEntry.<init> (JDWP.java:7597) at com.sun.tools.jdi.JDWP$Event$Composite$Events.<init>(JDWP.java:7 394) at com.sun.tools.jdi.JDWP$Event$Composite.<init>(JDWP.java:8453) at com.sun.tools.jdi.EventSetImpl.build(EventSetImpl.java:620) at com.sun.tools.jdi.EventQueueImpl.removeUnfiltered(EventQueueImpl .java:223) at com.sun.tools.jdi.EventQueueImpl.removeInternal(EventQueueImpl.j ava:136) at com.sun.tools.jdi.InternalEventHandler.run(InternalEventHandler. java:66) at java.lang.Thread.run(Thread.java:780) .
Local fix
Problem summary
The problem is caused when a thread java method under debugging is returning a thread reference, but the debugger will receive a object reference.
Problem conclusion
This defect will be fixed in: 7.0.0 SR4 6.0.0 SR13 6.0.1 SR5 . JDWP module has been updated to produce accurate type information for return type of method.
Temporary fix
Comments
APAR Information
APAR number
IV35456
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-01-17
Closed date
2013-01-17
Last modified date
2013-02-06
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
JAVA CLASS LIBS
Fixed component ID
620700130
Applicable component levels
R700 PSY
UP
R600 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Document Information
Modified date:
21 February 2022