on 12-24-2009 6:44 AM
Hi All,
Im implementing a calendar in WD java with SAP Netweaver7.1.Whne i deploy and run the application,im able to view the calender.But when i try to create Entry or edit the entry in the calendar,it says the below error.
*error on create entry*
java.lang.NullPointerException
at com.sap.demo.calender.calendarapp.comp.Calendarview.onActionCreateEntry(Calendarview.java:294)
at com.sap.demo.calender.calendarapp.comp.wdp.InternalCalendarview.wdInvokeEventHandler(InternalCalendarview.java:257)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:72)
at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:156)
at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:91)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:162)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:110)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:97)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:514)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:52)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1547)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1361)
at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:154)
error on edit entry
java.lang.ClassCastException: class java.lang.String:null incompatible with interface com.sap.tc.webdynpro.services.session.api.IWDWindow:service:tcwdwebdynpro com.sap.engine.boot.loader.ResourceMultiParentClassLoader 140c3b9 alive
at com.sap.demo.calender.calendarapp.comp.wdp.InternalCalendarview.wdInvokeEventHandler(InternalCalendarview.java:252)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:72)
at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:156)
at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:91)
I have followed the doc from the below link.
can anyone help me to solve the issue?
regards
Nithya
Edited by: Nithya K on Dec 24, 2009 7:44 AM
Without seeing the code at that line this is difficult to answer. Maybe the action handler accesses some action parameter and you did not define an event parameter mapping that fills the parameter?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Armin,
Thanks for your reply.
Im getting error on the below line.
<b> wdContext.currentPopUpElement().setWindowInstance(window);</b>
I have followed the below link to implement the calendar.
Please help me to solve this issue.
Regards,
Nithya
Edited by: Nithya K on Dec 28, 2009 7:16 AM
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.