[infinispan-issues] [JBoss JIRA] Created: (ISPN-321) NPE if custom interceptor is created from xml configuration

Alexander Kosenkov (JIRA) jira-events at lists.jboss.org
Wed Dec 23 12:09:30 EST 2009


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


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