Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357542

Summary: ClassCastException in update thread during EclipseLink JPA tests
Product: [WebTools] Dali JPA Tools Reporter: Brian Vosburgh <brian.vosburgh>
Component: JPAAssignee: Brian Vosburgh <brian.vosburgh>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: neil.hauge
Version: unspecified   
Target Milestone: 3.1 M2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
relevant CCE stacktrace none

Description Brian Vosburgh CLA 2011-09-13 14:57:44 EDT
Created attachment 203286 [details]
relevant CCE stacktrace

Numerous ClassCastExceptions occur during the execution of the EclipseLink JPA tests. All the tests pass; as the exceptions occur in the JPA project update, are handled and logged, and do not affect any of the expected results. The exceptions show up in the tests' console.
Comment 1 Brian Vosburgh CLA 2011-09-13 15:00:06 EDT
The CCE occurs because we are trying to cast a JavaNullTypeMapping to EclipseLinkTypeMapping. We need to add a type check, since the null type mappings are to be expected.
Comment 2 Brian Vosburgh CLA 2011-09-13 16:03:05 EDT
fix checked into HEAD