I too have noticed this happening rarely. Mostly its not repeatable.
Since it deals with messaging and it may be null because a message
timed out maybe increasing the timeout in MdbProxy will help.

On 10/12/07, Jacek Laskowski <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm getting the following error message while building openejb's
> trunk. Does anyone have some clues as to where to look at?
>
> -------------------------------------------------------------------------------
> Test set: org.apache.openejb.ApplicationTest
> -------------------------------------------------------------------------------
> Tests run: 1153, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
> 35.672 sec <<< FAILURE!
> MDB.AllowedOperations.businessMethod  Time elapsed: 0.015 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: The OperationsPolicy is null
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at junit.framework.Assert.assertNotNull(Assert.java:214)
>         at 
> org.apache.openejb.test.mdb.BmtMdbAllowedOperationsTests.test04_businessMethod(BmtMdbAllowedOperationsTests.java:206)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at 
> org.apache.openejb.test.NumberedTestCase.runTestMethod(NumberedTestCase.java:135)
>         at 
> org.apache.openejb.test.NumberedTestCase$1.protect(NumberedTestCase.java:120)
>         at junit.framework.TestResult.runProtected(TestResult.java:128)
>         at 
> org.apache.openejb.test.NumberedTestCase.run(NumberedTestCase.java:123)
>         at 
> org.apache.openejb.test.NumberedTestCase.run(NumberedTestCase.java:102)
>         at junit.framework.TestSuite.runTest(TestSuite.java:228)
>         at junit.framework.TestSuite.run(TestSuite.java:223)
>         at org.apache.openejb.test.TestSuite.run(TestSuite.java:46)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at 
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
>         at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
>         at 
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:160)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:81)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at 
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:182)
>         at 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:743)
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>

Reply via email to