SAP Knowledge Base Article - Preview

3652877 - SAP NetWeaver failed to start due to: java.lang.NullPointerException: while trying to invoke the method java.lang.Object.hashCode() of a null object loaded from local variable 'key'

Symptom

Following error is seen multiple times in the defaultTrace log: 

com.sap.ASJ.web.000500#BC-NWA-INC-UIF#sap.com/tc~lm~itsam~ui~mainframe~wd#sap.com/tc~lm~itsam~ui~mainframe~wd#com.sap.engine.services.servlets_jsp.
500 Internal Server Error is returned for HTTP request [http://hostname:<PORT>/webdynpro/resources/sap.com/tc~lm~itsam~ui~mainframe~wd/FloorPlanApp]:
  component [dispatcher],
  web module [webdynpro/resources/sap.com/tc~lm~itsam~ui~mainframe~wd],
  application [sap.com/tc~lm~itsam~ui~mainframe~wd],
  DC name [sap.com/tc~lm~itsam~ui~mainframe~wd],
  CSN component[BC-NWA-INC-UIF]

[EXCEPTION]
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exception was thrown in preprocessing phase of application session xyz. The causing exception is nested. RID=xyz
    ...
Caused by: com.sap.tc.webdynpro.services.exceptions.ApplicationFaultException: wdDoInit: exception thrown in this user coding area
   ...
Caused by: javax.ejb.EJBException: Cannot perform injection over bean instance xyz failed. Could not get a value to be injected from the factory.
...
Caused by: java.lang.RuntimeException: com.sap.engine.services.orpersistence.sqlmapper.generate.SQLMappingException: SQL Mapper Implementation null could not be loaded.
    ...
Caused by: com.sap.engine.services.orpersistence.sqlmapper.generate.SQLMappingException: SQL Mapper Implementation null could not be loaded.
    ...
Caused by: java.lang.NullPointerException: while trying to invoke the method java.lang.Object.hashCode() of a null object loaded from local variable 'key'


Read more...

Environment

SAP NetWeaver Application Server Java

Product

SAP NetWeaver Application Server for Java all versions

Keywords

variable 'key', java.lang.Object.hashCode(), 500 Internal Server Error, Preprocessing phase of application , KBA , BC-JVM , SAP Java Virtual Machine , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.