java.lang.NullPointerException: charsetName

Oracle Community | 397224 | 10 years ago
  1. 0

    Workflow 2.6.4 - Diagram not displayed

    Oracle Community | 10 years ago | 397224
    java.lang.NullPointerException: charsetName
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    When JIRA receives a malformed email message via the Incoming mail server with the charset specified incorrectly like the following, JIRA creates a ticket and throws a NPE *Steps to Reproduce* Have the JIRA Incoming mail server receive a malformed email message with the charset specified incorrectly like the following {noformat} --CES.Boundary.DACA587499938898 content-type: text/plain;charset=ISO-8859-1 To view the content of this message, please use an HTML enabled mail client. --CES.Boundary.DACA587499938898 content-type: text/html;=ISO-8859-1 {noformat} *Expected Results* JIRA should verify the message is malformed and do the action specified in the Bulk field of the Mail Handler configuration. *Actual Results* JIRA creates a ticket from that email, throws the NPE mentioned below and doesn't remove the message from the mail server, causing it to do the same behaviour every time the mail handler service runs {noformat} 2014-02-18 10:24:44,274 ERROR [Mail handler] QuartzScheduler_Worker-2 ServiceRunner Mail handler From Email Service 2 Mail handler From Email Service 2[10041]: Exception: charsetName java.lang.NullPointerException: charsetName at java.io.InputStreamReader.<init>(Unknown Source) at com.sun.mail.handlers.text_plain.getContent(text_plain.java:107) at javax.activation.DataSourceDataContentHandler.getContent(Unknown Source) at javax.activation.DataHandler.getContent(Unknown Source) at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:637) at com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:654) at com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:627) at com.atlassian.jira.plugins.mail.handlers.CreateIssueHandler.handleMessage(CreateIssueHandler.java:274) at com.atlassian.jira.plugins.mail.handlers.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:133) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:400) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:293) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:388) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:257) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) {noformat}

    Atlassian JIRA | 3 years ago | Marcus Silveira [Atlassian]
    java.lang.NullPointerException: charsetName
  4. 0

    When JIRA receives a malformed email message via the Incoming mail server with the charset specified incorrectly like the following, JIRA creates a ticket and throws a NPE *Steps to Reproduce* Have the JIRA Incoming mail server receive a malformed email message with the charset specified incorrectly like the following {noformat} --CES.Boundary.DACA587499938898 content-type: text/plain;charset=ISO-8859-1 To view the content of this message, please use an HTML enabled mail client. --CES.Boundary.DACA587499938898 content-type: text/html;=ISO-8859-1 {noformat} *Expected Results* JIRA should verify the message is malformed and do the action specified in the Bulk field of the Mail Handler configuration. *Actual Results* JIRA creates a ticket from that email, throws the NPE mentioned below and doesn't remove the message from the mail server, causing it to do the same behaviour every time the mail handler service runs {noformat} 2014-02-18 10:24:44,274 ERROR [Mail handler] QuartzScheduler_Worker-2 ServiceRunner Mail handler From Email Service 2 Mail handler From Email Service 2[10041]: Exception: charsetName java.lang.NullPointerException: charsetName at java.io.InputStreamReader.<init>(Unknown Source) at com.sun.mail.handlers.text_plain.getContent(text_plain.java:107) at javax.activation.DataSourceDataContentHandler.getContent(Unknown Source) at javax.activation.DataHandler.getContent(Unknown Source) at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:637) at com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:654) at com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:627) at com.atlassian.jira.plugins.mail.handlers.CreateIssueHandler.handleMessage(CreateIssueHandler.java:274) at com.atlassian.jira.plugins.mail.handlers.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:133) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:400) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:293) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:388) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:257) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) {noformat}

    Atlassian JIRA | 3 years ago | Marcus Silveira [Atlassian]
    java.lang.NullPointerException: charsetName

  1. Handemelindo 1 times, last 3 days ago
  2. kid 1 times, last 3 weeks ago
  3. Tahir 8 times, last 2 months ago
  4. rlovtangen 2 times, last 3 months ago
  5. Christopher 3 times, last 3 months ago
5 more registered users
18 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

    charsetName

    at java.io.InputStreamReader.<init>()
  2. Java RT
    InputStreamReader.<init>
    1. java.io.InputStreamReader.<init>(Unknown Source)
    1 frame
  3. oracle.apps.fnd
    Monitor.init
    1. oracle.apps.fnd.wf.WFUtil.fetchThuUrl(WFUtil.java)
    2. oracle.apps.fnd.wf.WFResourceManager.loadResources(WFResourceManager.java)
    3. oracle.apps.fnd.wf.WFContext.<init>(WFContext.java)
    4. oracle.apps.fnd.wf.Monitor.init(Monitor.java)
    4 frames
  4. Java RT
    Thread.run
    1. sun.applet.AppletPanel.run(Unknown Source)
    2. java.lang.Thread.run(Unknown Source)
    2 frames