NPE in AppManagementHelper.java:117 - Websphere

This is a discussion on NPE in AppManagementHelper.java:117 - Websphere ; Hi, I deployed my EAR file into WAS 6.1 and switch on a "Enable application security" checkbox. I have received a NullPointerException message when I tried set up "All authenticated" application security setting for my application. Environment: Linux RH4, WAS ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: NPE in AppManagementHelper.java:117

  1. NPE in AppManagementHelper.java:117

    Hi,

    I deployed my EAR file into WAS 6.1 and switch on a "Enable application security" checkbox.
    I have received a NullPointerException message when I tried set up "All authenticated" application security setting for my application.

    Environment: Linux RH4, WAS ND 6.1.0.19, EJB 3.0 6.1.0.19


    java.lang.NullPointerException
    at com.ibm.ws.console.appmanagement.AppManagementHelp er.getNextStep(AppManagementHelper.java:117)
    at com.ibm.ws.console.appmanagement.action.MapRolesTo UsersAction.execute(MapRolesToUsersAction.java:330 )
    at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1486)
    at org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:528)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1097)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1038)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:145)
    at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUp CommandAssistence(WSCUrlFilter.java:792)
    at com.ibm.ws.console.core.servlet.WSCUrlFilter.conti nueStoringTaskState(WSCUrlFilter.java:363)
    at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFil ter(WSCUrlFilter.java:229)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:130)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java:87)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:834)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:682)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:566)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.h andleRequest(ServletWrapper.java:486)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3440)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:267)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:815)
    at com.ibm.ws.wswebcontainer.WebContainer.handleReque st(WebContainer.java:1461)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:118)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:458)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:387)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:102)
    at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$ SSLReadCompletedCallback.complete(SSLReadServiceCo ntext.java:1818)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncCha nnelFuture.java:205)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1473)

  2. Re: NPE in AppManagementHelper.java:117

    glushanin@gmail.com wrote:
    > Hi,
    >
    > I deployed my EAR file into WAS 6.1 and switch on a "Enable application security" checkbox.
    > I have received a NullPointerException message when I tried set up "All authenticated" application security setting for my application.
    >
    > Environment: Linux RH4, WAS ND 6.1.0.19, EJB 3.0 6.1.0.19
    >
    >
    > java.lang.NullPointerException
    > at com.ibm.ws.console.appmanagement.AppManagementHelp er.getNextStep(AppManagementHelper.java:117)
    > at com.ibm.ws.console.appmanagement.action.MapRolesTo UsersAction.execute(MapRolesToUsersAction.java:330 )
    > at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:484)
    > at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:274)
    > at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1486)
    > at org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:528)
    > at javax.servlet.http.HttpServlet.service(HttpServlet .java:763)
    > at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
    > at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1097)
    > at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1038)
    > at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:145)
    > at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUp CommandAssistence(WSCUrlFilter.java:792)
    > at com.ibm.ws.console.core.servlet.WSCUrlFilter.conti nueStoringTaskState(WSCUrlFilter.java:363)
    > at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFil ter(WSCUrlFilter.java:229)
    > at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:190)
    > at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:130)
    > at com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java:87)
    > at com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:834)
    > at com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:682)
    > at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:566)
    > at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.h andleRequest(ServletWrapper.java:486)
    > at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3440)
    > at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:267)
    > at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:815)
    > at com.ibm.ws.wswebcontainer.WebContainer.handleReque st(WebContainer.java:1461)
    > at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:118)
    > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:458)
    > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:387)
    > at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:102)
    > at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$ SSLReadCompletedCallback.complete(SSLReadServiceCo ntext.java:1818)
    > at com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :165)
    > at com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:217)
    > at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncCha nnelFuture.java:205)
    > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1473)
    >

    You probably need to open a PMR with IBM.
    Ken

  3. Re: NPE in AppManagementHelper.java:117

    I have the same problem too with Windows XP SP2, WAS 6.1, EJB 3.0

  4. Re: NPE in AppManagementHelper.java:117

    Did you bounce the app server after enabling security? Often times that is needed when security changes are made.

  5. Re: NPE in AppManagementHelper.java:117

    Yes, I restarted the application server after the security setting changes.

+ Reply to Thread