Skip to Content
0
Former Member
Mar 21, 2007 at 08:04 AM

com.sap.caf.rt.exception.CAFDeleteException - Found in CAF Service Browser

28 Views

Hi all,

I have faced a new problem in CAF service browser. I have created a simple CAF entity service with local persistency. After build and deployment I have tried to test it through CAF service browser. Through CAF service browser I have entered few data and saved it in CAF local DB. Up to this step it is absolutely fine. Now I am trying to delete one row from CAF service browser. So I have selected the row and clocked on "Delete" button. Next I have pushed on "Save" button.Then I have got an exception and the row is not deleted from CAF DB. The exception is like

ERROR. The following exception occurred while processing your request: com.sap.caf.rt.exception.CAFDeleteException.: . My NWDS and WAS both are SP10. Could anybody give me any suggestion to solve the problem? The details of exception is like following

com.sap.caf.rt.exception.CAFDeleteException

at com.sap.emptest.besrv.customer.CustomerServiceBean.delete(CustomerServiceBean.java:277)

at com.sap.emptest.besrv.customer.CustomerServiceLocalLocalObjectImpl0_0.delete(CustomerServiceLocalLocalObjectImpl0_0.java:478)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

at java.lang.reflect.Method.invoke(Method.java:391)

at com.sap.caf.rt.services.serviceaccess.ServiceWrapper.deleteDataObject(ServiceWrapper.java:222)

at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessBeanImpl.deleteDataObject(CAFServiceAccessBeanImpl.java:191)

at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessLocalLocalObjectImpl2_0.deleteDataObject(CAFServiceAccessLocalLocalObjectImpl2_0.java:475)

at com.sap.caf.rt.ui.cool.generic.AspectServiceAccess.deleteAspectRows(AspectServiceAccess.java:243)

at com.sap.caf.rt.ui.cool.generic.Aspect.deleteRows(Aspect.java:1391)

at com.sap.caf.rt.ui.cool.generic.Aspect.sendChanges(Aspect.java:1523)

at com.sap.caf.rt.ui.cool.generic.ServiceModule.sendChanges(ServiceModule.java:298)

at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.TableViewCC.saveData(TableViewCC.java:379)

at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.wdp.InternalTableViewCC.saveData(InternalTableViewCC.java:208)

at com.sap.caf.ui.servicebrowser.components.visualizer.views.TableViewCV.onActionSave(TableViewCV.java:394)

at com.sap.caf.ui.servicebrowser.components.visualizer.views.wdp.InternalTableViewCV.wdInvokeEventHandler(InternalTableViewCV.java:371)

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

at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)

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

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

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

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

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

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(AccessController.java:215)

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

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

Caused by: com.sap.caf.rt.exception.DataAccessException

at com.sap.caf.rt.bol.da.jdo.JDODADataAccessService.remove(JDODADataAccessService.java:194)

at com.sap.emptest.besrv.customer.CustomerServiceBean.delete(CustomerServiceBean.java:271)

... 46 more

Caused by: java.lang.NullPointerException

at com.sap.caf.rt.internal.bol.da.BEReferencesRemover.initialize(BEReferencesRemover.java:115)

at com.sap.caf.rt.internal.bol.da.BEReferencesRemover.getMetaInfo(BEReferencesRemover.java:213)

at com.sap.caf.rt.internal.bol.da.BEReferencesRemover.removeReferences(BEReferencesRemover.java:242)

at com.sap.caf.rt.bol.da.jdo.JDODADataAccessService.remove(JDODADataAccessService.java:175)

... 47 more