Skip to Content
author's profile photo Former Member
Former Member

SAP Web AS Java Start Page

Hello community,

recently I installed a new Web AS Java for ADS (NW 7.4). After that I upgraded the system to the latest stack (SPS13).

Everything went fine and all tests were successful. The system now is the new ADS Server.

However, I'm facing a curious behavior regarding accessing to the AS Java Instance.

http://<hostname>:<Port>/nwa --> Success (login prompt appears)

http://<hostname>:<Port>/useradmin --> Success (login prompt appears)

But when entering http://<hostname>:<Port>/StartPage I receive the following error:

Here is an extract from the default trace:

[EXCEPTION]

com.sap.engine.services.servlets_jsp.server.exceptions.WebServletException: Web Container cannot put into service the following class [null].The error is [java.lang.NullPointerException: while trying to invoke the method java.lang.Object.hashCode() of a null object loaded from local variable 'key'].

at com.sap.engine.services.servlets_jsp.server.application.WebComponents.getServlet(WebComponents.java:841)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

#

#2.0 #2016 07 06 08:37:44:660#+0200#Error#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#

com.sap.ASJ.web.000137#BC-JAS-ADM-ADM#sap.com/com.sap.engine.docs.examples#C000AC14224507FB000000000129000E#206746251000000004#sap.com/com.sap.engine.docs.examples#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#0##257429E3434411E6848600000C52B28B#0c06559d434411e6b26000000c52b28b##0#Thread[HTTP Worker [@859581889],5,Dedicated_Application_Thread]#Plain##

Cannot process an HTTP request to servlet [startPage] in [/] web application.

[EXCEPTION]

com.sap.engine.services.servlets_jsp.server.exceptions.WebServletException: Web Container cannot put into service the following class [null].The error is [java.lang.NullPointerException: while trying to invoke the method java.lang.Object.hashCode() of a null object loaded from local variable 'key'].

at com.sap.engine.services.servlets_jsp.server.application.WebComponents.getServlet(WebComponents.java:841)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

#

#2.0 #2016 07 06 08:37:44:661#+0200#Error#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#

com.sap.ASJ.web.000137#BC-JAS-ADM-ADM#sap.com/com.sap.engine.docs.examples#C000AC14224507FB000000020129000E#206746251000000004#sap.com/com.sap.engine.docs.examples#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#0##257429E3434411E6848600000C52B28B#0c06559d434411e6b26000000c52b28b##0#Thread[HTTP Worker [@859581889],5,Dedicated_Application_Thread]#Plain##

Cannot process an HTTP request to servlet [startPage] in [/] web application.

For more details on the problem please check traces searching by logId: C000AC14224507FB000000000129000E#

#2.0 #2016 07 06 08:37:44:662#+0200#Error#com.sap.engine.services.servlets_jsp.ISE500#

com.sap.ASJ.web.000500#BC-JAS-ADM-ADM#sap.com/com.sap.engine.docs.examples#C000AC14224507FB000000030129000E#206746251000000004#sap.com/com.sap.engine.docs.examples#com.sap.engine.services.servlets_jsp.ISE500#Guest#0##257429E3434411E6848600000C52B28B#0c06559d434411e6b26000000c52b28b##0#Thread[HTTP Worker [@859581889],5,Dedicated_Application_Thread]#Plain##

500 Internal Server Error is returned for HTTP request [http://p20ci:52000/startPage]:

component [startPage],

web module [/],

application [sap.com/com.sap.engine.docs.examples],

DC name [sap.com/com.sap.engine.docs.examples],

CSN component[BC-JAS-ADM-ADM],

problem categorization [com.sap.ASJ.web.000137],

internal categorization [-1803347861].

[EXCEPTION]

com.sap.engine.services.servlets_jsp.server.exceptions.WebServletException: Web Container cannot put into service the following class [null].The error is [java.lang.NullPointerException: while trying to invoke the method java.lang.Object.hashCode() of a null object loaded from local variable 'key'].

at com.sap.engine.services.servlets_jsp.server.application.WebComponents.getServlet(WebComponents.java:841)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

I have looked for appropriate notes for this error but didn't find one.

Any idea on how to solve this problem???

Thanks in advance.

Regards, Henning

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Jul 07, 2016 at 11:22 AM

    Dear Henning,

    Have you tried to run the force bootstrap? The steps are:

    1) Stop the j2ee server. Under cluster directory (/usr/sap/<SID>/J<nr>/cluster) rename server0 and subsequent nodes to ".old" respectively. The intention here is to create a backup of the existing files. Do not rename the bootstrap folder as this is needed for the sync process.


    2) Change bootstrap.properties file to ensure it has element.resynch=force, per SAP note 710663.

    3) Restart the J2EE Engine. The new server folders should be created during the bootstrapping and this is a time consuming process as all the contents of the server nodes will be synched with the DB content. Wait about 15 minutes and start all the deployed applications on the server, by following SAP note 2172209.

    4) Finally, remove the element.resynch=force property or change it to element.resynch=detect which is the default setting.

    Kind regards,

    Cris

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 07, 2016 at 11:47 AM

    Dear Henning,

    Hope you are doing good.


    Please try Cristiano's steps. If the issue persists, please redeploy the latest patch for J2EE-APPS as there is a this is the SCA that has the docs.examples..SDA file.

    You are getting a null pointer exception. As you would be aware, a java.lang.NullPointerException exception is a runtime Exception thrown by the JVM when your application code, other referenced API(s) or middleware (Weblogic, WAS, JBoss...) is attempting to invoke an instance method of a null object or modify a particular field of a null object.

    Also, due to the intertwined dependencies, it is highly recommended to deploy the latest patches for the other SCAs as well mentioned in note 1794179 when you do a SCA upgrade.

    Deploy them using the any tool mentioned in sap note 1715441.


    Hope this helps.

    _ _ _ _ _ _ _ __ _ _

    Kind Regards,

    Hemanth

    SAP Product Support

    _ _ _ _ _ _ _ _ _ _ _

    Join me online: http://scn.sap.com/people/hemanth.kumar/content

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 26, 2016 at 08:10 PM

    we are also having the same issue, I tried Cristiano suggestion renaming the server0.old etc but issue is popping up. Any help?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 27, 2016 at 06:46 PM

    Dear All,

    Hope you are doing good.

    We've identified an issue in the AIX SAP JVM and are currently working on a fix. Will update you once the fix is available.

    Hope this helps.

    _ _ _ _ _ _ _ __ _ _

    Kind Regards,

    Hemanth

    SAP Product Support

    _ _ _ _ _ _ _ _ _ _ _

    Join me online: http://scn.sap.com/people/hemanth.kumar/content

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.