You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martijn Dashorst (JIRA)" <ji...@apache.org> on 2011/04/22 10:18:05 UTC
[jira] [Closed] (WICKET-3632) NullPointerException in
AnnotProxyFieldValueFactory for singletons
[ https://issues.apache.org/jira/browse/WICKET-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn Dashorst closed WICKET-3632.
------------------------------------
> NullPointerException in AnnotProxyFieldValueFactory for singletons
> ------------------------------------------------------------------
>
> Key: WICKET-3632
> URL: https://issues.apache.org/jira/browse/WICKET-3632
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.5-RC3
> Reporter: Emond Papegaaij
> Fix For: 1.5-RC4
>
>
> We use SingletonBeanRegistry.registerSingleton to manually register some singletons in spring. When these are injected with @SpringBean, AnnotProxyFieldValueFactory gives a NPE on line 191, because getBeanDefinition returns null. This used to work with 1.4.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira