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

Regression: paste of URL pointing to document that no longer exists resulting in 500 server error / NullPointerException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Top
    • Resolution: Fixed
    • Affects Version/s: 2.26.00
    • Fix Version/s: 2.26.00-alpha-1, 2.26.00
    • Component/s: None
    • Labels:
    • Similar issues:
    • Sprint:
      Sprint 69

      Description

      The document 2014/12/nextgenfuels-2014 moved.
      When pasting in the browser:
      https://cms.gogreen78.test.onehippo.com/?path=/content/documents/hippogogreen/events/2014/12/nextgenfuels-2014

      Expected as in 7.8: For non existing document dasbboard is shown
      Actual: 500 server error.
      Stacktrace:
      [INFO] [talledLocalContainer] Caused by: java.lang.NullPointerException
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.model.JcrHelper.isNodeType(JcrHelper.java:58)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.reviewedactions.HippostdEditorFactoryPlugin.newEditor(HippostdEditorFactoryPlugin.java:61)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.reviewedactions.HippostdEditorFactoryPlugin.newEditor(HippostdEditorFactoryPlugin.java:44)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin$1.newEditor(EditorManagerPlugin.java:86)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.createEditor(EditorManagerPlugin.java:156)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.openPreview(EditorManagerPlugin.java:143)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.cms.root.PathInUrlController.browseTo(PathInUrlController.java:137)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.cms.root.PathInUrlController.onRequest(PathInUrlController.java:118)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.cms.root.UrlControllerBehavior.process(UrlControllerBehavior.java:98)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.cms.root.UrlControllerBehavior.respond(UrlControllerBehavior.java:78)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:626)

        Attachments

          Activity

            People

            • Assignee:
              abanck Arent-Jan Banck
              Reporter:
              abanck Arent-Jan Banck
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: