java.lang.NullPointerException

JIRA | 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
    java.lang.NullPointerException
  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
    java.lang.NullPointerException
  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
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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. java.lang.NullPointerException

      No message provided

      at org.jivesoftware.smack.SASLAuthentication.send()
    2. Smack
      RosterTest.testRosterPresences
      1. org.jivesoftware.smack.SASLAuthentication.send(SASLAuthentication.java:401)
      2. org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:68)
      3. org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:190)
      4. org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410)
      5. org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374)
      6. org.jivesoftware.smack.RosterTest.testRosterPresences(RosterTest.java:454)
      6 frames
    3. 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:585)
      4 frames
    4. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:118)
      7. junit.framework.TestSuite.runTest(TestSuite.java:208)
      8. junit.framework.TestSuite.run(TestSuite.java:203)
      8 frames
    5. Apache Ant + JUnit
      JUnitTestRunner.main
      1. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289)
      2. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656)
      3. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
      3 frames