Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.1
    • Component/s: Artifact Storage, Web UI
    • Labels:
      None
    • Environment:

      Windows XP SP2 with all updates
      Cygwin
      Sun JDK 1.6.0

      Description

      Because of some issues concerning wrong characters shown in a localized site report (see http://jira.codehaus.org/browse/MSITE-19) I downloaded the maven-site-plugin snapshot (precisely maven-site-plugin-2.0-20061215.144112-12.jar) and only changed one property file in it. An attempt to import the new snapshot via the web UI resulted in an internal error. The log file:

      2007-03-20 10:38:54,093 [ERROR] wicket.RequestCycle - Method onFormSubmitted of interface wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = importForm, page = org.artifactory.webapp.wicket.importexport.ImportExportPage, path = 1:importPanel:importForm.ImportPanel$1, isVisible = true, isVersioned = true]] threw an exception
      wicket.WicketRuntimeException: Method onFormSubmitted of interface wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = importForm, page = org.artifactory.webapp.wicket.importexport.ImportExportPage, path = 1:importPanel:importForm.ImportPanel$1, isVisible = true, isVersioned = true]] threw an exception
      at wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:197)
      at wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
      at wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:89)
      at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:968)
      at wicket.RequestCycle.step(RequestCycle.java:1041)
      at wicket.RequestCycle.steps(RequestCycle.java:1115)
      at wicket.RequestCycle.request(RequestCycle.java:456)
      at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:254)
      at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:124)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:77)
      at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:73)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:59)
      at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:73)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:186)
      ... 30 more
      Caused by: java.lang.NullPointerException
      at org.artifactory.repo.JcrRepo.importFolderFileByFile(JcrRepo.java:376)
      at org.artifactory.repo.JcrRepo.importFolder(JcrRepo.java:283)
      at org.artifactory.webapp.wicket.importexport.ImportPanel$1.onSubmit(ImportPanel.java:32)
      at wicket.markup.html.form.Form.delegateSubmit(Form.java:605)
      at wicket.markup.html.form.Form.onFormSubmitted(Form.java:348)
      ... 35 more

      Deploying the same file via "mvn deploy:deploy-file" works, however.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                freds Fred Simon
                Reporter:
                thorsten Thorsten Heit
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: