SAP Knowledge Base Article - Preview

3712563 - AS JAVA - Java.lang.NullPointerException: while trying to invoke the method com.sap.js.nwa.cfg.Repository.getConfiguration

Symptom

500 internal error message is returned accessing https://<host>:<port>/nwa or https://<host>:<port>/StartPage


In defaulTrace_XX.trc:

500 Internal Server Error is returned for HTTP request [http://<hostname>:<port>/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 [-865245570].

[EXCEPTION]
java.lang.SecurityException: java.lang.SecurityException: User 'Guest' does not have permission for the security operation!
    at com.sap.engine.services.security.restriction.Restrictions.checkPermission(Restrictions.java:109)

BC-NWA-INC-UIF#sap.com/tc~lm~itsam~ui~mainframe~wd#C000AC18008316FF000000000006BC07#177987350000000004#sap.com/tc~lm~itsam~ui~mainframe~wd#com.sap.engine.services.servlets_jsp.ISE500#Administrator#4#9104480EFDB911F0C6C100000A9BDF16#8b1761dffdb911f097c900000a9bdf16#0#Thread[HTTP Worker [@2062752723],5,Dedicated_Application_Thread]#Plain#
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],
  problem categorization [],
  internal categorization [1763519811].

[EXCEPTION]
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exception was thrown in preprocessing phase of application session 910bda67fdb911f0c62d00000a9bdf16. The causing exception is nested. RID=9104480ffdb911f0a35800000a9bdf16
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:665)

...
Caused by: com.sap.tc.webdynpro.services.exceptions.ApplicationFaultException: wdInvokeEventHandler: exception thrown in this user coding area   
...
Caused by: java.lang.NullPointerException: while trying to invoke the method com.sap.js.nwa.cfg.Repository.getConfiguration(java.util.Locale) of a null object returned from com.sap.js.nwa.nav_engine.transitionengine.NWANavigationEngineImpl.getRepository()
....   
at com.sap.js.nwa.nav_engine.transitionengine.NWANavigationEngineImpl.getNavigationTree(NWANavigationEngineImpl.java


Read more...

Environment

SAP NetWeaver 7.5

Product

SAP NetWeaver 7.5

Keywords

java.lang.SecurityException, User 'Guest' does not have permission for the security operation,exception thrown in this user coding area ,java.lang.NullPointerException, com.sap.js.nwa.cfg. Repository.getConfiguration, NWANavigationEngineImpl.getNavigationTree , KBA , BC-JAS-ADM-ADM , Administration , 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.