junit.framework.AssertionFailedError: Resource with highest priority didn't receive the message

Jive Software Open Source | Marilyn Daum | 1 decade ago
  1. 0

    The PresencePriorityTest and one or two of the RosterTest junit tests seem to fail frequently. Gato thinks it's due to timing quirks, and running them manually from within IntelliJ works for him. Some tweaks were made to timing within these tests, but they still fail. We need to have these running reliably as part of the continuous automated build process on lachesis. Here are the latest problems: ERROR - [junit] Test org.jivesoftware.smack.PresencePriorityTest FAILED INFO - [junit] Testcase: testMessageToHighestPriority(org.jivesoftware.smack.PresencePriorityTest): FAILED INFO - [junit] Resource with highest priority didn't receive the message INFO - [junit] junit.framework.AssertionFailedError: Resource with highest priority didn't receive the message INFO - [junit] at org.jivesoftware.smack.PresencePriorityTest.testMessageToHighestPriority(PresencePriorityTest.java:52) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO - [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO - INFO - INFO - [junit] Running org.jivesoftware.smack.RosterTest INFO - [junit] javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? INFO - [junit] at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:501) INFO - [junit] at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:343) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:720) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:1027) INFO - [junit] at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:313) INFO - [junit] at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:42) INFO - [junit] at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:62) INFO - [junit] java.lang.NullPointerException INFO - [junit] at org.jivesoftware.smack.SASLAuthentication.send(SASLAuthentication.java:401) INFO - [junit] at org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:68) INFO - [junit] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:190) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374) INFO - [junit] at org.jivesoftware.smack.RosterTest.testRosterPresences(RosterTest.java:454) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO - [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO - [junit] at java.lang.reflect.Method.invoke(Method.java:585) INFO - [junit] at junit.framework.TestCase.runTest(TestCase.java:154) INFO - [junit] at junit.framework.TestCase.runBare(TestCase.java:127) INFO - [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) INFO - [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) INFO - [junit] at junit.framework.TestResult.run(TestResult.java:109) INFO - [junit] at junit.framework.TestCase.run(TestCase.java:118) INFO - [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) INFO - [junit] at junit.framework.TestSuite.run(TestSuite.java:203) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558) INFO - [junit] Tests run: 8, Failures: 1, Errors: 0, Time elapsed: 59.454 sec INFO - [junit] Testsuite: org.jivesoftware.smack.RosterTest INFO - [junit] Tests run: 8, Failures: 1, Errors: 0, Time elapsed: 59.454 sec INFO - INFO - [junit] ------------- Standard Error ----------------- INFO - [junit] javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? ERROR - [junit] Test org.jivesoftware.smack.RosterTest FAILED INFO - [junit] at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:501) INFO - [junit] at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:343) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:720) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:1027) INFO - [junit] at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:313) INFO - [junit] at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:42) INFO - [junit] at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:62) INFO - [junit] java.lang.NullPointerException INFO - [junit] at org.jivesoftware.smack.SASLAuthentication.send(SASLAuthentication.java:401) INFO - [junit] at org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:68) INFO - [junit] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:190) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374) INFO - [junit] at org.jivesoftware.smack.RosterTest.testRosterPresences(RosterTest.java:454) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO - [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO - [junit] at java.lang.reflect.Method.invoke(Method.java:585) INFO - [junit] at junit.framework.TestCase.runTest(TestCase.java:154) INFO - [junit] at junit.framework.TestCase.runBare(TestCase.java:127) INFO - [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) INFO - [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) INFO - [junit] at junit.framework.TestResult.run(TestResult.java:109) INFO - [junit] at junit.framework.TestCase.run(TestCase.java:118) INFO - [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) INFO - [junit] at junit.framework.TestSuite.run(TestSuite.java:203) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558) INFO - [junit] ------------- ---------------- --------------- INFO - [junit] Testcase: testRosterPresences(org.jivesoftware.smack.RosterTest): FAILED INFO - [junit] No response from the server. INFO - [junit] junit.framework.AssertionFailedError: No response from the server. INFO - [junit] at org.jivesoftware.smack.RosterTest.testRosterPresences(RosterTest.java:515) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO - [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) To see the full logs, go to http://lachesis:82/intranet/smack.HEAD.unit/1.0.465?intranetBodyCmd=, follow the link for the latest build, then anthill_build_jar_&_func-test_log.txt.

    JIRA | 1 decade ago | Marilyn Daum
    junit.framework.AssertionFailedError: Resource with highest priority didn't receive the message
  2. 0

    The PresencePriorityTest and one or two of the RosterTest junit tests seem to fail frequently. Gato thinks it's due to timing quirks, and running them manually from within IntelliJ works for him. Some tweaks were made to timing within these tests, but they still fail. We need to have these running reliably as part of the continuous automated build process on lachesis. Here are the latest problems: ERROR - [junit] Test org.jivesoftware.smack.PresencePriorityTest FAILED INFO - [junit] Testcase: testMessageToHighestPriority(org.jivesoftware.smack.PresencePriorityTest): FAILED INFO - [junit] Resource with highest priority didn't receive the message INFO - [junit] junit.framework.AssertionFailedError: Resource with highest priority didn't receive the message INFO - [junit] at org.jivesoftware.smack.PresencePriorityTest.testMessageToHighestPriority(PresencePriorityTest.java:52) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO - [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO - INFO - INFO - [junit] Running org.jivesoftware.smack.RosterTest INFO - [junit] javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? INFO - [junit] at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:501) INFO - [junit] at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:343) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:720) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:1027) INFO - [junit] at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:313) INFO - [junit] at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:42) INFO - [junit] at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:62) INFO - [junit] java.lang.NullPointerException INFO - [junit] at org.jivesoftware.smack.SASLAuthentication.send(SASLAuthentication.java:401) INFO - [junit] at org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:68) INFO - [junit] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:190) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374) INFO - [junit] at org.jivesoftware.smack.RosterTest.testRosterPresences(RosterTest.java:454) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO - [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO - [junit] at java.lang.reflect.Method.invoke(Method.java:585) INFO - [junit] at junit.framework.TestCase.runTest(TestCase.java:154) INFO - [junit] at junit.framework.TestCase.runBare(TestCase.java:127) INFO - [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) INFO - [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) INFO - [junit] at junit.framework.TestResult.run(TestResult.java:109) INFO - [junit] at junit.framework.TestCase.run(TestCase.java:118) INFO - [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) INFO - [junit] at junit.framework.TestSuite.run(TestSuite.java:203) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558) INFO - [junit] Tests run: 8, Failures: 1, Errors: 0, Time elapsed: 59.454 sec INFO - [junit] Testsuite: org.jivesoftware.smack.RosterTest INFO - [junit] Tests run: 8, Failures: 1, Errors: 0, Time elapsed: 59.454 sec INFO - INFO - [junit] ------------- Standard Error ----------------- INFO - [junit] javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? ERROR - [junit] Test org.jivesoftware.smack.RosterTest FAILED INFO - [junit] at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:501) INFO - [junit] at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:343) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:720) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:1027) INFO - [junit] at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:313) INFO - [junit] at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:42) INFO - [junit] at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:62) INFO - [junit] java.lang.NullPointerException INFO - [junit] at org.jivesoftware.smack.SASLAuthentication.send(SASLAuthentication.java:401) INFO - [junit] at org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:68) INFO - [junit] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:190) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374) INFO - [junit] at org.jivesoftware.smack.RosterTest.testRosterPresences(RosterTest.java:454) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO - [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO - [junit] at java.lang.reflect.Method.invoke(Method.java:585) INFO - [junit] at junit.framework.TestCase.runTest(TestCase.java:154) INFO - [junit] at junit.framework.TestCase.runBare(TestCase.java:127) INFO - [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) INFO - [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) INFO - [junit] at junit.framework.TestResult.run(TestResult.java:109) INFO - [junit] at junit.framework.TestCase.run(TestCase.java:118) INFO - [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) INFO - [junit] at junit.framework.TestSuite.run(TestSuite.java:203) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558) INFO - [junit] ------------- ---------------- --------------- INFO - [junit] Testcase: testRosterPresences(org.jivesoftware.smack.RosterTest): FAILED INFO - [junit] No response from the server. INFO - [junit] junit.framework.AssertionFailedError: No response from the server. INFO - [junit] at org.jivesoftware.smack.RosterTest.testRosterPresences(RosterTest.java:515) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO - [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) To see the full logs, go to http://lachesis:82/intranet/smack.HEAD.unit/1.0.465?intranetBodyCmd=, follow the link for the latest build, then anthill_build_jar_&_func-test_log.txt.

    Jive Software Open Source | 1 decade ago | Marilyn Daum
    junit.framework.AssertionFailedError: Resource with highest priority didn't receive the message
  3. 0

    The PresencePriorityTest and one or two of the RosterTest junit tests seem to fail frequently. Gato thinks it's due to timing quirks, and running them manually from within IntelliJ works for him. Some tweaks were made to timing within these tests, but they still fail. We need to have these running reliably as part of the continuous automated build process on lachesis. Here are the latest problems: ERROR - [junit] Test org.jivesoftware.smack.PresencePriorityTest FAILED INFO - [junit] Testcase: testMessageToHighestPriority(org.jivesoftware.smack.PresencePriorityTest): FAILED INFO - [junit] Resource with highest priority didn't receive the message INFO - [junit] junit.framework.AssertionFailedError: Resource with highest priority didn't receive the message INFO - [junit] at org.jivesoftware.smack.PresencePriorityTest.testMessageToHighestPriority(PresencePriorityTest.java:52) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO - [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO - INFO - INFO - [junit] Running org.jivesoftware.smack.RosterTest INFO - [junit] javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? INFO - [junit] at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:501) INFO - [junit] at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:343) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:720) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:1027) INFO - [junit] at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:313) INFO - [junit] at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:42) INFO - [junit] at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:62) INFO - [junit] java.lang.NullPointerException INFO - [junit] at org.jivesoftware.smack.SASLAuthentication.send(SASLAuthentication.java:401) INFO - [junit] at org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:68) INFO - [junit] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:190) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374) INFO - [junit] at org.jivesoftware.smack.RosterTest.testRosterPresences(RosterTest.java:454) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO - [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO - [junit] at java.lang.reflect.Method.invoke(Method.java:585) INFO - [junit] at junit.framework.TestCase.runTest(TestCase.java:154) INFO - [junit] at junit.framework.TestCase.runBare(TestCase.java:127) INFO - [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) INFO - [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) INFO - [junit] at junit.framework.TestResult.run(TestResult.java:109) INFO - [junit] at junit.framework.TestCase.run(TestCase.java:118) INFO - [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) INFO - [junit] at junit.framework.TestSuite.run(TestSuite.java:203) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558) INFO - [junit] Tests run: 8, Failures: 1, Errors: 0, Time elapsed: 59.454 sec INFO - [junit] Testsuite: org.jivesoftware.smack.RosterTest INFO - [junit] Tests run: 8, Failures: 1, Errors: 0, Time elapsed: 59.454 sec INFO - INFO - [junit] ------------- Standard Error ----------------- INFO - [junit] javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? ERROR - [junit] Test org.jivesoftware.smack.RosterTest FAILED INFO - [junit] at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:501) INFO - [junit] at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:343) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:720) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025) INFO - [junit] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:1027) INFO - [junit] at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:313) INFO - [junit] at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:42) INFO - [junit] at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:62) INFO - [junit] java.lang.NullPointerException INFO - [junit] at org.jivesoftware.smack.SASLAuthentication.send(SASLAuthentication.java:401) INFO - [junit] at org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:68) INFO - [junit] at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:190) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410) INFO - [junit] at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374) INFO - [junit] at org.jivesoftware.smack.RosterTest.testRosterPresences(RosterTest.java:454) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO - [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO - [junit] at java.lang.reflect.Method.invoke(Method.java:585) INFO - [junit] at junit.framework.TestCase.runTest(TestCase.java:154) INFO - [junit] at junit.framework.TestCase.runBare(TestCase.java:127) INFO - [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) INFO - [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) INFO - [junit] at junit.framework.TestResult.run(TestResult.java:109) INFO - [junit] at junit.framework.TestCase.run(TestCase.java:118) INFO - [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) INFO - [junit] at junit.framework.TestSuite.run(TestSuite.java:203) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656) INFO - [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558) INFO - [junit] ------------- ---------------- --------------- INFO - [junit] Testcase: testRosterPresences(org.jivesoftware.smack.RosterTest): FAILED INFO - [junit] No response from the server. INFO - [junit] junit.framework.AssertionFailedError: No response from the server. INFO - [junit] at org.jivesoftware.smack.RosterTest.testRosterPresences(RosterTest.java:515) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO - [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) INFO - [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) To see the full logs, go to http://lachesis:82/intranet/smack.HEAD.unit/1.0.465?intranetBodyCmd=, follow the link for the latest build, then anthill_build_jar_&_func-test_log.txt.

    JIRA | 1 decade ago | Marilyn Daum
    junit.framework.AssertionFailedError: Resource with highest priority didn't receive the message
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JSR-309 95% Pass

    Google Groups | 5 years ago | yulian_o
    junit.framework.AssertionFailedError: "CChecker-1" did not receive the DTMF: expected:<true> but was:<false>
  6. 0

    JSR-309 95% Pass

    Google Groups | 5 years ago | yulian_o
    junit.framework.AssertionFailedError: "CChecker-MG-0" did receive the DTMF: expected:<false> but was:<true>

    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

      Resource with highest priority didn't receive the message

      at org.jivesoftware.smack.PresencePriorityTest.testMessageToHighestPriority()
    2. Smack
      PresencePriorityTest.testMessageToHighestPriority
      1. org.jivesoftware.smack.PresencePriorityTest.testMessageToHighestPriority(PresencePriorityTest.java:52)
      1 frame
    3. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames