jabox/jabox — Issue #3: error when creating a project
Author: spiddy
Created: 2011-10-28 19:10:00+00:00
State: open

In : "Create Project"
When I try ti create a project, the html error page is displayed
(message bellow) + tomcat log (message bellow).
After that, when I display "Manage Project" page I can see project
information.

=======================================================================
html error page is displayed :
-----------------------------------------------------------------------
Unexpected RuntimeException
Last cause: null
WicketMessage: Method onFormSubmitted of interface
org.apache.wicket.markup.html.form.IFormSubmitListener targeted at
[ [Component id = form]] on component [ [Component id = form]] threw
an exception
Stacktrace
Root cause:
java.lang.NullPointerException
at
org.jabox.application.MavenConfigureCiManagement.getCiManagement(MavenConfigureCiManagement.java:
69)
at
org.jabox.application.MavenConfigureCiManagement.injectCIS(MavenConfigureCiManagement.java:
58)
at
org.jabox.application.CreateProjectUtil.createProjectMethod(CreateProjectUtil.java:
118)
at
org.jabox.application.CreateProjectUtil.createProject(CreateProjectUtil.java:
63)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.wicket.proxy.LazyInitProxyFactory
$JdkHandler.invoke(LazyInitProxyFactory.java:416)
at org.apache.wicket.proxy.$Proxy245.createProject(Unknown Source)
at org.jabox.webapp.pages.project.CreateProject
$1.onSubmit(CreateProject.java:67)
at org.apache.wicket.markup.html.form.Form$10.component(Form.java:
1155)
at org.apache.wicket.markup.html.form.Form$10.component(Form.java:
1150)
at
org.apache.wicket.util.visit.Visits.visitPostOrderHelper(Visits.java:
273)
at org.apache.wicket.util.visit.Visits.visitPostOrder(Visits.java:244)
at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:
1148)
at org.apache.wicket.markup.html.form.Form.process(Form.java:804)
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:
728)
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:
670)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:
260)
at
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:
216)
at
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:
180)
at
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:
166)
at org.apache.wicket.request.cycle.RequestCycle
$HandlerExecutor.respond(RequestCycle.java:712)
at
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:
63)
at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:
208)
at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:
251)
at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:
162)
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:
218)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
291)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
859)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
489)
at java.lang.Thread.run(Thread.java:619)

Complete stack:

org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of
interface org.apache.wicket.markup.html.form.IFormSubmitListener
targeted at [ [Component id = form]] on component [ [Component id =
form]] threw an exception
at
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:
270)
at
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:
216)
at
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:
180)
at
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:
166)
at org.apache.wicket.request.cycle.RequestCycle
$HandlerExecutor.respond(RequestCycle.java:712)
at
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:
63)
at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:
208)
at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:
251)
at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:
162)

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:
260)
at
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:
216)
at
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:
180)
at
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:
166)
at org.apache.wicket.request.cycle.RequestCycle
$HandlerExecutor.respond(RequestCycle.java:712)
at
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:
63)
at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:
208)
at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:
251)
at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:
162)
-----------------------------------------------------------------------
tomcat log :
-----------------------------------------------------------------------
connectors: :[org.apache.wicket:wicket-archetype-quickstart:1.3.3,
org.apache.wicket:wicket-archetype-quickstart:1.4.12,
org.apache.maven.archetypes:maven-archetype-quickstart:1.1,
org.apache.maven.archetypes:maven-archetype-site:1.1,
org.apache.maven.archetypes:maven-archetype-site-simple:1.1,
org.apache.maven.archetypes:maven-archetype-webapp:1.0]
Using SCM: Subversion
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:2.1:generate (default-cli) @
standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.1:generate (default-cli) @
standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:2.1:generate (default-cli) @
standalone-pom ---
[INFO] Generating project in Batch mode
[INFO] Archetype repository missing. Using the one from
[org.apache.wicket:wicket-archetype-quickstart:1.5.1] found in catalog
remote
[INFO]
----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Old (1.x)
Archetype: wicket-archetype-quickstart:1.3.3
[INFO] ...