Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1112

ExceptionRecognizerComposite cannot self-inject its dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • core-1.8.0
    • 1.9.0
    • Core, Viewer Wicket
    • None

    Description

      Since today I've faced this NPE for a second time:

      java.lang.NullPointerException
      at org.apache.isis.applib.services.exceprecog.ExceptionRecognizerComposite.injectServicesIfNecessary(ExceptionRecognizerComposite.java:120)
      at org.apache.isis.applib.services.exceprecog.ExceptionRecognizerComposite.recognize(ExceptionRecognizerComposite.java:79)
      at org.apache.isis.viewer.wicket.viewer.integration.wicket.WebRequestCycleForIsis.errorPageFor(WebRequestCycleForIsis.java:184)
      at org.apache.isis.viewer.wicket.viewer.integration.wicket.WebRequestCycleForIsis.errorPageProviderFor(WebRequestCycleForIsis.java:157)
      at org.apache.isis.viewer.wicket.viewer.integration.wicket.WebRequestCycleForIsis.onException(WebRequestCycleForIsis.java:148)

      It is because org.apache.isis.applib.services.exceprecog.ExceptionRecognizerComposite#container is null and it is not possible to inject the dependencies of the delegates.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: