[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-321) NPE if custom interceptor is created from xml configuration
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Wed Dec 23 14:18:30 EST 2009
[ https://jira.jboss.org/jira/browse/ISPN-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manik Surtani resolved ISPN-321.
--------------------------------
Fix Version/s: 4.0.0.GA
Resolution: Done
Thanks for reporting
> NPE if custom interceptor is created from xml configuration
> -----------------------------------------------------------
>
> Key: ISPN-321
> URL: https://jira.jboss.org/jira/browse/ISPN-321
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 4.0.0.CR3
> Reporter: Alexander Kosenkov
> Assignee: Manik Surtani
> Fix For: 4.0.0.GA
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> Add to config something like this:
> <customInterceptors>
> <interceptor after="org.infinispan.interceptors.CacheLoaderInterceptor" class="com.devexperts.PersistenceInterceptor"/>
> </customInterceptors>
> and it will fail Caused by: java.lang.NullPointerException
> at org.infinispan.interceptors.InterceptorChain.addInterceptorAfter(InterceptorChain.java:193)
> at org.infinispan.factories.InterceptorChainFactory.buildCustomInterceptors(InterceptorChainFactory.java:161)
> at org.infinispan.factories.InterceptorChainFactory.buildInterceptorChain(InterceptorChainFactory.java:143)
> at org.infinispan.factories.InterceptorChainFactory.construct(InterceptorChainFactory.java:177)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list