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

Xinha plugin throws NPE when no compareTo.model is configured

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • r2.17.02
    • None
    • None

    Description

      The Xinha plugin throws an NPE when no compareTo.model is configured.

      java.lang.NullPointerException
      at org.hippoecm.frontend.plugins.xinha.XinhaNodePlugin.getContentModel(XinhaNodePlugin.java:247)
      at org.hippoecm.frontend.plugins.xinha.XinhaNodePlugin.newCompareModel(XinhaNodePlugin.java:105)
      at org.hippoecm.frontend.plugins.xinha.AbstractXinhaPlugin.createPreview(AbstractXinhaPlugin.java:151)
      at org.hippoecm.frontend.plugins.xinha.XinhaNodePlugin.createPreview(XinhaNodePlugin.java:187)
      ...

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            fvlankvelt Frank van Lankvelt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: