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

JFrog JIRA | Bernhard Riegel | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    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.

    JFrog JIRA | 9 years ago | 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
  2. 0

    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.

    JFrog JIRA | 9 years ago | 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
  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 3 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.artifactory.repo.JcrRepo.itemExists()
    2. org.artifactory.repo
      JcrRepo.itemExists
      1. org.artifactory.repo.JcrRepo.itemExists(JcrRepo.java:494)
      1 frame
    3. org.artifactory.webapp
      FileUploadForm.onSubmit
      1. org.artifactory.webapp.wicket.deploy.ArtifactForm.pomExists(ArtifactForm.java:350)
      2. org.artifactory.webapp.wicket.deploy.ArtifactForm.enable(ArtifactForm.java:167)
      3. org.artifactory.webapp.wicket.deploy.ArtifactForm.update(ArtifactForm.java:290)
      4. org.artifactory.webapp.wicket.deploy.DeployArtifactPanel.onFileSaved(DeployArtifactPanel.java:75)
      5. org.artifactory.webapp.wicket.components.FileUploadForm.onSubmit(FileUploadForm.java:103)
      5 frames
    4. Wicket Core
      Form.onFormSubmitted
      1. org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1275)
      2. org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:769)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. Wicket Core
      RequestListenerInterface.invoke
      1. org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:183)
      1 frame
    7. org.apache.wicket
      ListenerInterfaceRequestTarget.processEvents
      1. org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
      1 frame
    8. Wicket Request
      AbstractRequestCycleProcessor.processEvents
      1. org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90)
      1 frame
    9. Wicket Core
      WicketFilter.doFilter
      1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1094)
      2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1169)
      3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1245)
      4. org.apache.wicket.RequestCycle.request(RequestCycle.java:489)
      5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:354)
      6. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194)
      6 frames
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    11. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:170)
      2. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95)
      2 frames
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    13. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:83)
      2. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95)
      2 frames
    14. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      9 frames
    15. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame