Bug 325527 - No way to call a method entityManager.merge(x);
Summary: No way to call a method entityManager.merge(x);
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: IDE (show other bugs)
Version: 1.6.10   Edit
Hardware: PC Windows Vista
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 16:32 EDT by Ed Pichler CLA
Modified: 2013-06-24 11:05 EDT (History)
1 user (show)

See Also:


Attachments
Two methods, two ways, two errors. (35.10 KB, image/jpeg)
2010-09-16 16:32 EDT, Ed Pichler CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Pichler CLA 2010-09-16 16:32:10 EDT
Created attachment 179070 [details]
Two methods, two ways, two errors.
Comment 1 Andrew Clement CLA 2010-10-25 12:23:38 EDT
not much to go on here, triage for 1.6.11.

Are the errors in the editor or in the problems view? (if just the former it is an AJDT reconciling issue and not an AspectJ issue).
Comment 2 Ed Pichler CLA 2010-10-25 12:30:12 EDT
The errors are in the editor.
Both ways show an class cast exception.

No way to pass and compile:

In merge1() method editor said that the object is a EntityCrudAspect, and in merge2() method, editor said that the expected object is a Address object.

If I put one of them, the editor ask another.
Comment 3 Andrew Clement CLA 2010-10-25 13:58:45 EDT
Can you include the classcastexception stack trace?
Comment 4 Ed Pichler CLA 2010-10-25 14:01:49 EDT
I'm sorry, I dont saved it. =\
Comment 5 Andrew Clement CLA 2013-06-24 11:05:32 EDT
unsetting the target field which is currently set for something already released