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

NPE when creating document instance of a new document template

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Cannot Reproduce
    • None
    • r2.06.05 (m13 - rc6)
    • None
    • None

    Description

      created a new complex document template, fields: short text, text date, html field, integer, bool, text, resource.
      published all content
      created new document instance

      resulted in error. See two isolated stacktraces below.

      1)
      04.06.2009 12:31:34 ERROR [org.hippoecm.frontend.JcrObservationManager$JcrListener.process():667] Error occured when processing event
      java.lang.NullPointerException
      at org.hippoecm.frontend.plugin.impl.PluginContext.newCluster(PluginContext.java:74)
      at org.hippoecm.frontend.editor.editor.EditorForm.createTemplate(EditorForm.java:139)
      at org.hippoecm.frontend.editor.editor.EditorForm.<init>(EditorForm.java:95)
      at org.hippoecm.frontend.editor.editor.EditorPlugin.newForm(EditorPlugin.java:95)
      at org.hippoecm.frontend.editor.editor.EditorPlugin.onModelChanged(EditorPlugin.java:79)
      at org.apache.wicket.Component.modelChanged(Component.java:2105)
      at org.apache.wicket.Component.setModel(Component.java:2819)
      at org.apache.wicket.MarkupContainer.setModel(MarkupContainer.java:715)
      at org.hippoecm.frontend.service.render.AbstractRenderService.updateModel(AbstractRenderService.java:208)
      at org.hippoecm.frontend.service.render.AbstractRenderService$1.onEvent(AbstractRenderService.java:99)
      at org.hippoecm.frontend.model.event.ObservableRegistry$ObservationContext.notifyObservers(ObservableRegistry.java:76)
      at org.hippoecm.frontend.model.ModelReference.setModel(ModelReference.java:77)
      at org.hippoecm.frontend.plugins.cms.edit.CmsEditor$2.setModel(CmsEditor.java:126)
      at org.hippoecm.frontend.plugins.cms.edit.CmsEditor$2.onEvent(CmsEditor.java:144)
      at org.hippoecm.frontend.model.event.ObservableRegistry$ObservationContext.notifyObservers(ObservableRegistry.java:76)
      at org.hippoecm.frontend.model.event.JcrEventListener.onEvent(JcrEventListener.java:62)
      at org.hippoecm.frontend.JcrObservationManager$JcrListener.process(JcrObservationManager.java:662)
      at org.hippoecm.frontend.JcrObservationManager.processEvents(JcrObservationManager.java:832)
      at org.hippoecm.frontend.Home.processEvents(Home.java:146)
      at org.hippoecm.frontend.Main$6.processEvents(Main.java:293)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
      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:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Unknown Source)

      2) happened after updating a template:

      java.lang.NullPointerException
      at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.onEvent(EditorManagerPlugin.java:173)
      at org.hippoecm.frontend.model.event.ObservableRegistry$ObservationContext.notifyObservers(ObservableRegistry.java:76)
      at org.hippoecm.frontend.model.ModelReference.setModel(ModelReference.java:77)
      at org.hippoecm.frontend.plugins.standards.browse.BrowseService$DocumentModelService.updateModel(BrowseService.java:54)
      at org.hippoecm.frontend.plugins.standards.browse.BrowseService.updateDocumentModel(BrowseService.java:120)
      at org.hippoecm.frontend.plugins.standards.browse.BrowseService.browse(BrowseService.java:127)
      at org.hippoecm.frontend.plugins.standardworkflow.FolderWorkflowPlugin.select(FolderWorkflowPlugin.java:278)
      at org.hippoecm.frontend.plugins.standardworkflow.FolderWorkflowPlugin$4.execute(FolderWorkflowPlugin.java:235)
      at org.hippoecm.frontend.plugins.standardworkflow.FolderWorkflowPlugin$4.execute(FolderWorkflowPlugin.java:206)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction.execute(CompatibilityWorkflowPlugin.java:142)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction$WorkflowDialog.execute(CompatibilityWorkflowPlugin.java:216)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction$WorkflowDialog.onOk(CompatibilityWorkflowPlugin.java:201)
      at org.hippoecm.frontend.dialog.AbstractDialog.handleSubmit(AbstractDialog.java:500)
      at org.hippoecm.frontend.dialog.AbstractDialog$2.onSubmit(AbstractDialog.java:377)
      at org.hippoecm.frontend.dialog.AbstractDialog$ButtonWrapper$1.onSubmit(AbstractDialog.java:251)
      at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:86)
      at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128)
      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)
      at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
      at org.hippoecm.frontend.Main$6.processEvents(Main.java:287)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
      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:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Unknown Source)

      Attachments

        Activity

          People

            berry van halderen Berry van Halderen (Inactive)
            swesten Stephan Westen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: