javax.mail.internet.ParseException: Expected parameter value, got "null"

camel-users | Claus Ibsen | 4 years ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Re: MailComponent's claim to handle special mail multipart formats and attachments?!

    camel-users | 4 years ago | Claus Ibsen
    javax.mail.internet.ParseException: Expected parameter value, got "null"
  2. 0

    javamail-1.4.5 error at parsing gmail message received via imap

    Stack Overflow | 2 years ago | Bekzat Abdiraimov
    javax.mail.internet.ParseException: Expected ';', got "," at javax.mail.internet.ParameterList.<init>( at javax.mail.internet.ContentDisposition.<init>(
  3. 0

    Commons - Issues - [jira] [Commented] (EMAIL-159) Parse exception when parsing the email content | 1 year ago
    javax.mail.internet.ParseException: Expected parameter value, got "="
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When using the CreateOrCommentHandler to create issues from email in a POP box, it is possible for some emails to get 'stuck', so they create a new JIRA issue(s) every time the POPService runs. This happens when a user's mail client (here, Lotus Notes) tries to encode the filename field of the Content-Disposition: header, as described at According to: this is not MIME-compliant behaviour. The attachment is saved with the base64-encoded name ('=?UTF-8?B?U291bmR...'). JIRA may throw an exception [1] when trying to parse the header, and on Windows, will throw another exception[2] when trying to save the attachment with an undecoded filename. A partial workaround has been implemented for 2.5. The filename is checked to see if it appears to be encoded (begins with '=?'), and if so, is decoded. This avoids the second exception, but not the first (which I cannot replicate). [1] 2003-10-16 06:51:42,125 DEBUG [atlassian.jira.mail.MailQueueImpl] Queued: +com.atlassian.jira.mail.IssueMailQueueItem@8ea21d[issue=org.ofbiz.core.entity.GenericValue@e6e42e[id=11392,summary=RE: +Seeking a "Great" Marketing Partner?,key=CSS-56,created=2003-10-16 06:50:55.078,updated=2003-10-16 +06:50:55.078,assignee=<null>,reporter=externaluser],remoteUser=externaluser,notificationType=ISSUE_CREATED,template=issuecrea +ted.vm,subjectPrefix=Created: ]^M 2003-10-16 06:51:42,140 DEBUG [service.util.handler.CreateIssueHandler] Issue CSS-56 created^M 2003-10-16 06:51:42,156 ERROR [service.util.handler.CreateIssueHandler] Could not create issue!^M javax.mail.internet.ParseException^M at javax.mail.internet.ParameterList.<init>(^M at javax.mail.internet.ContentDisposition.<init>(^M at javax.mail.internet.MimeBodyPart.getDisposition(^M at javax.mail.internet.MimeBodyPart.getDisposition(^M at +com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(^M at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(^M at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(^M at^M at^M at com.atlassian.jira.service.ServiceRunner.execute(^M at^M at org.quartz.simpl.SimpleThreadPool$^M [2] 2003-10-16 06:53:28,093 ERROR [service.util.handler.AbstractMessageHandler] Exception while creating attachment^M Could not move (or copy) attachment from d:\Jira\Attachments\CSS\CSS-57\tempattach22747dat to +d:\Jira\Attachments\CSS\CSS-57\10130_=?UTF-8?B?U291bmRXYXZlIGFuZCBOdWNsZXVzIFIxMjYgU2lkZS1ieS1TaWRlIEluc3RhbGxhdGlvbi5kb2M=?= +d:\Jira\Attachments\CSS\CSS-57\10130_=?UTF-8?B?U291bmRXYXZlIGFuZCBOdWNsZXVzIFIxMjYgU2lkZS1ieS1TaWRlIEluc3RhbGxhdGlvbi5kb2M=?= +(The filename, directory name, or volume label syntax is incorrect)^M

    Atlassian JIRA | 1 decade ago | Jeff Turner
  6. 0

    When using the Handler to create issues from e-mail and using Lotus Notes, you get the following stacktrace in the logs: {code} JiraQuartzScheduler_Worker-2 WARN ServiceRunner Incoming Issues [service.util.handler.CreateIssueHandler] Could not create issue from message! javax.mail.internet.ParseException at javax.mail.internet.ContentDisposition.<init>( at javax.mail.internet.MimeBodyPart.getDisposition( at javax.mail.internet.MimeBodyPart.getDisposition( at com.atlassian.mail.MailUtils.getFirstInlinePartWithMimeType( at com.atlassian.mail.MailUtils.getBodyFromMultipart( at com.atlassian.mail.MailUtils.getBodyFromMultipart( at com.atlassian.mail.MailUtils.getBody( at com.atlassian.jira.service.util.handler.CreateIssueHandler.getDescription( at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage( at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage( at at at com.atlassian.jira.service.ServiceRunner.execute( at at org.quartz.simpl.SimpleThreadPool$ {code}

    Atlassian JIRA | 5 years ago | Pedro Cora [Atlassian]

    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. javax.mail.internet.ParseException

      Expected parameter value, got "null"

      at javax.mail.internet.ParameterList.<init>()
    2. JavaMail API
      1. javax.mail.internet.ParameterList.<init>(
      2. javax.mail.internet.ContentDisposition.<init>(
      3. javax.mail.internet.MimeBodyPart.getDisposition(
      4. javax.mail.internet.MimeBodyPart.getDisposition(
      4 frames