NPE at startup of my woapps (again)

From: Nicolas Daniels (nicolas.daniel..wing.be)
Date: Thu Aug 20 2009 - 12:01:31 EDT

  • Next message: Chuck Hill: "Re: NPE at startup of my woapps (again)"

    Hmmm, I had some problems with my mails yesterday, I don't know if my
    send worked, so I send it again, sorry if you have already received it.

    -->

    Hi all,

    I have freshly installed Eclipse 3.5.0 with WOLips stable build
    3.4.5924 (from the update site) and I can't get my WO-apps to start.
    Every timeI launch a WOApp, I get the following error:

    java.lang.NullPointerException
        at
    org.objectstyle.wolips.jdt.classpath.model.EclipseDependency.getSystemRoot(EclipseDependency.java:63)
        at
    org.objectstyle.woenvironment.frameworks.Dependency.isAppleProvided(Unknown
    Source)
        at
    org.objectstyle.woenvironment.frameworks.DependencyOrdering.orderDependencies(Unknown

    Source)
        at
    org.objectstyle.wolips.launching.classpath.WORuntimeClasspathProvider.resolveClasspath(WORuntimeClasspathProvider.java:112)
        at
    org.eclipse.jdt.internal.launching.RuntimeClasspathProvider.resolveClasspath(RuntimeClasspathProvider.java:60)
        at
    org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspath(JavaRuntime.java:1205)
        at
    org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getClasspath(AbstractJavaLaunchConfigurationDelegate.java:417)
        at
    org.objectstyle.wolips.launching.delegates.WOJavaLocalApplicationLaunchConfigurationDelegate.getClasspath(WOJavaLocalApplicationLaunchConfigurationDelegate.java:125)
        at
    org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:71)
        at
    org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
        at
    org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
        at
    org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)
        at
    org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    My environment variables NEXT_ROOT and NEXT_SYSTEM_ROOT are set.

    I have tried to delete my launch config and recreate it without any
    change. I've also tried to create a new empty WOProject, and the same
    error occurred.
    This is also happening with the today wolips nightly build.

    If I use the wolips version 3.3.5640, my wo application can start but
    the WOD/Html view is not working anymore (which seems to be normal with
    this eclipse version).

    My configuration:
    Eclipse 3.5.0 - WOLips/M2Eclipse
    JDK 1.6 update 16 (64 bits)
    OS: Win VISTA 64 bits Ultimate

    Any ideas?

    Thanks,
    Nicolas



    This archive was generated by hypermail 2.0.0 : Thu Aug 20 2009 - 12:02:16 EDT