Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357542 - ClassCastException in update thread during EclipseLink JPA tests
Summary: ClassCastException in update thread during EclipseLink JPA tests
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Brian Vosburgh CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 14:57 EDT by Brian Vosburgh CLA
Modified: 2011-09-14 10:18 EDT (History)
1 user (show)

See Also:


Attachments
relevant CCE stacktrace (8.38 KB, text/plain)
2011-09-13 14:57 EDT, Brian Vosburgh CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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