Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - 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

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.22.02, 2.23.01
    • 2.22.03, 2.23.02
    • None
    • None

    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

            wko Woonsan Ko (Inactive)
            wko Woonsan Ko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: