Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1112

ExceptionRecognizerComposite cannot self-inject its dependencies

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: core-1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: Core, Core: Viewer: Wicket
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              mgrigorov Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: