Skip to main content

A NullPointerException in the container during the request processing

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
cf16
Offline
Joined: 2013-04-11

I changed something in webcontainer / timeout or maybe thread-pool, now I even can't remember and I have following errors on glassfish start (it binds and listen on :4848 but blank page in browser and of course applications don't work):

(I have been changing thread pools, [increasing] thread max size, timeout session to 0)

[#|2013-05-11T18:54:02.697+0200|SEVERE|glassfish3.1.2|org.apache.catalina.connector.CoyoteAdapter|_ThreadID=57;_ThreadName=Thread-2;|PWC3989: An exception or error occurred in the container during the request processing
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
at java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:1175)
at org.apache.catalina.session.ManagerBase.remove(ManagerBase.java:926)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:847)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:769)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:757)
at org.apache.catalina.session.StandardSession.setMaxInactiveInterval(StandardSession.java:587)
at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:767)
at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:312)
at org.apache.catalina.connector.Request.doGetSession(Request.java:2918)
at org.apache.catalina.connector.Request.getSession(Request.java:2583)
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:920)
at org.glassfish.admingui.common.security.AdminConsoleAuthModule.validateRequest(AdminConsoleAuthModule.java:192)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthContext.validateRequest(GFServerConfigProvider.java:1171)
at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1452)
at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1330)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:623)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)

and:

[#|2013-05-11T18:54:02.730+0200|SEVERE|glassfish3.1.2|org.apache.catalina.connector.CoyoteAdapter|_ThreadID=56;_ThreadName=Thread-2;|PWC3989: An exception or error occurred in the container during the request processing
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
at java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:1175)
at org.apache.catalina.session.ManagerBase.remove(ManagerBase.java:926)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:847)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:769)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:757)
at org.apache.catalina.session.StandardSession.setMaxInactiveInterval(StandardSession.java:587)
at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:767)
at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:312)
at org.apache.catalina.connector.Request.doGetSession(Request.java:2918)
at org.apache.catalina.connector.Request.getSession(Request.java:2583)
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:920)

what can I do? how restore settings or set this somehow? I work in terminal asadmin now but still can't find what is wrong. Please help.