junit.framework.AssertionFailedError: Result is null

MuleSoft JIRA | andrew cooke | 9 years ago
  1. 0

    I hope this isn't my fault! As far as I can tell this is something inherited from the merge? (I only have code changes related to Defn Parsers - will commit in a minute). Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 80.44 sec <<< FA ILURE! single loan request (org.mule.examples.loanbroker.bpm.JBpmFunctionalTestCase) Time elapsed: 38.475 sec <<< FAILURE! junit.framework.AssertionFailedError: Result 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:217) at org.mule.examples.loanbroker.tests.AbstractAsynchronousLoanBrokerTest Case.testSingleLoanRequest(AbstractAsynchronousLoanBrokerTestCase.java:52) at org.mule.examples.loanbroker.bpm.JBpmFunctionalTestCase.testSingleLoa nRequest(JBpmFunctionalTestCase.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at org.mule.tck.AbstractMuleTestCase.runBare(AbstractMuleTestCase.java:2 21) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at org.mule.tck.AbstractMuleTestCase.run(AbstractMuleTestCase.java:201) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav a:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes tSet(AbstractDirectoryTestSuite.java:138) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab stractDirectoryTestSuite.java:163) at org.apache.maven.surefire.Surefire.run(Surefire.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su refireBooter.java:244) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j ava:814) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j ava:814)

    MuleSoft JIRA | 9 years ago | andrew cooke
    junit.framework.AssertionFailedError: Result is null
  2. 0

    I hope this isn't my fault! As far as I can tell this is something inherited from the merge? (I only have code changes related to Defn Parsers - will commit in a minute). Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 80.44 sec <<< FA ILURE! single loan request (org.mule.examples.loanbroker.bpm.JBpmFunctionalTestCase) Time elapsed: 38.475 sec <<< FAILURE! junit.framework.AssertionFailedError: Result 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:217) at org.mule.examples.loanbroker.tests.AbstractAsynchronousLoanBrokerTest Case.testSingleLoanRequest(AbstractAsynchronousLoanBrokerTestCase.java:52) at org.mule.examples.loanbroker.bpm.JBpmFunctionalTestCase.testSingleLoa nRequest(JBpmFunctionalTestCase.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at org.mule.tck.AbstractMuleTestCase.runBare(AbstractMuleTestCase.java:2 21) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at org.mule.tck.AbstractMuleTestCase.run(AbstractMuleTestCase.java:201) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.jav a:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes tSet(AbstractDirectoryTestSuite.java:138) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab stractDirectoryTestSuite.java:163) at org.apache.maven.surefire.Surefire.run(Surefire.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su refireBooter.java:244) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j ava:814) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j ava:814)

    MuleSoft JIRA | 9 years ago | andrew cooke
    junit.framework.AssertionFailedError: Result is null
  3. 0

    we're seeing this way too often. http://dev.mulesource.com/bamboo/browse/MULE-MULE2JDK5-115/test/org.mule.transport.ssl.SslConnectorFunctionalTestCase no certificates junit.framework.AssertionFailedError: no certificates at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at junit.framework.Assert.assertNotNull(Assert.java:217) at org.mule.transport.ssl.SslConnectorFunctionalTestCase.testDispatchAndReply(SslConnectorFunctionalTestCase.java:160) 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 junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at org.mule.tck.AbstractMuleTestCase.runBare(AbstractMuleTestCase.java:228) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at org.mule.tck.AbstractMuleTestCase.run(AbstractMuleTestCase.java:208) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) 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:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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:334) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)

    MuleSoft JIRA | 9 years ago | andrew cooke
    junit.framework.AssertionFailedError: no certificates
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    testEclusiveScopedException and testMultiExclusiveScopedExceptionMissed fail on IBM Java2 1.5.0

    Eclipse Bugzilla | 1 decade ago | cjashfor
    junit.framework.AssertionFailedError: Program did not suspend, launch terminated.
  6. 0

    we're seeing this way too often. http://dev.mulesource.com/bamboo/browse/MULE-MULE2JDK5-115/test/org.mule.transport.ssl.SslConnectorFunctionalTestCase no certificates junit.framework.AssertionFailedError: no certificates at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at junit.framework.Assert.assertNotNull(Assert.java:217) at org.mule.transport.ssl.SslConnectorFunctionalTestCase.testDispatchAndReply(SslConnectorFunctionalTestCase.java:160) 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 junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at org.mule.tck.AbstractMuleTestCase.runBare(AbstractMuleTestCase.java:228) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at org.mule.tck.AbstractMuleTestCase.run(AbstractMuleTestCase.java:208) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) 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:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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:334) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)

    MuleSoft JIRA | 9 years ago | andrew cooke
    junit.framework.AssertionFailedError: no certificates

  1. Aria Pahlavan 2 times, last 2 weeks ago
  2. dmitry 2 times, last 6 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. junit.framework.AssertionFailedError

    Result is null

    at junit.framework.Assert.fail()
  2. JUnit
    Assert.assertNotNull
    1. junit.framework.Assert.fail(Assert.java:47)
    2. junit.framework.Assert.assertTrue(Assert.java:20)
    3. junit.framework.Assert.assertNotNull(Assert.java:217)
    3 frames
  3. org.mule.examples
    JBpmFunctionalTestCase.testSingleLoanRequest
    1. org.mule.examples.loanbroker.tests.AbstractAsynchronousLoanBrokerTestCase.testSingleLoanRequest(AbstractAsynchronousLoanBrokerTestCase.java:52)
    2. org.mule.examples.loanbroker.bpm.JBpmFunctionalTestCase.testSingleLoanRequest(JBpmFunctionalTestCase.java:52)
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames
  5. JUnit
    TestCase.runBare
    1. junit.framework.TestCase.runTest(TestCase.java:164)
    2. junit.framework.TestCase.runBare(TestCase.java:130)
    2 frames
  6. Mule Functional Test Framework (TCK)
    AbstractMuleTestCase.runBare
    1. org.mule.tck.AbstractMuleTestCase.runBare(AbstractMuleTestCase.java:221)
    1 frame
  7. JUnit
    TestCase.run
    1. junit.framework.TestResult$1.protect(TestResult.java:106)
    2. junit.framework.TestResult.runProtected(TestResult.java:124)
    3. junit.framework.TestResult.run(TestResult.java:109)
    4. junit.framework.TestCase.run(TestCase.java:120)
    4 frames
  8. Mule Functional Test Framework (TCK)
    AbstractMuleTestCase.run
    1. org.mule.tck.AbstractMuleTestCase.run(AbstractMuleTestCase.java:201)
    1 frame
  9. JUnit
    TestSuite.run
    1. junit.framework.TestSuite.runTest(TestSuite.java:230)
    2. junit.framework.TestSuite.run(TestSuite.java:225)
    2 frames
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames
  11. org.apache.maven
    JUnitTestSet.execute
    1. org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
    1 frame
  12. SureFire
    Surefire.run
    1. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
    2. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163)
    3. org.apache.maven.surefire.Surefire.run(Surefire.java:84)
    3 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames