on 09-09-2011 9:54 AM
Hi all there,
I'm facing the following error while we try to upload the Authorisation object text file in RAR (5.3 SP9) :
[Ljava.lang.Object; incompatible with [Lcom.virsa.cc.rulearchitect.dao.dto.ChangeLogDTO;
com.virsa.cc.comp.UploadTexts.onActionUploadTextObjs(UploadTexts.java:621)
com.virsa.cc.comp.wdp.InternalUploadTexts.wdInvokeEventHandler(InternalUploadTexts.java:170)
com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
java.security.AccessController.doPrivileged(AccessController.java:219)
com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
I tried to shorten the file to it's minimum as a test, checked there are no special characters, encoded in UTF-8 and no extra tabs or CR/LF (checked with notepad++ displaying all non-displayed charecters).
Any clues about this error ?
Thanks.
Hi Clement,
Try to put it on UTF without BOM, and tell us something.
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi and thanks to the answers so far.
I forgot to mention some points :
- I'm using forground import
- we are trying to use RAR to run risk analysis on non-sap systems as well as SAP (single or cross-systems).
So the file I'm trying to upload does not come from a SAP backen, but was created from scratch.
However the data in the files are coherent (and I compared with a SAP extraction, the format is the same)
here is a sample of the file I try to upload : (an that is actually what I'm trying to import as a test file)
sap_auth.txt:
OEITIAC GTIAC SEL 1
OEITIAC GTIAC MOD 1
OEITIAC GTIAC INS 1
OEITIAC GTIAC SUP 1
each element (ACT/PRM/FLD/VAL) is defined in the sap_desc.txt file that I loaded first (without error).
note that each column is separated by a single TAB (with an empty column at the end of each line).
each line is terminated by a CR/LF
I tried UTF-8 with and W/O BOM
Regards,
Hi,
Are you trying a background job while uploading the text files. Try to upload through foreground as there is no specific error in the log.
Best Regards,
Srihari.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.