Martin Grigorov created ISIS-1112:
-------------------------------------

             Summary: ExceptionRecognizerComposite cannot self-inject its 
dependencies
                 Key: ISIS-1112
                 URL: https://issues.apache.org/jira/browse/ISIS-1112
             Project: Isis
          Issue Type: Bug
          Components: Core, Core: Viewer: Wicket
    Affects Versions: core-1.8.0
            Reporter: Martin Grigorov
            Assignee: Dan Haywood


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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to