You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2015/03/28 10:46:53 UTC

[jira] [Resolved] (ISIS-1112) ExceptionRecognizerComposite cannot self-inject its dependencies

     [ https://issues.apache.org/jira/browse/ISIS-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved ISIS-1112.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.0

Fixed with http://git-wip-us.apache.org/repos/asf/isis/commit/d3b8decc

> 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
>             Fix For: 1.9.0
>
>
> 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)