continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael B?ckling (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (CONTINUUM-592) Adding a Build Definition to a project throws an NPE
Date Tue, 14 Feb 2006 12:52:47 GMT
Adding a Build Definition to a project throws an NPE
----------------------------------------------------

         Key: CONTINUUM-592
         URL: http://jira.codehaus.org/browse/CONTINUUM-592
     Project: Continuum
        Type: Bug

  Components: Core system  
 Environment: SuSE Linux 9.2
Maven 2.0.2
Continuum 1.0.3-SNAPHOT
    Reporter: Michael Böckling


Adding a Build Definitionwith a different Schedule to a project throws an NPE, while changing
the DEFAULT_SCHEDULE works, so there can only be a single Schedule per project.

Stacktrace:

ognl.MethodFailedException: Method "addBuildDefinition" failed for object org.apache.maven.continuum.DefaultContinuum@739aa3
[java.lang.NullPointerException]
    at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
    at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
    at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
    at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
    at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
    at ognl.SimpleNode.getValue(SimpleNode.java:210)
    at ognl.Ognl.getValue(Ognl.java:333)
    at ognl.Ognl.getValue(Ognl.java:378)
    at ognl.Ognl.getValue(Ognl.java:357)
    at org.apache.maven.continuum.web.action.CallApplicationModel.execute(CallApplicationModel.java:72)
    at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
    at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
    at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
    at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
    at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
    at org.mortbay.http.HttpServer.service(HttpServer.java:879)
    at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
/-- Encapsulated exception ------------\
java.lang.NullPointerException
    at org.apache.maven.continuum.DefaultContinuum.addBuildDefinition(DefaultContinuum.java:1083)
    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 ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
    at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
    at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
    at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
    at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
    at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
    at ognl.SimpleNode.getValue(SimpleNode.java:210)
    at ognl.Ognl.getValue(Ognl.java:333)
    at ognl.Ognl.getValue(Ognl.java:378)
    at ognl.Ognl.getValue(Ognl.java:357)
    at org.apache.maven.continuum.web.action.CallApplicationModel.execute(CallApplicationModel.java:72)
    at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
    at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
    at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
    at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
    at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
    at org.mortbay.http.HttpServer.service(HttpServer.java:879)
    at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
\--------------------------------------/ 

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


Mime
View raw message