org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = uploadForm, page = org.artifactory.webapp.wicket.deploy.DeployArtifactPage, path = 38:deployArtifactPanel:uploadForm.FileUploadForm, isVisible = true, isVersioned = false]] threw an exception

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When uploading a *.jar file for deploy into the private-internal-repository via the webinterface, an "internal error" results, see artifactory.log below. Uploading of a *.pom file works fine (but renaming a *.jar to *.pom yields the same error). The error occurs on different browsers (IE6 and firefox2 tested) and with different jar-files. We directly access tomcat via http-connector (we have disabled intermediate apache instances as well as proxies). In a previous setup with Tomcat 5.5 on sles9/32bit running the same artifactory version 1.2.5u1 this worked fine. 2008-10-02 10:46:51,879 [DEBUG] artifactory.jcr.JcrHelper - Created session: org.apache.jackrabbit.core.XASessionImpl@23b35955. 2008-10-02 10:46:51,879 [DEBUG] artifactory.jcr.JcrHelper - Binding session: org.apache.jackrabbit.core.XASessionImpl@23b35955. 2008-10-02 10:46:52,285 [ERROR] apache.wicket.RequestCycle - Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = uploadForm, page = org.artifactory.webapp.wicket.deploy.DeployArtifactPage, path = 38:deployArtifactPanel:uploadForm.FileUploadForm, isVisible = true, isVersioned = false]] threw an exception org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = uploadForm, page = org.artifactory.webapp.wicket.deploy.DeployArtifactPage, path = 38:deployArtifactPanel:uploadForm.FileUploadForm, isVisible = true, isVersioned = false]] threw an exception at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:194) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1094) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1169) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1245) at org.apache.wicket.RequestCycle.request(RequestCycle.java:489) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:354) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:170) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:83) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95) 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:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.reflect.InvocationTargetException 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:597) at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:183) ... 29 more Caused by: java.lang.IllegalStateException: Unable to write file to '/prj/hudsondevel/tomcat/temp/artifactory-uploads'. at org.artifactory.webapp.wicket.components.FileUploadForm.onSubmit(FileUploadForm.java:107) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1275) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:769) ... 34 more Caused by: java.lang.NullPointerException at org.artifactory.repo.JcrRepo.itemExists(JcrRepo.java:494) at org.artifactory.webapp.wicket.deploy.ArtifactForm.pomExists(ArtifactForm.java:350) at org.artifactory.webapp.wicket.deploy.ArtifactForm.enable(ArtifactForm.java:167) at org.artifactory.webapp.wicket.deploy.ArtifactForm.update(ArtifactForm.java:290) at org.artifactory.webapp.wicket.deploy.DeployArtifactPanel.onFileSaved(DeployArtifactPanel.java:75) at org.artifactory.webapp.wicket.components.FileUploadForm.onSubmit(FileUploadForm.java:103) ... 36 more 2008-10-02 10:46:52,297 [DEBUG] wicket.deploy.ArtifactForm - Cleaning up deployment resources.
    via by Bernhard Riegel,
  • When uploading a *.jar file for deploy into the private-internal-repository via the webinterface, an "internal error" results, see artifactory.log below. Uploading of a *.pom file works fine (but renaming a *.jar to *.pom yields the same error). The error occurs on different browsers (IE6 and firefox2 tested) and with different jar-files. We directly access tomcat via http-connector (we have disabled intermediate apache instances as well as proxies). In a previous setup with Tomcat 5.5 on sles9/32bit running the same artifactory version 1.2.5u1 this worked fine. 2008-10-02 10:46:51,879 [DEBUG] artifactory.jcr.JcrHelper - Created session: org.apache.jackrabbit.core.XASessionImpl@23b35955. 2008-10-02 10:46:51,879 [DEBUG] artifactory.jcr.JcrHelper - Binding session: org.apache.jackrabbit.core.XASessionImpl@23b35955. 2008-10-02 10:46:52,285 [ERROR] apache.wicket.RequestCycle - Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = uploadForm, page = org.artifactory.webapp.wicket.deploy.DeployArtifactPage, path = 38:deployArtifactPanel:uploadForm.FileUploadForm, isVisible = true, isVersioned = false]] threw an exception org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = uploadForm, page = org.artifactory.webapp.wicket.deploy.DeployArtifactPage, path = 38:deployArtifactPanel:uploadForm.FileUploadForm, isVisible = true, isVersioned = false]] threw an exception at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:194) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1094) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1169) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1245) at org.apache.wicket.RequestCycle.request(RequestCycle.java:489) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:354) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:170) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:83) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95) 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:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.reflect.InvocationTargetException 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:597) at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:183) ... 29 more Caused by: java.lang.IllegalStateException: Unable to write file to '/prj/hudsondevel/tomcat/temp/artifactory-uploads'. at org.artifactory.webapp.wicket.components.FileUploadForm.onSubmit(FileUploadForm.java:107) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1275) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:769) ... 34 more Caused by: java.lang.NullPointerException at org.artifactory.repo.JcrRepo.itemExists(JcrRepo.java:494) at org.artifactory.webapp.wicket.deploy.ArtifactForm.pomExists(ArtifactForm.java:350) at org.artifactory.webapp.wicket.deploy.ArtifactForm.enable(ArtifactForm.java:167) at org.artifactory.webapp.wicket.deploy.ArtifactForm.update(ArtifactForm.java:290) at org.artifactory.webapp.wicket.deploy.DeployArtifactPanel.onFileSaved(DeployArtifactPanel.java:75) at org.artifactory.webapp.wicket.components.FileUploadForm.onSubmit(FileUploadForm.java:103) ... 36 more 2008-10-02 10:46:52,297 [DEBUG] wicket.deploy.ArtifactForm - Cleaning up deployment resources.
    via by Bernhard Riegel,
    • org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = uploadForm, page = org.artifactory.webapp.wicket.deploy.DeployArtifactPage, path = 38:deployArtifactPanel:uploadForm.FileUploadForm, isVisible = true, isVersioned = false]] threw an exception at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:194) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1094) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1169) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1245) at org.apache.wicket.RequestCycle.request(RequestCycle.java:489) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:354) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:170) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:83) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95) 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:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.reflect.InvocationTargetException 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:597) at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:183) ... 29 more Caused by: java.lang.IllegalStateException: Unable to write file to '/prj/hudsondevel/tomcat/temp/artifactory-uploads'. at org.artifactory.webapp.wicket.components.FileUploadForm.onSubmit(FileUploadForm.java:107) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1275) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:769) ... 34 more Caused by: java.lang.NullPointerException at org.artifactory.repo.JcrRepo.itemExists(JcrRepo.java:494) at org.artifactory.webapp.wicket.deploy.ArtifactForm.pomExists(ArtifactForm.java:350) at org.artifactory.webapp.wicket.deploy.ArtifactForm.enable(ArtifactForm.java:167) at org.artifactory.webapp.wicket.deploy.ArtifactForm.update(ArtifactForm.java:290) at org.artifactory.webapp.wicket.deploy.DeployArtifactPanel.onFileSaved(DeployArtifactPanel.java:75) at org.artifactory.webapp.wicket.components.FileUploadForm.onSubmit(FileUploadForm.java:103) ... 36 more
    No Bugmate found.