java.lang.NullPointerException

Jive Software Open Source | Daryl Herzmann | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Running current master on Ignite, we see lots of these {code} 2015.08.17 13:27:05 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9b3Y2azc4dDlpYzVlMHAxNDU3YnQ3YzA5YWU3ZC00ZWZkLTRhNTAtYThkMy01M2IyMTQwN2U2MmMscD01YXc3UEt3RlJaQ0dLeFl6T3pZTitPRE44MmM9</response> java.lang.NullPointerException at javax.xml.bind.DatatypeConverterImpl.guessLength(DatatypeConverterImpl.java:654) at javax.xml.bind.DatatypeConverterImpl._parseBase64Binary(DatatypeConverterImpl.java:692) at javax.xml.bind.DatatypeConverterImpl.parseBase64Binary(DatatypeConverterImpl.java:434) at javax.xml.bind.DatatypeConverter.parseBase64Binary(DatatypeConverter.java:342) at org.jivesoftware.openfire.sasl.ScramSha1SaslServer.getStoredKey(ScramSha1SaslServer.java:339) at org.jivesoftware.openfire.sasl.ScramSha1SaslServer.generateServerFinalMessage(ScramSha1SaslServer.java:185) at org.jivesoftware.openfire.sasl.ScramSha1SaslServer.evaluateResponse(ScramSha1SaslServer.java:114) at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java:361) at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:177) at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:177) at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765) at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765) at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:407) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:236) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765) at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74) at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63) at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:769) at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:761) at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:703) at java.lang.Thread.run(Thread.java:745) {code}

    Jive Software Open Source | 2 years ago | Daryl Herzmann
    java.lang.NullPointerException
  2. 0

    Running current master on Ignite, we see lots of these {code} 2015.08.17 13:27:05 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9b3Y2azc4dDlpYzVlMHAxNDU3YnQ3YzA5YWU3ZC00ZWZkLTRhNTAtYThkMy01M2IyMTQwN2U2MmMscD01YXc3UEt3RlJaQ0dLeFl6T3pZTitPRE44MmM9</response> java.lang.NullPointerException at javax.xml.bind.DatatypeConverterImpl.guessLength(DatatypeConverterImpl.java:654) at javax.xml.bind.DatatypeConverterImpl._parseBase64Binary(DatatypeConverterImpl.java:692) at javax.xml.bind.DatatypeConverterImpl.parseBase64Binary(DatatypeConverterImpl.java:434) at javax.xml.bind.DatatypeConverter.parseBase64Binary(DatatypeConverter.java:342) at org.jivesoftware.openfire.sasl.ScramSha1SaslServer.getStoredKey(ScramSha1SaslServer.java:339) at org.jivesoftware.openfire.sasl.ScramSha1SaslServer.generateServerFinalMessage(ScramSha1SaslServer.java:185) at org.jivesoftware.openfire.sasl.ScramSha1SaslServer.evaluateResponse(ScramSha1SaslServer.java:114) at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java:361) at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:177) at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:177) at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765) at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765) at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:407) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:236) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765) at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74) at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63) at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:769) at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:761) at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:703) at java.lang.Thread.run(Thread.java:745) {code}

    JIRA | 2 years ago | Daryl Herzmann
    java.lang.NullPointerException
  3. 0

    Running current master on Ignite, we see lots of these {code} 2015.08.17 13:27:05 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9b3Y2azc4dDlpYzVlMHAxNDU3YnQ3YzA5YWU3ZC00ZWZkLTRhNTAtYThkMy01M2IyMTQwN2U2MmMscD01YXc3UEt3RlJaQ0dLeFl6T3pZTitPRE44MmM9</response> java.lang.NullPointerException at javax.xml.bind.DatatypeConverterImpl.guessLength(DatatypeConverterImpl.java:654) at javax.xml.bind.DatatypeConverterImpl._parseBase64Binary(DatatypeConverterImpl.java:692) at javax.xml.bind.DatatypeConverterImpl.parseBase64Binary(DatatypeConverterImpl.java:434) at javax.xml.bind.DatatypeConverter.parseBase64Binary(DatatypeConverter.java:342) at org.jivesoftware.openfire.sasl.ScramSha1SaslServer.getStoredKey(ScramSha1SaslServer.java:339) at org.jivesoftware.openfire.sasl.ScramSha1SaslServer.generateServerFinalMessage(ScramSha1SaslServer.java:185) at org.jivesoftware.openfire.sasl.ScramSha1SaslServer.evaluateResponse(ScramSha1SaslServer.java:114) at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java:361) at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:177) at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:177) at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765) at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765) at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:407) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:236) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765) at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74) at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63) at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:769) at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:761) at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:703) at java.lang.Thread.run(Thread.java:745) {code}

    Jive Software Open Source | 2 years ago | Daryl Herzmann
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception using DatatypeConverter.parseBase64Binary

    Stack Overflow | 4 years ago | user1361914
    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 javax.xml.bind.DatatypeConverterImpl.guessLength()
    2. Java RT
      DatatypeConverter.parseBase64Binary
      1. javax.xml.bind.DatatypeConverterImpl.guessLength(DatatypeConverterImpl.java:654)
      2. javax.xml.bind.DatatypeConverterImpl._parseBase64Binary(DatatypeConverterImpl.java:692)
      3. javax.xml.bind.DatatypeConverterImpl.parseBase64Binary(DatatypeConverterImpl.java:434)
      4. javax.xml.bind.DatatypeConverter.parseBase64Binary(DatatypeConverter.java:342)
      4 frames
    3. org.jivesoftware.openfire
      ConnectionHandler.messageReceived
      1. org.jivesoftware.openfire.sasl.ScramSha1SaslServer.getStoredKey(ScramSha1SaslServer.java:339)
      2. org.jivesoftware.openfire.sasl.ScramSha1SaslServer.generateServerFinalMessage(ScramSha1SaslServer.java:185)
      3. org.jivesoftware.openfire.sasl.ScramSha1SaslServer.evaluateResponse(ScramSha1SaslServer.java:114)
      4. org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java:361)
      5. org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:177)
      6. org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:177)
      6 frames
    4. Apache MINA Core
      OrderedThreadPoolExecutor$Worker.run
      1. org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690)
      2. org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
      3. org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
      4. org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
      5. org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
      6. org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
      7. org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
      8. org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
      9. org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:407)
      10. org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:236)
      11. org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
      12. org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
      13. org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
      14. org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74)
      15. org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
      16. org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:769)
      17. org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:761)
      18. org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:703)
      18 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame