IBM Support

PH37617: A NULLPOINTEREXCEPTION OCCURS WHEN PROCESSING A VIRTUALHOSTS.XML THAT CONTAINS A MIMETYPE ENTRY WITH NO TYPE SPECIFIED.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • After the customer upgraded to 9.0.5.7 we were able to determine
    the cause of the NPE. It looks like there is a mimeTypes entry
    in the customer?s virtual hosts.xml that doesn?t have a type:
       <mimeTypes xmi:id="MimeEntry_998">
         <extensions>kmz</extensions>
       </mimeTypes>
    
    
    
    The entry is kind of odd given there is another entry with
    that same id (MimeEntry_998) and a different entry for that same
    extension (kmz) so the customer may want to determine whether
    that entry is needed. That being said, according to the config
    docs a type is not required so please open an APAR for us to
    update our code to handle this scenario.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: The WebSphere WASPostUpgrade tool fails *
    *                      with a NullPointerException while       *
    *                      processing virtual hosts.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When WASPostUpgrade is processing virtualhosts.xml, if there is
    a
    mimeType entry with no type specified a NullPointerException
    will
    be thrown, causing the migration to fail.
    

Problem conclusion

  • The WASPostUpgrade tool was updated to handle mimeType entries
    with no type specified.
    
    The fix for this APAR is targeted for inclusion in fix pack
    8.5.5.21 and 9.0.5.9. For more information, see 'Recommended
    Updates for WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH37617

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-05-27

  • Closed date

    2021-06-02

  • Last modified date

    2021-06-02

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900"}]

Document Information

Modified date:
03 June 2021