Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-9412

Regression - Unable to upload image/asset in CMS

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.28.03
    • CMS-10.0-GA, 2.28.03
    • None
    • Tiger Sprint 107

    Description

      1. Login to CMS
      2. Navigate to Content >> Select to Images >> Select any folder
      3. Try to upload one or multiple image

      Expected: Image/s is/are uploaded
      Actual: Image/s is/are not uploaded (refer screenshot), below exceptions are shown in terminal. (the issue happens in gogreen & plain archetype)

      exceptions
           [echo] Press Ctrl-C to stop the Cargo container...
      [INFO] [talledLocalContainer] 29.06.2015 14:30:56 WARN  http-nio-8080-exec-2 [ResourceReferenceRegistry.addDefaultResourceReference:359] A ResourceReference wont be created for a resource with key [scope: org.hippoecm.frontend.skin.Icon; name: images/loader/ajax-loader.png.64px; locale: null; style: null; variation: null] because it cannot be located.
      [INFO] [talledLocalContainer] 29.06.2015 14:32:03 ERROR http-nio-8080-exec-9 [DefaultExceptionMapper.mapUnexpectedExceptions:170] Unexpected error occurred
      [INFO] [talledLocalContainer] org.apache.wicket.WicketRuntimeException: Method onRequest of interface org.apache.wicket.behavior.IBehaviorListener targeted at org.hippoecm.frontend.plugins.jquery.upload.multiple.FileUploadWidget$1@63be3d43 on component [FileUploadWidget [Component id = uploadPanel]] threw an exception
      [INFO] [talledLocalContainer] 	at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:268)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:250)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:236)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
      [INFO] [talledLocalContainer] 	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
      [INFO] [talledLocalContainer] 	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
      [INFO] [talledLocalContainer] 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
      [INFO] [talledLocalContainer] 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
      [INFO] [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      [INFO] [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      [INFO] [talledLocalContainer] 	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      [INFO] [talledLocalContainer] 	at java.lang.Thread.run(Thread.java:745)
      [INFO] [talledLocalContainer] Caused by: java.lang.reflect.InvocationTargetException
      [INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [INFO] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [INFO] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [INFO] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:483)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
      [INFO] [talledLocalContainer] 	... 32 more
      [INFO] [talledLocalContainer] Caused by: java.lang.NoClassDefFoundError: org/apache/commons/compress/archivers/ArchiveException
      [INFO] [talledLocalContainer] 	at org.apache.tika.parser.pkg.ZipContainerDetector.detectArchiveFormat(ZipContainerDetector.java:109)
      [INFO] [talledLocalContainer] 	at org.apache.tika.parser.pkg.ZipContainerDetector.detect(ZipContainerDetector.java:74)
      [INFO] [talledLocalContainer] 	at org.apache.tika.detect.CompositeDetector.detect(CompositeDetector.java:61)
      [INFO] [talledLocalContainer] 	at org.apache.tika.Tika.detect(Tika.java:133)
      [INFO] [talledLocalContainer] 	at org.apache.tika.Tika.detect(Tika.java:161)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.yui.upload.MagicMimeTypeFileItem.resolveMimeType(MagicMimeTypeFileItem.java:46)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.yui.upload.MagicMimeTypeFileItem.getContentType(MagicMimeTypeFileItem.java:55)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.markup.html.form.upload.FileUpload.getContentType(FileUpload.java:188)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.yui.upload.validation.DefaultUploadValidationService.validateMimeType(DefaultUploadValidationService.java:153)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.yui.upload.validation.DefaultUploadValidationService$$Lambda$10/1254047455.validate(Unknown Source)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.yui.upload.validation.DefaultUploadValidationService.validate(DefaultUploadValidationService.java:95)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.jquery.upload.AbstractFileUploadWidget.process(AbstractFileUploadWidget.java:70)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.jquery.upload.multiple.FileUploadWidget.access$100(FileUploadWidget.java:43)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.jquery.upload.multiple.FileUploadWidget$1.process(FileUploadWidget.java:82)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.jquery.upload.behaviors.AjaxFileUploadBehavior.onRequest(AjaxFileUploadBehavior.java:89)
      [INFO] [talledLocalContainer] 	... 37 more
      
      

      Attachments

        Issue Links

          Activity

            People

              pgupta Pankaj Gupta (Inactive)
              jsheriff Junaidh Kadhar Sheriff
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: