java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by Marilyn Daum,
  • 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.
    via by Marilyn Daum,
  • 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.
    via by Marilyn Daum,
  • smack 小例子 - - ITeye技术网站
    via by Unknown author,
    • java.lang.NullPointerException at org.jivesoftware.smack.SASLAuthentication.send(SASLAuthentication.java:401) at org.jivesoftware.smack.sasl.SASLMechanism.authenticate(SASLMechanism.java:68) at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:190) at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:410) at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:374) at org.jivesoftware.smack.RosterTest.testRosterPresences(RosterTest.java:454) 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:154) at junit.framework.TestCase.runBare(TestCase.java:127) 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:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
    No Bugmate found.