java.lang.NullPointerException

Spring JIRA | Juby Victor | 8 years ago
  1. 0

    We get a null pointer exception on invocation of AbstractMailReceiver.fetchMessages if FetchProfile.Item.CONTENT_INFO is present in the Fetchprofile. Stacktrace Exception in thread "SimpleAsyncTaskExecutor-1" java.lang.NullPointerException at javax.mail.internet.ParameterList.set(ParameterList.java:165) at com.sun.mail.imap.protocol.BODYSTRUCTURE.parseParameters(BODYSTRUCTURE.java:392) at com.sun.mail.imap.protocol.BODYSTRUCTURE.<init>(BODYSTRUCTURE.java:232) at com.sun.mail.imap.protocol.BODYSTRUCTURE.<init>(BODYSTRUCTURE.java:117) at com.sun.mail.imap.protocol.BODYSTRUCTURE.<init>(BODYSTRUCTURE.java:117) at com.sun.mail.imap.protocol.FetchResponse.parse(FetchResponse.java:159) at com.sun.mail.imap.protocol.FetchResponse.<init>(FetchResponse.java:68) at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:137) at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:261) at com.sun.mail.iap.Protocol.command(Protocol.java:310) at com.sun.mail.imap.protocol.IMAPProtocol.logout(IMAPProtocol.java:311) at com.sun.mail.imap.IMAPStore.releaseProtocol(IMAPStore.java:944) at com.sun.mail.imap.IMAPFolder.releaseProtocol(IMAPFolder.java:2666) at com.sun.mail.imap.IMAPFolder.cleanup(IMAPFolder.java:1143) at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1132) at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1055) at org.springframework.integration.mail.MailTransportUtils.closeFolder(MailTransportUtils.java:81) at org.springframework.integration.mail.MailTransportUtils.closeFolder(MailTransportUtils.java:68)

    Spring JIRA | 8 years ago | Juby Victor
    java.lang.NullPointerException
  2. 0

    We get a null pointer exception on invocation of AbstractMailReceiver.fetchMessages if FetchProfile.Item.CONTENT_INFO is present in the Fetchprofile. Stacktrace Exception in thread "SimpleAsyncTaskExecutor-1" java.lang.NullPointerException at javax.mail.internet.ParameterList.set(ParameterList.java:165) at com.sun.mail.imap.protocol.BODYSTRUCTURE.parseParameters(BODYSTRUCTURE.java:392) at com.sun.mail.imap.protocol.BODYSTRUCTURE.<init>(BODYSTRUCTURE.java:232) at com.sun.mail.imap.protocol.BODYSTRUCTURE.<init>(BODYSTRUCTURE.java:117) at com.sun.mail.imap.protocol.BODYSTRUCTURE.<init>(BODYSTRUCTURE.java:117) at com.sun.mail.imap.protocol.FetchResponse.parse(FetchResponse.java:159) at com.sun.mail.imap.protocol.FetchResponse.<init>(FetchResponse.java:68) at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:137) at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:261) at com.sun.mail.iap.Protocol.command(Protocol.java:310) at com.sun.mail.imap.protocol.IMAPProtocol.logout(IMAPProtocol.java:311) at com.sun.mail.imap.IMAPStore.releaseProtocol(IMAPStore.java:944) at com.sun.mail.imap.IMAPFolder.releaseProtocol(IMAPFolder.java:2666) at com.sun.mail.imap.IMAPFolder.cleanup(IMAPFolder.java:1143) at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1132) at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1055) at org.springframework.integration.mail.MailTransportUtils.closeFolder(MailTransportUtils.java:81) at org.springframework.integration.mail.MailTransportUtils.closeFolder(MailTransportUtils.java:68)

    Spring JIRA | 8 years ago | Juby Victor
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Null pointer exeception in BODYSTRUCTURE.parseParameters. Is it a bug ?

    Oracle Community | 4 years ago | 216944
    java.lang.NullPointerException

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at javax.mail.internet.ParameterList.set()
    2. JavaMail API
      ParameterList.set
      1. javax.mail.internet.ParameterList.set(ParameterList.java:165)
      1 frame
    3. JavaMail API (compat)
      IMAPFolder.close
      1. com.sun.mail.imap.protocol.BODYSTRUCTURE.parseParameters(BODYSTRUCTURE.java:392)
      2. com.sun.mail.imap.protocol.BODYSTRUCTURE.<init>(BODYSTRUCTURE.java:232)
      3. com.sun.mail.imap.protocol.BODYSTRUCTURE.<init>(BODYSTRUCTURE.java:117)
      4. com.sun.mail.imap.protocol.BODYSTRUCTURE.<init>(BODYSTRUCTURE.java:117)
      5. com.sun.mail.imap.protocol.FetchResponse.parse(FetchResponse.java:159)
      6. com.sun.mail.imap.protocol.FetchResponse.<init>(FetchResponse.java:68)
      7. com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:137)
      8. com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:261)
      9. com.sun.mail.iap.Protocol.command(Protocol.java:310)
      10. com.sun.mail.imap.protocol.IMAPProtocol.logout(IMAPProtocol.java:311)
      11. com.sun.mail.imap.IMAPStore.releaseProtocol(IMAPStore.java:944)
      12. com.sun.mail.imap.IMAPFolder.releaseProtocol(IMAPFolder.java:2666)
      13. com.sun.mail.imap.IMAPFolder.cleanup(IMAPFolder.java:1143)
      14. com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1132)
      15. com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1055)
      15 frames
    4. org.springframework.integration
      MailTransportUtils.closeFolder
      1. org.springframework.integration.mail.MailTransportUtils.closeFolder(MailTransportUtils.java:81)
      2. org.springframework.integration.mail.MailTransportUtils.closeFolder(MailTransportUtils.java:68)
      2 frames