IBM Support

PI39369: NullPointerException error may occur when security is enabled and provisioning is disabled.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • NullPointerException error may occur when security is enabled
    and provisioning is disabled, i.e., when the "Start
    components as needed" option is not checked from the admin
    console.
    
    The following call stack can be seen in log files:
    
    [23.02.15 07:57:07:634 CET] 0000002c webapp E
    com.ibm.ws.webcontainer.webapp.WebApp logServletError
    SRVE0293E: [Servlet-Fehler]-[ServletNameNotFound]:
    java.lang.NullPointerException
    
    at
    com.ibm.ws.security.web.WebConstraintsTable.getRequiredRoles(Web
    ConstraintsTable.java:205)
    at
    com.ibm.ws.security.core.PermissionRoleMap.getRequiredRoles(Perm
    issionRoleMap.java:104)
    at
    com.ibm.ws.security.web.WebCollaborator.getRequiredRoles(WebColl
    aborator.java:1907)
    at
    com.ibm.ws.security.web.WebCollaborator.authorize(WebCollaborato
    r.java:612)
    at
    com.ibm.ws.security.web.EJSWebCollaborator.preInvoke(EJSWebColla
    borator.java:434)
    ... ...
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server with security enabled.               *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException error may occur    *
    *                      when security is enabled and            *
    *                      provisioning is disabled.               *
    ****************************************************************
    * RECOMMENDATION:  Apply a fix pack that contains this APAR.   *
    ****************************************************************
    When the following <security-constraint>, without any
    <auth-constraint> or <user-data-constraint>, was configured in
    the web.xml:
    <security-constraint>
    <display-name>Test Service</display-name>
    <web-resource-collection>
    <web-resource-name>Test Service</web-resource-name>
    <url-pattern>/servlet/TestServiceImpl</url-pattern>
    </web-resource-collection>
    </security-constraint>
    The NullPointerException error occurred when server
    provisioning was disabled.
    

Problem conclusion

  • The error occurred because the Web constraints table was not
    correctly initialized for this configuration.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.11 and 8.5.5.7.  Please refer to the Recommended
    Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI39369

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-04-17

  • Closed date

    2015-05-21

  • Last modified date

    2015-05-21

  • 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

  • R700 PSY

       UP

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022