java.lang.NullPointerException: charsetName

Oracle Community | Jacob Madsen | 1 decade ago
  1. 0

    Client_text_io.fopen causes java.lang.NullPointerException

    Oracle Community | 1 decade ago | Jacob Madsen
    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

    Workflow 2.6.4 - Diagram not displayed

    Oracle Community | 10 years ago | 397224
    java.lang.NullPointerException: charsetName
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.forms.webutil
    FileFunctions.getProperty
    1. oracle.forms.webutil.file.FileFunctions.fopen(Unknown Source)
    2. oracle.forms.webutil.file.FileFunctions.getProperty(Unknown Source)
    2 frames
  4. oracle.forms.handler
    UICommon.onGet
    1. oracle.forms.handler.UICommon.onGet(Unknown Source)
    1 frame
  5. oracle.forms.engine
    Runform.processEventEnd
    1. oracle.forms.engine.Runform.onGetHandler(Unknown Source)
    2. oracle.forms.engine.Runform.processMessage(Unknown Source)
    3. oracle.forms.engine.Runform.processSet(Unknown Source)
    4. oracle.forms.engine.Runform.onMessageReal(Unknown Source)
    5. oracle.forms.engine.Runform.onMessage(Unknown Source)
    6. oracle.forms.engine.Runform.processEventEnd(Unknown Source)
    6 frames
  6. oracle.ewt.lwAWT
    LWComponent.processEvent
    1. oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
    2. oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
    2 frames
  7. Java RT
    EventDispatchThread.run
    1. java.awt.Component.dispatchEventImpl(Unknown Source)
    2. java.awt.Container.dispatchEventImpl(Unknown Source)
    3. java.awt.Component.dispatchEvent(Unknown Source)
    4. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    5. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    6. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    7. java.awt.Container.dispatchEventImpl(Unknown Source)
    8. java.awt.Window.dispatchEventImpl(Unknown Source)
    9. java.awt.Component.dispatchEvent(Unknown Source)
    10. java.awt.EventQueue.dispatchEvent(Unknown Source)
    11. java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    12. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    13. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    14. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    15. java.awt.EventDispatchThread.run(Unknown Source)
    15 frames