Bug 325527

Summary: No way to call a method entityManager.merge(x);
Product: [Tools] AspectJ Reporter: Ed Pichler <duduzerah>
Component: IDEAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: blocker    
Priority: P3 CC: aclement
Version: 1.6.10   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Two methods, two ways, two errors. none

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