Uploaded image for project: '[Read Only] - Hippo Archetype'
  1. [Read Only] - Hippo Archetype
  2. ARCHE-226

NPE when editing and saving an already existing news document

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 1.05.04, 1.06.01
    • 1.06.02
    • None

    Description

      To re-produce:
      1- Go to the CMS URL
      2- Enter valid username and password
      3- Click/Press the 'login' button
      4- You should login successfully
      5- Now browse to the documents and pick any news document
      6- Edit the document
      7- Then click 'Save & Close'

      Expected: The document is saved and be ready to being published with no errors
      Actual: - See photo

      • Also this stack trace of a NPE
        [INFO] [talledLocalContainer] 10.05.2012 18:39:46 ERROR [org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin():90] java.lang.NullPointerException: null
        [INFO] [talledLocalContainer] java.lang.reflect.InvocationTargetException
        [INFO] [talledLocalContainer] 	at sun.reflect.GeneratedConstructorAccessor89.newInstance(Unknown Source)
        [INFO] [talledLocalContainer] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        [INFO] [talledLocalContainer] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFactory.java:72)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:87)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:320)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:126)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.viewer.ComparePlugin.createTemplate(ComparePlugin.java:103)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.viewer.ComparePlugin.onModelChanged(ComparePlugin.java:76)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.modelChanged(Component.java:2255)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.viewer.ComparePlugin.onStart(ComparePlugin.java:65)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.service.render.RenderPlugin.start(RenderPlugin.java:81)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginContext.connect(PluginContext.java:304)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:89)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:320)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:126)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.AbstractCmsEditor.start(AbstractCmsEditor.java:312)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.HippostdPublishableEditor.start(HippostdPublishableEditor.java:447)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.AbstractCmsEditor.setMode(AbstractCmsEditor.java:168)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.HippostdPublishableEditor.refresh(HippostdPublishableEditor.java:511)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.refresh(EditorManagerPlugin.java:193)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.PluginPage.processEvents(PluginPage.java:149)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:101)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1252)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.RequestCycle.step(RequestCycle.java:1331)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1438)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.RequestCycle.request(RequestCycle.java:546)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.ResourceRewriteFilter.doFilter(ResourceRewriteFilter.java:129)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:56)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:589)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
        [INFO] [talledLocalContainer] 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        [INFO] [talledLocalContainer] 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
        [INFO] [talledLocalContainer] 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        [INFO] [talledLocalContainer] 	at java.lang.Thread.run(Thread.java:662)
        [INFO] [talledLocalContainer] Caused by: java.lang.NullPointerException
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.plugins.field.AbstractFieldPlugin.<init>(AbstractFieldPlugin.java:174)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin.<init>(PropertyFieldPlugin.java:62)
        [INFO] [talledLocalContainer] 	... 48 more
        [INFO] [talledLocalContainer] 10.05.2012 18:39:46 ERROR [org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin():90] java.lang.NullPointerException: null
        [INFO] [talledLocalContainer] java.lang.reflect.InvocationTargetException
        [INFO] [talledLocalContainer] 	at sun.reflect.GeneratedConstructorAccessor92.newInstance(Unknown Source)
        [INFO] [talledLocalContainer] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        [INFO] [talledLocalContainer] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFactory.java:72)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:87)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:320)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:126)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.viewer.ComparePlugin.createTemplate(ComparePlugin.java:103)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.viewer.ComparePlugin.onModelChanged(ComparePlugin.java:76)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.Component.modelChanged(Component.java:2255)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.viewer.ComparePlugin.onStart(ComparePlugin.java:65)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.service.render.RenderPlugin.start(RenderPlugin.java:81)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginContext.connect(PluginContext.java:304)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:89)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:320)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:126)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.AbstractCmsEditor.start(AbstractCmsEditor.java:312)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.HippostdPublishableEditor.start(HippostdPublishableEditor.java:447)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.AbstractCmsEditor.setMode(AbstractCmsEditor.java:168)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.HippostdPublishableEditor.refresh(HippostdPublishableEditor.java:511)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.refresh(EditorManagerPlugin.java:193)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.PluginPage.processEvents(PluginPage.java:149)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:101)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1252)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.RequestCycle.step(RequestCycle.java:1331)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1438)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.RequestCycle.request(RequestCycle.java:546)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
        [INFO] [talledLocalContainer] 	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.ResourceRewriteFilter.doFilter(ResourceRewriteFilter.java:129)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:56)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:589)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        [INFO] [talledLocalContainer] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
        [INFO] [talledLocalContainer] 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        [INFO] [talledLocalContainer] 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
        [INFO] [talledLocalContainer] 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        [INFO] [talledLocalContainer] 	at java.lang.Thread.run(Thread.java:662)
        [INFO] [talledLocalContainer] Caused by: java.lang.NullPointerException
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.plugins.field.AbstractFieldPlugin.<init>(AbstractFieldPlugin.java:174)
        [INFO] [talledLocalContainer] 	at org.hippoecm.frontend.editor.plugins.field.NodeFieldPlugin.<init>(NodeFieldPlugin.java:56)
        [INFO] [talledLocalContainer] 	... 48 more
        [INFO] [talledLocalContainer] 10.05.2012 18:39:46 WARN  [org.hippoecm.hst.core.container.BaseCmsRestValve.logWarning():77] No CMS REST credentials found!
        [INFO] [talledLocalContainer] 10.05.2012 18:39:46 WARN  [org.hippoecm.hst.core.container.BaseCmsRestValve.logWarning():77] Security context not found!
        [INFO] [talledLocalContainer] 10.05.2012 18:39:46 WARN  [org.hippoecm.hst.core.container.BaseCmsRestValve.logWarning():77] No CMS REST credentials found!
        [INFO] [talledLocalContainer] 10.05.2012 18:39:46 WARN  [org.hippoecm.hst.core.container.BaseCmsRestValve.logWarning():77] Security context not found!
        [INFO] [talledLocalContainer] 10.05.2012 18:39:48 INFO  [org.onehippo.cms7.autoexport.Exporter.exportContentResource():101] Exporting content/documents/myhippoproject/news.xml to module content
        

      Attachments

        Activity

          People

            svoortman Simon Voortman (Inactive)
            mnour Mohammad Nour (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: