IBM Support

PM82706: ENABLING THE SECURITY AUDIT SERVICE THROWS A NULLPOINTEREXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Enabling the security Audit service causes the below Exception
    to be shown in the dmgr, nodeagent and server logs after
    restarting the processes.
    
    As a result, the Security Audit service is not initialized and
    no security audit logs are written to the specified location.
    
    
    [24/01/13 08:44:57:200 GMT] 00000001 AuditServiceI E
    SECJ6008E: Exception caught in AuditService initialization,
    Exception = java.lang.NullPointerException
     at
    com.ibm.ws.security.audit.AuditServiceImpl.refresh(AuditServiceI
    mpl.java:855)
     at
    com.ibm.ws.security.audit.AuditServiceImpl.<init>(AuditServiceIm
    pl.java:788)
    

Local fix

  • Log into the adminconsole, go to
    panel "Security auditing > Audit monitor". From this panel:
    1) check box "Email sent to notification list"
    2) add any email or string in the field "Email address to add".
    3) add the email and save.
    4) removed the newly added email.
    5) uncheck box "Email sent to notification list"
    6) save.
    
    This should prevent the nullpointer exception.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: When configuring Security Audit         *
    *                      through scripting and monitor           *
    *                      notification email list is not set, a   *
    *                      NullPointerException could occur.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Security Auditing includes an Audit Monitor. When "Audit
    subsystem failure action" is configured to anything other than
    "No Warning" and no email list is defined the following NPE
    will occur:
    [31/01/13 09:04:13:979 GMT] 00000001 SystemErr     R
    java.lang.NullPointerException
    at
    com.ibm.ws.security.audit.AuditServiceImpl.refresh(AuditServiceI
    mpl.java:855)
    at
    com.ibm.ws.security.audit.AuditServiceImpl.<init>(AuditServiceIm
    pl.java:788)
    at
    com.ibm.ws.security.audit.AuditServiceImpl.initAuditService(Audi
    tServiceImpl.java:248)
    at
    com.ibm.ws.security.core.distSecurityComponentImpl.initializeAud
    it(distSecurityComponentImpl.java:983)
    at
    com.ibm.ws.security.core.distSecurityComponentImpl.initialize(di
    stSecurityComponentImpl.java:368)
    at
    com.ibm.ws.security.core.SecurityComponentImpl.initialize(Securi
    tyComponentImpl.java:94)
    at
    com.ibm.ws.runtime.component.ContainerHelper.initWsComponent(Con
    tainerHelper.java:1192)
    at
    com.ibm.ws.runtime.component.ContainerHelper.initializeComponent
    (ContainerHelper.java:1099)
    at
    com.ibm.ws.runtime.component.ContainerHelper.initializeComponent
    s(ContainerHelper.java:901)
    at
    com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(
    ContainerImpl.java:776)
    at
    com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(
    ContainerImpl.java:750)
    at
    com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.ja
    va:333)
    at
    com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl
    .java:336)
    at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:267)
    at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:730)
    at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:23
    4)
    at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:96)
    at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:77)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodW
    ithException(EclipseAppContainer.java:587)
    at
    org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseApp
    Handle.java:198)
    at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.run
    Application(EclipseAppLauncher.java:110)
    at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.sta
    rt(EclipseAppLauncher.java:79)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
    er.java:369)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
    er.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
    at org.eclipse.core.launcher.Main.run(Main.java:981)
    at
    com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLaunche
    r.java:379)
    at
    com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:15
    0)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM82706

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-13

  • Closed date

    2013-05-07

  • Last modified date

    2013-07-22

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 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.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 January 2022