[jboss-jira] [JBoss JIRA] Created: (JBCACHE-1050) CacheImpl.getInterceptorChain() throws NPE if invoked before create()

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue May 8 22:21:52 EDT 2007


CacheImpl.getInterceptorChain() throws NPE if invoked before create()
---------------------------------------------------------------------

                 Key: JBCACHE-1050
                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1050
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.0.0.CR1
            Reporter: Brian Stansberry
         Assigned To: Brian Stansberry
            Priority: Minor
             Fix For: 2.0.0.CR2


Tries to pass null to Collections.unmodifiableList() which fails

Question is should it:

1) Return null.
2) Return an empty list.

I think null with a javadoc note that that's what will happen is probably best.

-- 
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