XMLWordPrintable

Details

    • Tiger Sprint 119

    Description

      After creating a custom imageset (following the exercise in the training) and uploading a new image, there are some NPEs thrown:

      [INFO] [talledLocalContainer] 17.11.2015 11:38:04 ERROR http-nio-8080-exec-3 [ImageCropPlugin.<init>:89] Cannot retrieve dimensions of original or thumbnail image
      [INFO] [talledLocalContainer] java.lang.NullPointerException
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.gallery.editor.ImageCropPlugin.<init>(ImageCropPlugin.java:84)
      [INFO] [talledLocalContainer] 	at sun.reflect.GeneratedConstructorAccessor126.newInstance(Unknown Source)
      [INFO] [talledLocalContainer] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      [INFO] [talledLocalContainer] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFactory.java:69)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:84)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:328)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:125)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.plugins.field.FieldItem.<init>(FieldItem.java:102)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.plugins.field.TemplateController.addModel(TemplateController.java:93)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.plugins.field.TemplateController.start(TemplateController.java:65)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.plugins.field.AbstractFieldPlugin.onBeforeRender(AbstractFieldPlugin.java:312)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.plugins.field.NodeFieldPlugin.onBeforeRender(NodeFieldPlugin.java:129)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.beforeRender(Component.java:1017)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1684)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.onBeforeRender(Component.java:3833)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.beforeRender(Component.java:1017)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1684)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.onBeforeRender(Component.java:3833)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:143)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:115)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.beforeRender(Component.java:1017)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1684)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.onBeforeRender(Component.java:3833)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.service.render.AbstractRenderService.onBeforeRender(AbstractRenderService.java:543)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.beforeRender(Component.java:1017)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1684)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.onBeforeRender(Component.java:3833)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.markup.html.form.Form.onBeforeRender(Form.java:1784)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.beforeRender(Component.java:1017)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1684)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.onBeforeRender(Component.java:3833)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.service.render.AbstractRenderService.onBeforeRender(AbstractRenderService.java:543)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.beforeRender(Component.java:1017)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1684)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.onBeforeRender(Component.java:3833)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.service.render.AbstractRenderService.onBeforeRender(AbstractRenderService.java:543)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.beforeRender(Component.java:1017)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1684)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.onBeforeRender(Component.java:3833)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.service.render.AbstractRenderService.onBeforeRender(AbstractRenderService.java:543)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.beforeRender(Component.java:1017)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.internalPrepareForRender(Component.java:2201)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.prepareForRender(Component.java:2240)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.ajax.XmlAjaxResponse.writeComponent(XmlAjaxResponse.java:107)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.ajax.AbstractAjaxResponse.writeComponents(AbstractAjaxResponse.java:218)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.ajax.AbstractAjaxResponse.writeTo(AbstractAjaxResponse.java:150)
      [INFO] [talledLocalContainer] 	at org.apache.wicket.ajax.AjaxRequestHandler.respond(AjaxRequestHandler.java:359)
      [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.PluginRequestTarget.respond(PluginRequestTarget.java:150)
      [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.RequestHandlerStack.execute(RequestHandlerStack.java:97)
      [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)
      

      also see screenshot

      steps:

      1. archetype project
      2. upload image
      3. add custom imageset
      4. add custom variants
      5. use beanwriter
      6. open image in CMS

      Attachments

        1. extra-login-warning.png
          50 kB
          Bert Leunis
        2. nullpointer.png
          296 kB
          William Borg Barthet

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wborgbarthet William Borg Barthet
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: