Skip to Content
0
Former Member
Dec 18, 2007 at 10:41 AM

java.lang.NullPointerException error in ESS Leave Request

10 Views

Hi,

I had configured ESS and i'am trying to apply Leave through Leave Request iview which is available through ESS,i had enterd data into the fields and i had defined Approver in back end system,Now when i click on review button it is throwing me this error

"The initial exception that caused the request to fail, was:

java.lang.NullPointerException

at com.sap.tc.webdynpro.repository.model.DelegatorRepositoryModelClass.setRelatedModelObject(DelegatorRepositoryModelClass.java:668)

at com.sap.tc.webdynpro.progmodel.repository.IWDViewUsageInfo$Implementation.setComponentUsageInternal(IWDViewUsageInfo.java:413)

at com.sap.tc.webdynpro.progmodel.repository.IWDViewUsageInfo$Implementation.setComponentUsage(IWDViewUsageInfo.java:698)

at com.sap.pcuigp.xssfpm.wd.FPMComponent.buildNextViewAssembly(FPMComponent.java:300)

at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.buildNextViewAssembly(InternalFPMComponent.java:153)

java.lang.NullPointerException

* at com.sap.tc.webdynpro.repository.model.DelegatorRepositoryModelClass.setRelatedModelObject(DelegatorRepositoryModelClass.java:668)*

* at com.sap.tc.webdynpro.progmodel.repository.IWDViewUsageInfo$Implementation.setComponentUsageInternal(IWDViewUsageInfo.java:413)*

* at com.sap.tc.webdynpro.progmodel.repository.IWDViewUsageInfo$Implementation.setComponentUsage(IWDViewUsageInfo.java:698)*

* at com.sap.pcuigp.xssfpm.wd.FPMComponent.buildNextViewAssembly(FPMComponent.java:300)*

* at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.buildNextViewAssembly(InternalFPMComponent.java:153)*

* at com.sap.pcuigp.xssfpm.wd.AssemblyModificationView.onPlugIn(AssemblyModificationView.java:128)*

* at com.sap.pcuigp.xssfpm.wd.wdp.InternalAssemblyModificationView.wdInvokeEventHandler(InternalAssemblyModificationView.java:130)*

* at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)*

* at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)*

* at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)*

* at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)*

* at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)*

* at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)*

* at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)*

* at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)*

* at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:731)*

* at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:667)*

* at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)*

* at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)*

* at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)*

* at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:879)*

* at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)*

* at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1291)*

* at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)*

* at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:831)*

* at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)*

* at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)*

* at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)*

* at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)*

* at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)*

* at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)*

* at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)*

* at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)*

* at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)*

* at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)*

* at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)*

* at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)*

* at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)*

* at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*

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

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

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

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

* at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)*

* at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)*

* at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)*

* at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)*

* at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)*

* at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)*

* at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)*

* at java.security.AccessController.doPrivileged(Native Method)*

* at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)*

* at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)*"

Please guide me in this issue .

With Regards

Praveen