Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-1714

HST Component Invoker had better log the location of invoked component even at WARN or higher level

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.22.02, 2.23.01
    • Fix Version/s: 2.22.03, 2.23.02
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      Currently, HST Component Invoker component leaves logs like the following when an invoked component throws an exception:

      04.08.2011 20:16:25 WARN [org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeBeforeRender():156] Component exception caught on window results with component com.onehippo.gogreen.components.products.Overview: java.lang.NullPointerException

      I think it would be better if the logging shows where the NPE happens in the component class, instead of the logging location of HSTComponentInvokerImpl.

        Attachments

          Activity

            People

            • Assignee:
              wko Woonsan Ko
              Reporter:
              wko Woonsan Ko
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: