Announcement Announcement Module
Collapse
No announcement yet.
STS 3.0 on Eclipse 4.2/3.8: AspectJ Load-Time Weaving Application Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • STS 3.0 on Eclipse 4.2/3.8: AspectJ Load-Time Weaving Application

    Dear Community,

    are there any known problems with STS 3.0, AJDT 2.2.1 on Eclipse Juno (4.2 or 3.8)?

    An "AspectJ load-time Weaving App" launch configuration that worked in Eclipse Helios wirh STS 2.5.0 and AJDT 2.1.1 does not work anymore on Eclipse Juno 4.2 or 3.8. I'm running on Win 7 with JDK 6u35.

    Here is the error I get on the console when trying to launch the configuration:

    Code:
    Error occurred during initialization of VM
    java.lang.IllegalStateException: recursive invocation
    	at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1336)
    	at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1319)
    	at sun.security.jca.ProviderConfig$1.run(ProviderConfig.java:64)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.security.jca.ProviderConfig.getLock(ProviderConfig.java:62)
    	at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
    	at sun.security.jca.ProviderList.getProvider(ProviderList.java:215)
    	at sun.security.jca.ProviderList.getService(ProviderList.java:313)
    	at sun.security.jca.GetInstance.getInstance(GetInstance.java:140)
    	at java.security.cert.CertificateFactory.getInstance(CertificateFactory.java:148)
    	at sun.security.pkcs.PKCS7.parseSignedData(PKCS7.java:244)
    	at sun.security.pkcs.PKCS7.parse(PKCS7.java:141)
    	at sun.security.pkcs.PKCS7.parse(PKCS7.java:110)
    	at sun.security.pkcs.PKCS7.<init>(PKCS7.java:92)
    	at sun.security.util.SignatureFileVerifier.<init>(SignatureFileVerifier.java:80)
    	at java.util.jar.JarVerifier.processEntry(JarVerifier.java:267)
    	at java.util.jar.JarVerifier.update(JarVerifier.java:199)
    	at java.util.jar.JarFile.initializeVerifier(JarFile.java:323)
    	at java.util.jar.JarFile.getInputStream(JarFile.java:388)
    	at sun.misc.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:692)
    	at sun.misc.Resource.cachedInputStream(Resource.java:61)
    	at sun.misc.Resource.getByteBuffer(Resource.java:144)
    	at java.net.URLClassLoader.defineClass(URLClassLoader.java:256)
    	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:247)
    	at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2071)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1344)
    	at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1319)
    In the log file of the workspace I see this exception:

    Code:
    !MESSAGE Servers does not exist
    !STACK 1
    Java Model Exception: Java Model Status [Servers does not exist]
    	at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException(JavaElement.java:495)
    	at org.eclipse.jdt.internal.core.JavaModelManager.getPerProjectInfoCheckExistence(JavaModelManager.java:2285)
    	at org.eclipse.jdt.internal.core.JavaProject.getPerProjectInfo(JavaProject.java:1907)
    	at org.eclipse.jdt.internal.core.JavaProject.getOutputLocation(JavaProject.java:1734)
    	at org.eclipse.jdt.internal.launching.RuntimeClasspathEntry.getLocation(RuntimeClasspathEntry.java:435)
    	at org.eclipse.ajdt.internal.launching.LTWApplicationLaunchConfigurationDelegate.generateAOPConfigFiles(LTWApplicationLaunchConfigurationDelegate.java:164)
    	at org.eclipse.ajdt.internal.launching.LTWApplicationLaunchConfigurationDelegate.launch(LTWApplicationLaunchConfigurationDelegate.java:75)
    	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)
    	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:704)
    	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1047)
    	at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1251)
    	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Any clues what's going on?

    Please let me know if you need more information.

    Thanks,
    Holger

  • #2
    It looks like you are hitting this bug:

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=387842

    Please upgrade to AJDT 2.2.1. The update site should already be included in STS inside of Help -> Install new software. If it's not there, just add it:

    http://download.eclipse.org/tools/ajdt/42/update/

    Comment


    • #3
      I upgraded from
      AJDT 2.2.1.e42x-20120725-1900 (delivered with STS 3.0)
      to
      AJDT 2.2.1.e42x-RELEASE-20120921-1400
      and it fixed the problem!

      Thanks for your help,
      Holger

      Comment

      Working...
      X