0 Replies Latest reply on Jun 20, 2005 1:32 AM by Ben Livshits

    Applying aspects to Eclipse

    Ben Livshits Newbie

      I am trying to apply some aspects to Eclipse and consistently get the same exception when using load-time weaving. The exception has to do with output streams for the logs. It runs fine without JBoss, of course. But I really have no idea what goes wrong when aspects get applied.

      Any thoughts? Somebody else may have had the same problem.

      D:\eclipse>java -cp ".;startup.jar;./concurrent.jar;./javassist.jar;./jboss-aop.
      jar;./jboss-common.jar;./trove.jar" -Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader org.eclipse.core.launcher.Main -consolelog -consolelog -os win32 -arch x86
      
      An exception occurred while writing to the platform log:
      java.lang.NullPointerException
       at org.eclipse.core.launcher.Main.openLogFile(Main.java:1518)
       at org.eclipse.core.launcher.Main.log(Main.java:1374)
       at org.eclipse.core.launcher.Main.run(Main.java:717)
       at org.eclipse.core.launcher.Main.main(Main.java:688)
      Logging to the console instead.
      !ENTRY org.eclipse.core.launcher 4 0 Jun 19, 2005 22:24:47.711
      !MESSAGE Exception launching the Eclipse Platform:
      An exception occurred while writing to the platform log:
      java.lang.NullPointerException
       at org.eclipse.core.launcher.Main.openLogFile(Main.java:1518)
       at org.eclipse.core.launcher.Main.log(Main.java:1374)
       at org.eclipse.core.launcher.Main.run(Main.java:718)
       at org.eclipse.core.launcher.Main.main(Main.java:688)
      Logging to the console instead.
      !STACK
      java.lang.NullPointerException
       at org.eclipse.core.launcher.Main.getInstallLocation(Main.java:1035)
       at org.eclipse.core.launcher.Main.processConfiguration(Main.java:945)
       at org.eclipse.core.launcher.Main.basicRun(Main.java:167)
       at org.eclipse.core.launcher.Main.run(Main.java:704)
       at org.eclipse.core.launcher.Main.main(Main.java:688)