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

NPE in BlueprintStore.getTotal()

    XMLWordPrintable

    Details

    • Similar issues:

      Description

      Probably because some config is missing. Still shouldn't throw a NPE. Maybe a warning log message would be fine.

      29.08.2013 11:45:01 ERROR [org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin():88] java.lang.NullPointerException: null
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFactory.java:70)
      at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:84)
      at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:326)
      at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:125)
      at org.hippoecm.frontend.plugin.loader.PluginClusterLoader.start(PluginClusterLoader.java:61)
      at org.hippoecm.frontend.plugin.impl.PluginContext.connect(PluginContext.java:310)
      at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:86)
      at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:326)
      at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:125)
      at org.hippoecm.frontend.PluginPage.<init>(PluginPage.java:94)
      at org.hippoecm.frontend.PluginPage.<init>(PluginPage.java:62)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:192)
      at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57)
      at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
      at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
      at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
      at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:39)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      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:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:891)
      at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:750)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2282)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:724)
      Caused by: java.lang.NullPointerException
      at org.onehippo.cms7.channelmanager.channels.BlueprintStore.getTotal(BlueprintStore.java:58)
      at org.onehippo.cms7.channelmanager.channels.BlueprintStore.isEmpty(BlueprintStore.java:64)
      at org.onehippo.cms7.channelmanager.RootPanel.<init>(RootPanel.java:109)
      at org.onehippo.cms7.channelmanager.ChannelManagerPerspective.<init>(ChannelManagerPerspective.java:77)
      ... 49 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jsheriff Junaidh Kadhar Sheriff
                Reporter:
                bvdschans Bart van der Schans (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: