facebook

AJDT and MyEclipse not compatible?

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #211524 Reply

    ruettimac
    Member

    Hi,

    I added today the aspectj nature to my project and wanted to add a simple loggin aspect. But After adding the the aspectj nature, eclipse goes wild and complains about problems, get very very slow and sometimes freezes.

    Following an excerpt of the .log:

    !ENTRY org.eclipse.osgi Aug 04, 2004 22:58:05.646
    !MESSAGE While loading class "de.bb.bje.eclipse.support.Config", thread "Thread-1" timed out waiting (5000ms) for thread "Worker-7" to finish starting bundle "de.bb.bje.eclipse". To avoid deadlo
    ck, thread "Thread-1" is proceeding but "de.bb.bje.eclipse.support.Config" may not be fully initialized.
    !STACK 0
    java.lang.Exception: Generated exception.
            at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:102)
            at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:371)
            at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
            at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:93)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at de.bb.bje.eclipse.BejyPlugin.startup(Unknown Source)
            at de.bb.bje.eclipse.BejyPlugin.earlyStartup(Unknown Source)
            at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:81)
            at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:68)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:1283)
            at java.lang.Thread.run(Thread.java:552)
    
    !ENTRY org.eclipse.osgi Aug 04, 2004 22:58:10.668
    !MESSAGE While loading class "de.bb.bje.eclipse.support.A", thread "Thread-1" timed out waiting (5000ms) for thread "Worker-7" to finish starting bundle "de.bb.bje.eclipse". To avoid deadlock, t
    hread "Thread-1" is proceeding but "de.bb.bje.eclipse.support.A" may not be fully initialized.
    !STACK 0
    java.lang.Exception: Generated exception.
            at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:102)
            at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:371)
            at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
            at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:93)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at de.bb.bje.eclipse.BejyPlugin.startup(Unknown Source)
            at de.bb.bje.eclipse.BejyPlugin.earlyStartup(Unknown Source)
            at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:81)
            at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:68)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:1283)
            at java.lang.Thread.run(Thread.java:552)
    
    !ENTRY org.eclipse.osgi Aug 04, 2004 22:58:15.675
    !MESSAGE While loading class "de.bb.bje.eclipse.support.ShadowPrefs", thread "Thread-1" timed out waiting (5000ms) for thread "Worker-7" to finish starting bundle "de.bb.bje.eclipse". To avoid d
    eadlock, thread "Thread-1" is proceeding but "de.bb.bje.eclipse.support.ShadowPrefs" may not be fully initialized.
    !STACK 0
    java.lang.Exception: Generated exception.
            at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:102)
            at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:371)
            at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
            at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:93)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at de.bb.bje.eclipse.BejyPlugin.getPreferenceStore(Unknown Source)
            at de.bb.bje.eclipse.BejyPlugin.<C4><81>(Unknown Source)
            at de.bb.bje.eclipse.BejyPlugin.startup(Unknown Source)
            at de.bb.bje.eclipse.BejyPlugin.earlyStartup(Unknown Source)
            at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:81)
            at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:68)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:1283)
            at java.lang.Thread.run(Thread.java:552)
    
    !ENTRY org.eclipse.osgi Aug 04, 2004 22:58:20.693
    !MESSAGE While loading class "de.bb.bje.eclipse.editors.annotation.AnnotationPreferenceConstants", thread "Thread-1" timed out waiting (5000ms) for thread "Worker-7" to finish starting bundle "d
    e.bb.bje.eclipse". To avoid deadlock, thread "Thread-1" is proceeding but "de.bb.bje.eclipse.editors.annotation.AnnotationPreferenceConstants" may not be fully initialized.
    !STACK 0
    java.lang.Exception: Generated exception.
            at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:102)
            at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:371)
            at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
            at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:93)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at de.bb.bje.eclipse.BejyPlugin.<C4><81>(Unknown Source)
            at de.bb.bje.eclipse.BejyPlugin.startup(Unknown Source)
            at de.bb.bje.eclipse.BejyPlugin.earlyStartup(Unknown Source)
            at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:81)
            at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:68)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:1283)
            at java.lang.Thread.run(Thread.java:552)
    
    !ENTRY org.eclipse.osgi Aug 04, 2004 22:58:25.751
    !MESSAGE While loading class "de.bb.bje.eclipse.IncrementalJspBuilder", thread "Thread-1" timed out waiting (5000ms) for thread "Worker-7" to finish starting bundle "de.bb.bje.eclipse". To avoid
     deadlock, thread "Thread-1" is proceeding but "de.bb.bje.eclipse.IncrementalJspBuilder" may not be fully initialized.
    !STACK 0
    java.lang.Exception: Generated exception.
            at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:102)
            at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:371)
            at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
            at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:93)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at de.bb.bje.eclipse.BejyPlugin.startup(Unknown Source)
            at de.bb.bje.eclipse.BejyPlugin.earlyStartup(Unknown Source)
            at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:81)
            at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:68)
            at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
            at org.eclipse.core.runtime.Platform.run(Platform.java:747)
            at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:1283)
            at java.lang.Thread.run(Thread.java:552)
    
    !ENTRY org.eclipse.ui.ide 4 4 Aug 04, 2004 23:01:04.725
    !MESSAGE Error accessing marker type
    
    !ENTRY org.eclipse.core.resources 4 376 Aug 04, 2004 23:01:04.893
    !MESSAGE Marker id: 29678 not found.
    
    !ENTRY org.eclipse.ui.ide 4 4 Aug 04, 2004 23:01:04.898
    !MESSAGE Error accessing marker type
    
    !ENTRY org.eclipse.core.resources 4 376 Aug 04, 2004 23:01:04.902
    !MESSAGE Marker id: 29678 not found.
    
    !ENTRY org.eclipse.ui.ide 4 4 Aug 04, 2004 23:01:04.906
    !MESSAGE Error accessing marker type
    
    !ENTRY org.eclipse.core.resources 4 376 Aug 04, 2004 23:01:04.909
    !MESSAGE Marker id: 29678 not found.
    
    !ENTRY org.eclipse.ui.ide 4 4 Aug 04, 2004 23:01:04.933
    !MESSAGE Error accessing marker type
    
    !ENTRY org.eclipse.core.resources 4 376 Aug 04, 2004 23:01:04.937
    !MESSAGE Marker id: 29678 not found.
    
    !ENTRY org.eclipse.ui.ide 4 4 Aug 04, 2004 23:01:39.753
    !MESSAGE Error accessing marker type
    
    !ENTRY org.eclipse.core.resources 4 376 Aug 04, 2004 23:01:39.756
    !MESSAGE Marker id: 29696 not found.
    
    !ENTRY org.eclipse.ui.ide 4 4 Aug 04, 2004 23:01:39.758
    !MESSAGE Error accessing marker type
    
    !ENTRY org.eclipse.core.resources 4 376 Aug 04, 2004 23:01:39.759
    !MESSAGE Marker id: 29696 not found.
    
    !ENTRY org.eclipse.ui.ide 4 4 Aug 04, 2004 23:01:39.761
    !MESSAGE Error accessing marker type
    
    !ENTRY org.eclipse.core.resources 4 376 Aug 04, 2004 23:01:39.763
    !MESSAGE Marker id: 29696 not found.
    
    !ENTRY org.eclipse.ui.ide 4 4 Aug 04, 2004 23:01:39.765
    !MESSAGE Error accessing marker type
    
    !ENTRY org.eclipse.core.resources 4 376 Aug 04, 2004 23:01:39.767
    !MESSAGE Marker id: 29696 not found.
    
    !ENTRY org.eclipse.ui.ide 4 4 Aug 04, 2004 23:01:40.314
    !MESSAGE Error accessing marker type
    
    !ENTRY org.eclipse.core.resources 4 376 Aug 04, 2004 23:01:40.316
    !MESSAGE Marker id: 29696 not found.
    
    !ENTRY org.eclipse.ui.ide 4 4 Aug 04, 2004 23:01:40.318
    !MESSAGE Error accessing marker type
    
    !ENTRY org.eclipse.core.resources 4 376 Aug 04, 2004 23:01:40.321
    !MESSAGE Marker id: 29696 not found.
    
    !ENTRY org.eclipse.ui.ide 4 4 Aug 04, 2004 23:01:40.323
    !MESSAGE Error accessing marker type
    
    !ENTRY org.eclipse.core.resources 4 376 Aug 04, 2004 23:01:40.354
    !MESSAGE Marker id: 29696 not found.
    
    !ENTRY org.eclipse.ui.ide 4 4 Aug 04, 2004 23:01:40.357
    !MESSAGE Error accessing marker type
    
    !ENTRY org.eclipse.core.resources 4 376 Aug 04, 2004 23:01:40.358
    !MESSAGE Marker id: 29696 not found.
    
    !ENTRY org.eclipse.ui 4 4 Aug 04, 2004 23:10:15.399
    !MESSAGE Unhandled event loop exception

    Just after adding the aspectj nature, the first error occures immediately:

    An internal error occured during: "Build configuration update
    
    java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/MyUsers
    at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:58)
    at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJob.java:106)
    at org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java:200)
    at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:80)
    at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:170)
    at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:95)
    at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1628)
    at org.eclipse.core.internal.resources.File.setContents(File.java:330)
    at org.eclipse.core.internal.resources.File.setContents(File.java:423)
    at org.eclipse.ajdt.buildconfigurator.editor.BuildProperties.writeFile(BuildProperties.java:319)
    at org.eclipse.ajdt.buildconfigurator.editor.BuildProperties.updateSourceFolders(BuildProperties.java:553)
    at org.eclipse.ajdt.buildconfigurator.BuildConfiguration.updateSourceFolders(BuildConfiguration.java:584)
    at org.eclipse.ajdt.buildconfigurator.UpdateJob.classpathChanged(UpdateJob.java:113)
    at org.eclipse.ajdt.buildconfigurator.UpdateJob.run(UpdateJob.java:67)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
    

    Setup:

    MacOS X 10.3, JDK 1.4.2, MyEclipse IDE 3.8 Beta2, Spring IDE 1.0.3, AJDT 1.1.11

    Regards,

    Cyrill

    #211529 Reply

    Riyad Kalla
    Member

    Cyrill,
    I don’t know what is going on here but am hesitant to start having you troubleshoot it because in 3.8 GA (maybe a week, week and a half off) we are getting entirely new JSP Editor (along with pretty much every other editor) which will negate the BJE plugin that is currently causing you a headache… would you be able to wait that long to try again?

    #211549 Reply

    innovate
    Participant

    Riyad,

    That could solve the problem, that the JSP-CC stucks and spinns for about 2-3 minutes and blocks Eclipse. But in my opinion, this is not the only reason. If I add the aspectj nature, the project will be compiled with the aspectj compiler and not any longer with the eclipse compiler. You add your builders (J2EE) and I am not sure if they respect this situation with the swapped compiler or something like that.

    Cyrill

    #211569 Reply

    Riyad Kalla
    Member

    Cyrill,
    Let me ask the devs just incase this is a bug.

    #211582 Reply

    Scott Anderson
    Participant

    We know about this issue and it will be fixed in the 3.8 GA release. Thanks for taking the time to report it.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: AJDT and MyEclipse not compatible?

You must be logged in to post in the forum log in