java.lang.NullPointerException: charsetName

Oracle Community | Jacob Madsen | 1 decade ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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<init>(Unknown Source) at com.sun.mail.handlers.text_plain.getContent( at javax.activation.DataSourceDataContentHandler.getContent(Unknown Source) at javax.activation.DataHandler.getContent(Unknown Source) at javax.mail.internet.MimeBodyPart.getContent( at com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.handleMultipart( at com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.createAttachmentsForMessage( at com.atlassian.jira.plugins.mail.handlers.CreateIssueHandler.handleMessage( at com.atlassian.jira.plugins.mail.handlers.CreateOrCommentHandler.handleMessage( at$1.process( at$MessageProviderImpl.getAndProcessMail( at at at at com.atlassian.jira.service.ServiceRunner.execute( at at org.quartz.simpl.SimpleThreadPool$ {noformat}

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

    Workflow 2.6.4 - Diagram not displayed

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


  2. Java RT
    1.<init>(Unknown Source)
    1 frame
  3. oracle.forms.webutil
    1. oracle.forms.webutil.file.FileFunctions.fopen(Unknown Source)
    2. oracle.forms.webutil.file.FileFunctions.getProperty(Unknown Source)
    2 frames
  4. oracle.forms.handler
    1. oracle.forms.handler.UICommon.onGet(Unknown Source)
    1 frame
  5. oracle.forms.engine
    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
    1. oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
    2. oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
    2 frames
  7. Java RT
    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. Source)
    15 frames