Bug 414487 - J9 JVM and equonox weaving
Summary: J9 JVM and equonox weaving
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: LTWeaving (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-06 08:56 EDT by Paulo Henrique Leal CLA
Modified: 2013-08-28 16:14 EDT (History)
2 users (show)

See Also:


Attachments
Eclipse error log (389.96 KB, application/octet-stream)
2013-08-06 08:56 EDT, Paulo Henrique Leal CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paulo Henrique Leal CLA 2013-08-06 08:56:29 EDT
Created attachment 234113 [details]
Eclipse error log

After I install the AJDT 2.2.3 on Rational Software Archtect, every Editor displays the error: Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor
I am using the Rational Software Architect 9 with Eclipse 4.2.2. Used the link (http://download.eclipse.org/tools/ajdt/42/update) to install the AJDT.
Searching on the web I found this:http://www.eclipse.org/forums/index.php/t/74968/), but removing the Data Tools did not work for me. 
I also updated the Data Tools to 1.10.2, and yet not working.

I posted the problem on the AJDT forum (http://www.eclipse.org/forums/index.php/t/497338/) and Andrew Eisenberg discovered it was related to the J9 JVM I am using and the equonox weaving. When I disable the equonox weaving, the error is gone. He also suggested me to raise this bug.
Please find attached the error log from eclipse.
Comment 1 Simon Bouchard CLA 2013-08-06 13:32:00 EDT
I also came across the exact same problem this morning. I'm using Rational Application Developer 8.0.4 with AJDT 2.1.3, and the J9 JVM.

This is how the workaround we found:

1. uninstall AJDT
2. exit eclipse
3. restart eclipse with the -configuration switch (and specify a new configuration folder)
4. reinstall AJDT, and restart when prompted.
5. problem solved

Hope this helps!
Comment 2 Paulo Henrique Leal CLA 2013-08-06 16:04:56 EDT
Hi Simon,

Tryed your suggestion but it did not work. I believe I did everythink correct since the Configuration folder I created was used by the Eclipse. But unfortunately I go the same issue.
Comment 3 Paulo Henrique Leal CLA 2013-08-28 16:12:40 EDT
Hi,

Just installed the Rational Application Developer for Websphere V9 and installed the ajdt plugin and the problem does not appear. I think it may be related to one of the plugins present on the Rational Software Archtect but not on the RAD (and not on the J9 as previously suspected).
This problem also can be found on a previous version of RSA (8.0.4), but in that case, the tip on http://www.eclipse.org/forums/index.php/t/74968/ worked. So I imagine the problem can still be the Data Tools (a newer version, maybe).
I hope this helps.
Comment 4 Paulo Henrique Leal CLA 2013-08-28 16:14:01 EDT
Just for the record, the RAD 9 worked without the need of the changes Simon suggested