IBM Support

JR50956: YOU RECEIVE A NULLPOINTEREXCEPTION FROM THE MIMETYPEUTILS CLASS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You might notice a NullPointerException in the server logs,
    logged by by a class named MimeTypeUtils.
    
    These are the errors that will be logged.
    .
    [3/15/17 18:27:51:985 CST] 000008d3 ServletWrappe E
    com.ibm.ws.webcontainer.servlet.ServletWrapper service
    SRVE0068E: An exception was thrown by one of the service methods
     of the servlet [/data-redirect.jsp] in application
    [IBM_BPM_Teamworks_AppCluster]. Exception created :
    [java.lang.NullPointerException
     at
    com.lombardisoftware.servlet.util.MimeTypeUtils.getMimeTypeForDo
    wnloadableData(MimeTypeUtils.java:25)
     at
    com.ibm._jsp._data_2D_redirect._jspService(_data_2D_redirect.jav
    a:96)
     at
    com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
     at
    com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWr
    apper.java:307)
     at
    com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java
    :562)
     at
    com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:
    255)
     at
    com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.j
    ava:259)
    
    AND
    
    [3/15/17 18:27:51:987 CST] 000008d3 LocalTranCoor E   WLTC0017E:
     Resources rolled back due to setRollbackOnly() being called.
    
    [3/15/17 18:27:51:987 CST] 000008d3 webapp        E
    com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E:
    [Servlet Error]-[/data-redirect.jsp]:
    java.lang.NullPointerException
     at
    com.lombardisoftware.servlet.util.MimeTypeUtils.getMimeTypeForDo
    wnloadableData(MimeTypeUtils.java:25)
     at
    com.ibm._jsp._data_2D_redirect._jspService(_data_2D_redirect.jav
    a:96)
    

Local fix

Problem summary

  • This error can occur because of unexpected data, such as when
    you do not specify a file name while exporting data from IBM
    Process Portal.
    

Problem conclusion

  • A fix is available for IBM BPM V8.0.1.2 that handles unexpected
    conditions and prevents the exception from occurring.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR50956

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-08-06

  • Closed date

    2017-03-20

  • Last modified date

    2017-03-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

  • R855 PSY

       UP

  • R856 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
20 March 2017