[OS-JIRA] Created: (WOL-998) Ant build fails with NPE (Patch attached)

From: JIRA (Timo)
Date: Tue Apr 14 2009 - 08:27:17 EDT

  • Next message: Timo Hoepfner: "Re: [PATCH] Support"

    Ant build fails with NPE (Patch attached)
    -----------------------------------------

                     Key: WOL-998
                     URL: http://issues.objectstyle.org/jira/browse/WOL-998
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: woproject
        Affects Versions: AgentJ
             Environment: rev 5718
                Reporter: Timo Höpfner
                Priority: Blocker

    Ant builds using "wonder style" build scripts broken again.

    ...
    Caused by: java.lang.NullPointerException
            at org.objectstyle.woenvironment.frameworks.ExternalFrameworkModel.getRootForFolder(Unknown Source)
            at org.objectstyle.woproject.ant.FrameworkSet.getFrameworkRoot(Unknown Source)
            at org.objectstyle.woproject.ant.FrameworkSet.getJarsPath(Unknown Source)
            at org.objectstyle.woproject.ant.FrameworkSet.jarsPathForFrameworkSets(Unknown Source)
            at org.objectstyle.woproject.ant.WOCompile.execute(Unknown Source)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
            ... 54 more

    Patch attached (tested).

    This issue is related to WOL-988 and WOL-990.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Tue Apr 14 2009 - 08:28:43 EDT