Re: NPE at startup of my woapps (again)

From: Chuck Hill (chil..lobal-village.net)
Date: Thu Aug 20 2009 - 12:05:34 EDT

  • Next message: Mike Schrag: "Re: NPE at startup of my woapps (again)"

    On Aug 20, 2009, at 9:01 AM, Nicolas Daniels wrote:

    > 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

    WOLips 3.4.x is for Eclipse 3.4.x, you need WOLips 3.5.x versions.
    Or, better, use Eclipse 3.4 as the Eclipse 3.5 support in WOLips is
    not yet 100% tested/done/happy.

    Chuck

    > (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
    >
    >
    >

    -- 
    Chuck Hill             Senior Consultant / VP Development
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Thu Aug 20 2009 - 12:06:28 EDT