[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1450) Add Unit Test Coverage for SFSB

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Wed Aug 6 02:44:56 EDT 2008


    [ https://jira.jboss.org/jira/browse/EJBTHREE-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12423797#action_12423797 ] 

Andrew Lee Rubinger commented on EJBTHREE-1450:
-----------------------------------------------

Attached patch will fail with:

Caused by: java.lang.NullPointerException
	at org.jboss.ejb3.stateful.StatefulContainer.createAndStartCache(StatefulContainer.java:275)
	at org.jboss.ejb3.stateful.StatefulContainer.getCache(StatefulContainer.java:316)

...as call to getAnnotation(Cache.class) fails in StatefulContainer when running in Unit Tests.  This should be added by ejb3-interceptors-aop.xml at deployment-time.

> Add Unit Test Coverage for SFSB
> -------------------------------
>
>                 Key: EJBTHREE-1450
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1450
>             Project: EJB 3.0
>          Issue Type: Task
>          Components: core
>            Reporter: Andrew Lee Rubinger
>            Assignee: Andrew Lee Rubinger
>         Attachments: ejbthree-1450.patch
>
>
> SFSB has no test coverage in EJB3 Unit Tests, add some simple tests

-- 
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 jboss-jira mailing list