cancel
Showing results for 
Search instead for 
Did you mean: 

Error in creating expense report

Former Member
0 Kudos
223

Hi All,

We are getting an error when creating travel expense reports via ESS. Upon clicking Save, wwe get the following error msg:

java.lang.NullPointerException

at com.sap.xss.ser.xssconfview.vc.VcLinksView.wdDoModifyView(VcLinksView.java:167)

at com.sap.xss.ser.xssconfview.vc.wdp.InternalVcLinksView.wdDoModifyView(InternalVcLinksView.java:354)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)

at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:488)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)

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

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

However, in the backend when we check transaction PR05, the trip has been created and updated (despite the error msg on portal). From this, we can conclude that atleast JCo connections are working fine.

Any clues from the gurus out there on how to troubleshoot this? Thanx a ton!

cheers

Prachi

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

check these note 1118008

Former Member
0 Kudos

please check the customization node for travel services in spro. make sure you have done the mandatory config for travel expense report.

if possible please involve your Functional consultant please.

ChrisSolomon
Active Contributor
0 Kudos

Looks like missing config as well as the users you are testing with are not assigned to employees or if they are, their end-date(validity) has expired.

Former Member
0 Kudos

Hi Chris,

we are able to create and update trips in R/3 backend with these same users. Even via ESS like i mentioned above, the trips are getting updated in the backend, but somehow the response from R/3 is not coming through in portal and we are seeing the above null pointer exception..

any tips on how to validate the R/3 to portal communication? thanks!!

prachi

suresh_datti
Active Contributor
0 Kudos

You can switch on the Rfc trace(ST01) for the user in question & analyze the trace to see if it throws up any leads. Sometimes, the Portal log also helps you identify errors in the backend.

~Suresh

Former Member
0 Kudos

Hi all,

i haven't been able to resolve this issue yet. Does anybody hv any tips? thanks!

cheers

prachi

MarkusKlein
Active Contributor
0 Kudos

Hello Prachi,

could you please post the entire error stack.

thx

Markus

Former Member
0 Kudos

Hi Markus,

here you go...

java.lang.NullPointerException

at com.sap.xss.ser.xssconfview.vc.VcLinksView.wdDoModifyView(VcLinksView.java:167)

at com.sap.xss.ser.xssconfview.vc.wdp.InternalVcLinksView.wdDoModifyView(InternalVcLinksView.java:354)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)

at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:488)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)

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

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:779)

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

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

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

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

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

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

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

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

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

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:759)

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

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

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

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)

thanks!

Former Member
0 Kudos

Hi,

I found the foll messages from the logs that dont make sense:

#User <ABC> does not exist in this period#

#User <DEF> does not exist in this period#

..and similar message for other users

Also msgs such as:

Pers.no. <xyz> is blocked by user <ABC>#

#Warning#1#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent#Plain###No end date for validity of trip schema PL defined in customizing. Infinite validity is assumed.#

No end date for validity of trip schema 01 defined in customizing. Infinite validity is assumed.#

Would appreciate tips from any experts out there! Thanks!!

prachi

Former Member
0 Kudos

Hi Prachi,

Were you able to solve this error, I am getting the same error when I tried to Create Expense Report & Create Travel Request/Planning in ESS. I created expense report & Travel Request earlier many times and it was working correctly both in R/3 and ESS portal. I made some configuration change in SPRO for Travel Expenses many times all the travel functionalities worked correct but after making one more change yesterday the "java.lang.NullPointerException" is coming. Could you please tell me how you have solved your issue.

Regards,

Latha

Former Member
0 Kudos

latha check if there is any error you are getting in ST22 please.