[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1272) NPE in InjectInterceptorsFactory

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Sun Apr 13 20:48:54 EDT 2008


NPE in InjectInterceptorsFactory 
---------------------------------

                 Key: EJBTHREE-1272
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1272
             Project: EJB 3.0
          Issue Type: Bug
          Components: interceptors
            Reporter: Andrew Lee Rubinger
         Assigned To: Carlo de Wolf
            Priority: Critical
             Fix For: AS 5.0.0.CR1


Given:

            List<Class<?>> interceptorClasses = container.getInterceptorRegistry().getApplicableInterceptorClasses(method);
            List<Interceptor> interceptors = new ArrayList<Interceptor>();
            for (Class<?> interceptorClass : interceptorClasses) // <<<--------- NPE Here

If no applicable interceptor classes are found, an NPE is thrown in Java5 Collection iteration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list