Runtime : OBJECTS_OBJREF_NOT_ASSIGNED_NO Exception : CX_SY_REF_IS_INITI
I am getting this error when return to Home page in EP portal. The data access from Wed dynpro.
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "/1BCWDY/806NS8PGV2YQRTLBYZ1Y==CP" had to
terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "CLEAR" "(METHOD)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component.
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
I believe the better forum to post yorr query to, will be [ABAP, General|ABAP Development;.
From the header of that forum:
General questions about the ABAP language and language implementations.
This is not a forum for application specific questions. Web Dynpro , BSP , CRM
development, ... have their own forums.
- Ludek
Similar Messages
-
Portal runtime error exception ID: error in init method
Hi Experts
I am getting the portal runtime error http://<fqdn>:<port>/irj/portal, can anybody suggest me what to do.
"Portal runtime error.
An exception occurred while processing your request. Send the exception ID to your portal administrator.
Exception ID: 02:27_06/09/10_68650050"
Here is the log file
02:27_06/09/10_68650050
[EXCEPTION]
com.sapportals.portal.prt.component.PortalComponentException: Error in init method
Component : com.sap.netweaver.coll.appl.ui.room.CollaborationDetailedNavigation
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:271)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
at com.sapportals.portal.pb.PageBuilder.createIviewProfile(PageBuilder.java:443)
at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:391)
at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:233)
at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:635)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:815)
at com.sapportals.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:703)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)
at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:235)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
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:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.sapportals.portal.navigation.CollaborationNavTree of Portal Component com.sap.netweaver.coll.appl.ui.room.CollaborationDetailedNavigation because: Could not instantiate implementation class
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:269)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
... 35 more
Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [PortalApplicationItem._prepare]: com.sap.netweaver.coll.appl.ui.room
at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:427)
at com.sapportals.portal.prt.core.broker.PortalApplicationItem._refresh(PortalApplicationItem.java:507)
at com.sapportals.portal.prt.core.broker.PortalApplicationItem.getCoreLoader(PortalApplicationItem.java:1360)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.getClassLoader(PortalComponentItem.java:569)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getClassLoader(PortalComponentItemFacade.java:102)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
... 39 more
Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [PortalApplicationItem._prepare]: com.sap.netweaver.bc.rf.service
at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:427)
at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:387)
... 44 more
Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception during start of application: SAPJ2EE::library:signature_lib
at com.sapportals.portal.prt.core.broker.SAPJ2EEApplicationItem.prepare(SAPJ2EEApplicationItem.java:323)
at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:387)
... 45 more
Caused by: com.sapportals.portal.prt.core.broker.SAPJ2EELibraryNotFoundException: Could not find Library SAPJ2EE::library:signature_lib
at com.sapportals.portal.prt.core.broker.SAPJ2EEApplicationItem.prepare(SAPJ2EEApplicationItem.java:277)
... 46 more. . .
Thanks in advance
UdayHi Tobias
Thanks for your response, i can able to access /nwa. The trace file while is posted got from /nwa.
I have restarted the portal. Can you please tell me where can we check the errors when portal started?
Thanks in advance
Uday -
Hi All,
I am configuring SSO between EP7 and SRM 7.0
1) I have created a SRM system in EP system connections works fine with logon ticket.
2) I have uploaded roles from SRM system
but content from these roles throws following exception
Although i have SAP_SRM as system name exception shows System: &#39;SAP_LocalSystem&#39;,
what is the root cause for this exception.
Full Message Text
12:07_02/04/09_0188_7992050
[EXCEPTION]
com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template '<System.Access.ITS.protocol>://<System.Access.ITS.hostname>/sap<ESID>/bc/gui/sap/its/<IAC[SAP_ITS_NAMESPACE]>?sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&DisconnectOnClose=0&DesignBaseUrl=<LAF.BaseUrl[url_ENCODE]>&~design=<LAF.Theme[url_ENCODE]>&<Authentication>&<DynamicParameter[PARAMETER_MAPPING PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>'; the problem occured at position 121. Cannot process expression <System.client> because Invalid System Attribute:
System: &#39;SAP_LocalSystem&#39;,
Attribute: &#39;client&#39;.
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:123)
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.sapapplication.bwc.AbstractBWCComponent.doContent(AbstractBWCComponent.java:68)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
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:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Regards,
MuraliHi Murali,
First of all activate the integrated ITS on backend system , follow the below link to do so
www.arlati.ch/knowhow/archive/Integrated_ITS_WebGui.pdf
In EP where you have created SRM system , there you have to maintain the ITS defination and test the ITS defination.
Also Check the permission of the SRM system which you have created.
Thanks
Anil -
HTML to Web Service Scenario - Runtime Error Exception
Hi Friends,
I am tryin to do HTML to Web Service Scenario for Validating email for the fWeb Service Email
Validation http://www.webservicex.net/ValidateEmail.asmx?wsdl. While executing the scenario in
Integration Directory there is no error but when sending the payload (Payload contains onl)from SAP
HTML then getting error in SXMB_MONI as
"Runtime exception occurred during application mapping com/sap/xi/tf/_MM_EmailRequest_To_ValidateEmail_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog."
Please guide me for the same.
Regards,
Nitin PatilHi,
well it might be the reason that XI is always working with XML but not HTML. It's important that your HTML should be following the XML wellformness. It would be strongly recommanded that you use XHTML but not normal HTML here, because I think XI has no tolerence at all when the inbound HTML is not XML-wellformed.
Try to compose your XHTML like the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title/>
</head>
<body>
<p>some email address</p>
</body>
</html>
Make sure there are no weird characters and empty lines within and before the <?xml
Regards,
Chen -
Runtime Struts Exception on WinXP but not on Linux
I have developed a Struts based application on a Red Hat EL WS machine with JDeveloper 9.5.0.2. Every thing works as expected when I run the application in JDev's OC4J. The views are tested in both Opera and Mozilla browsers.
An other developer (my customer in this case) imports the application to his JDev 9.0.5.2 running on a Win XP box. The application compiles without errors or warnings. At runtime it fails at a Struts <html:form> element in both IE and Firefox with the same exception error 500 with a stack traces starting with:
"javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection"
I have search the web for this exception and found several reasons, but no procurement.
Here is the stack-trace:
500 Internal Server Errorjavax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:798)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
at ItemTester.jspService(ItemTester.jsp:13)
[ItemTester.jsp]
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
When the application initializes in JDev it throws an exception which I do not observe on the Linux box:
19-08-2004 18:34:48 org.apache.struts.action.ActionServlet initServletSEVERE: nulljava.net.MalformedURLException: unknown protocol: classloader at java.net.URL.<init>(URL.java:544) at java.net.URL.<init>(URL.java) at java.net.URL.<init>(URL.java) at oracle.xml.parser.v2.NonValidatingParser.pushExternalDTD(NonValidatingParser.java:510) at oracle.xml.parser.v2.NonValidatingParser.parseDoctypeDecl(NonValidatingParser.java:454) at oracle.xml.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser.java:287) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:266) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149) at org.apache.commons.digester.Digester.parse(Digester.java:1568) at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1433) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:259) at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2094) at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4523) at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765) at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497) at com.evermind.server.Application.getHttpApplication(Application.java:886) at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688) at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:420) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:422) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)Frank,
It is possible that he did use OC4J with SSL before this project, but I cannot say for sure.
Could you point me to some resource on the issue?
--Flemming -
Runtime.exec( ) exception
Hi All!
Could you please look at this code and give me an idea what could be wrong.
Thanks
String commandStr = "move " + args[0] + " " + args[1];
System.out.println( commandStr );
try {
Process proc = Runtime.getRuntime().exec( commandStr );
int retValue = proc.exitValue();
System.out.print ( "Command : " + commandStr );
System.out.println( "was executed with exit value : " + retValue );
catch (Throwable t) {
System.out.println("Caught an exception ");
t.printStackTrace();
output
move C:/C++ C:/MovedStuff
java.io.IOException: CreateProcess: move C:/C++ C:/MovedStuff error=2
Caught an exception
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at FileCopier.main(FileCopier.java:92)There are more things to consider if you are going to run other commands. Mainly, you have to read what the command writes to STDOUT and STDERR otherwise your program will just hang.
I forget where I found my information but I just searched the web for "StreamGobbler" and found www.experts-exchange.com/Developer/ Programming/Q_20428597.html which contains a good code snippet and looks a lot like the code I have.
I've only done this on Windows but it should work on Linux as well. You'll have to have separate code for each operating system, of course, as Java does not know what you are trying to execute it merely passes the command to the shell.
Good luck.
Barry -
Hi,
I am getting following error when trying to Publish BI Report through Broadcast .
Query>publish-->Bex Broadcaster
Portal runtime error.
An exception occurred while processing your request. Send the exception ID to your portal administrator.
Exception ID: 03:29_18/07/11_0012_29111750
Refer to the log file for details about this exception.
Can any one tell alternate way How to Pre-calculate & send the report through Email.
Thanks in Advance
VaibhavYou can ask your Portal team to investigate. They can follow up on this based on exception ID in logs in JAVA Visual Admin tool.
However in most of the they do not find anything. Therefore I would recommend you to clear up your web browser cache and delete web browser history as well. -
Dts.Runtime LoadPackage exception
Hi all
I am working with SQL Server 2012 and Visual Studio 2013.
I have installed Integration Services Project Templates in Visual Studio.
Then I have created a new, very simple, Package in Visual Studio.
When I run this package in Visual Studio, it works fine.
When I then use "Microsoft.SQLServer.ManagedDTS.dll" (Version 11.0.3000.0)
to execute the package in a new WinForms Project, I get the following exception (at LoadPackage):
"The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs
when CPackage::LoadFromXML fails."
What am I doing wrong ?
Thanks for any feedback :-)
Best regards
Frank
P.S. Here is my code:
Microsoft.SqlServer.Dts.Runtime.Package _Package;
Microsoft.SqlServer.Dts.Runtime.Application _Application;
Microsoft.SqlServer.Dts.Runtime.DTSExecResult _DTSExecResult;
_Application = new Microsoft.SqlServer.Dts.Runtime.Application();
_Package = _Application.LoadPackage(@"D:\Package.dtsx", null);
_DTSExecResult = _Package.Execute();Hi frank.uray,
According to your description, you created a simple SSIS package and it works fine in Visual Studio, when you tried to call the package from WinForm Project, you got the error message: "The package failed to load due to error 0xC0011008 "Error
loading from XML.
To install and run SSIS on a machine, we need to license it as a full SQL Server, not a client. This means that any machine on which you wish to use your windows forms app must be a full SQL Server. According to the error message, the ManagedDTS.dll file
may not registered, please register both the ManagedDTS.dll file and check the issue again.
For more information about Loading and Running a Local Package Programmatically, please refer to the following document:
https://msdn.microsoft.com/en-us/library/ms136090%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support -
Http to bapi scenario runtime mapping exception
Hi,
I am doing to http to bapi scenario and I am giving the valid sales order number and organization. And It is throwing me below exception when I see it in sxmb_moni.
======================
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_request_sales_bapi_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_request_sales_bapi_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
========================
I have executed individual mappings with sample data and worked fine.
Any inputs on this?
Thanks
Balajihi,
you need to test the mapping as shown in my blog:
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
to find the error
then correct your mapping and try again
Regards,
michal -
Hi All
when I schedule any BDC pgm in Background by giving job name in SM36 .
It is giving an runtimr error OBJECTS_OBJREF_NOT_ASSIGNED and Exception CX_SY_REF_IS_INITIAL .
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "C14T_LISTTOOL_CALL_ALV_GRID" "(FUNCTION)", nor was it propagated by
a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: "GRID1").
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
But it is working fine when i running with options 'N' & 'A' in call transaction. when i execute I'm searching for sap note but not able to find it,
If any one can solve this issue please ... its very urgent requirement
Thanks in AdvanceI believe the better forum to post yorr query to, will be [ABAP, General|ABAP Development;.
From the header of that forum:
General questions about the ABAP language and language implementations.
This is not a forum for application specific questions. Web Dynpro , BSP , CRM
development, ... have their own forums.
- Ludek -
Runtime error Exception has been thrown by the target of an invocation" from Script task
I have a SSIS package with a script task, I get
the following error when i try to run it in my local system. It works fine for my collegues as well as in production. However, I am not able to run it locally, to test. I keep a debug point in the main method, but it is never reached, I get the error before
it goes to main method.
I am using VS 2010, .Net framework 4.5.
The script task does compile. I get the following messages SSIS package "..\Test.dtsx" starting. Error: 0x1 at Test: Exception has been thrown by the target of an invocation. Task failed: Test SSIS package "..\Test.dtsx" finished: Success.
The program '[2552] DtsDebugHost.exe: DTS' has exited with code 0 (0x0).The following is the code:
public void Main()
try
LogMessages("Update Bug package execution started at :: " + DateTime.Now.ToLongTimeString());
LogMessages("Loading package configuration values to local variables.");
strDBConn = Dts.Variables["User::DBConnection"] != null ? Dts.Variables["User::DBConnection"].Value.ToString() : string.Empty;
strTPCUrl = Dts.Variables["User::TPCUrl"] != null ? Dts.Variables["User::TPCUrl"].Value.ToString() : string.Empty;
TfsTeamProjectCollection objTPC = new TfsTeamProjectCollection(new Uri(strTPCUrl));
WorkItemStore objWIS = new WorkItemStore(objTPC);
WorkItemCollection objWIC = objWIS.Query("SELECT...");
foreach (WorkItem wi in objWIC)
catch(Exception ex)
When I commented the code from TfsTeamProjectCollection objTPC = new TfsTeamProjectCollection(new Uri(strTPCUrl)); The script executes successfully. However, if i keep TfsTeamProjectCollection objTPC = new TfsTeamProjectCollection(new Uri(strTPCUrl));
and comment the rest, i get the exception.
I do have access to the URL -
I am getting runtime error "OBJECTS_OBJREF_NOT_ASSIGNED_NO".
I am getting runtime error "OBJECTS_OBJREF_NOT_ASSIGNED_NO" in transaction RSPC in BW system.
Runtime Errors : OBJECTS_OBJREF_NOT_ASSIGNED_NO
Exception : CX_SY_REF_IS_INITIAL
Short text: Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_RSPC_FRONTEND==============CP" had to be terminated because it has come across a statement that unfortunately cannot be executed. -
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
Hi Experts,
Basis team identified the following dump. Please advice a fix.
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
Exception CX_SY_REF_IS_INITIAL
Date and Time 24.01.2011 12:35:18
DATA lo_nd_settings TYPE REF TO if_wd_context_node.
DATA lo_nd_ecm TYPE REF TO if_wd_context_node.
DATA lo_nd_crevi TYPE REF TO if_wd_context_node.
DATA lo_el_crevi TYPE REF TO if_wd_context_element.
DATA ls_crevi TYPE wd_this->element_crevi.
data l_citem type ecm_citem.
navigate from <CONTEXT> to <SETTINGS> via lead selection
lo_nd_settings = wd_context->get_child_node( name =
wd_this->wdctx_settings ).
navigate from <SETTINGS> to <ECM> via lead selection
lo_nd_ecm = lo_nd_settings->get_child_node( name =
wd_this->wdctx_ecm ).
navigate from <ECM> to <CREVI> via lead selection
lo_nd_crevi = lo_nd_ecm->get_child_node( name =
wd_this->wdctx_crevi ).
@TODO handle not set lead selection
IF lo_nd_crevi IS INITIAL.
ENDIF.
get element via lead selection
lo_el_crevi = lo_nd_crevi->get_element( ).
get all declared attributes
lo_el_crevi->get_static_attributes(
IMPORTING
static_attributes = ls_crevi ).
DATA lo_nd_selection TYPE REF TO if_wd_context_node.
DATA lo_el_selection TYPE REF TO if_wd_context_element.
DATA ls_selection TYPE wd_this->element_selection.
navigate from <CONTEXT> to <SETTINGS> via lead selection
lo_nd_settings = wd_context->get_child_node( name =
wd_this->wdctx_settings ).
navigate from <SETTINGS> to <SELECTION> via lead selection
lo_nd_selection = lo_nd_settings->get_child_node( name =
wd_this->wdctx_selection ).
get element via lead selection
lo_el_selection = lo_nd_selection->get_element( ).
*****************dump occured here ******************
get all declared attributes
lo_el_selection->get_static_attributes(
IMPORTING
static_attributes = ls_selection ).
ls_selection-begda = ls_crevi-slbeg.
ls_selection-endda = ls_crevi-slend.
Regards,
VenkateshHi ,
When we access a link from portal we are getting the above dump.
get element via lead selection
lo_el_crevi = lo_nd_crevi->get_element( ).
lo_el_crevi doesnt have any value in it so with the below code when its trying to fetch the attribute dump is occuring.
get all declared attributes
lo_el_crevi->get_static_attributes(
IMPORTING
static_attributes = ls_crevi ).
In webdynpro context , for the node crevi there are 4 elements. While debugging we found that the supply function which is assigned to the lo_el_crevi is not returning anything.
Please advice.
Regards,
venkatesh -
SOAP Runtime: Exception message: Unallowed RFC-XML Tag (SOAP_EINVALDOC)
Hi,
Curretly I am trying to test a Webservice on ECC 5.0, Oracle, Windows.
Below is the error that I am facing.
SOAP Runtime: SOAP Runtime exception: 111 occurred in method XP_READ_TAG of class CL_SOAP_XP at position 1
SOAP Runtime: Exception message: Unallowed RFC-XML Tag (SOAP_EINVALDOC)
In dev_rfc0:
ERROR 03:20:57: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->HANDLE
STATUSCODE() Received return code 404 ( Not found )
ERROR 03:20:57: SOAP Message CL_SOAP_MESSAGE->IF_SOAP_MESSAGE
PART~INITFOR_DESERIALIZE() A SOAP Runtime Core Exception
occurred in method XP_READ_TAG of class CL_SOAP_XP at position id
1 with internal error id 111 and error text Unallowed RFC-XML Tag
(SOAP_EINVALDOC) (fault location is 1 ).
I have looked up on sdn, and also looked at note 919886.
I have read several posts regarding creation of RFC Destination in sm59 of Type G, to get over this issue.
But RFC Destination of type G is not available in ECC 5.0
Is the error because of incorrect URL mentioned in logical port,
I am unable to ping the host name mentioned in URL, looks like that machine is not in the network.
does it mean the wsdl is not located at that particular host.
Any suggestions would be greatly appreciated.
Regards,
Vishnu.Hi Anton,
The complete error message in dev_rfc0:
INFO 02:15:12: SOAP Transport Binding CL_SOAP_HTTP_TPBND_ROOT
->IF_SOAP_TRANSPORT_BINDING~SEND() Try to send message ( DEST =
,PATH = ,URL = http://hostname:portno/ ,SOAP Action =
"ROI_R3_DF.roiSAPCreateOrder" )
INFO 02:15:12: SOAP Transport Binding CL_SOAP_HTTP_TPBND_ROOT
->IF_SOAP_TRANSPORT_BINDING~SEND() Message sent
INFO 02:15:12: SOAP Transport binding CL_SOAP_HTTP_TPBND_ROOT
->IF_SOAP_TRANSPORT_BINDING~RECEIVE() Try to receive message
ERROR 02:15:12: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->HANDLE
STATUSCODE() Received return code 404 ( Not found )
ERROR 02:15:12: SOAP Message CL_SOAP_MESSAGE->IF_SOAP_MESSAGE
PART~INITFOR_DESERIALIZE() A SOAP Runtime Core Exception
occurred in method XP_READ_TAG of class CL_SOAP_XP at position id
1 with internal error id 111 and error text Unallowed RFC-XML Tag
(SOAP_EINVALDOC) (fault location is 1 ).
After reading your post about the return code 404, I am in a dilemma whether, services in icman are unavailable or
the services at the location of the wsdl in the other server.
If you could clarify, it would be great.
Thanks a lot.
Vishnu. -
hi all,
when i'm acessing LSO_Instructor role from ESS Portal, it is showing below error
Portal runtime error.
An exception occurred while processing your request. Send the exception ID to your portal administrator.
Exception ID: 12:59_26/10/10_0037_15899750 Refer to the log file for details about this exception.
when i saw the logfile, below message is there. can any one help me to sort out the issue
Full Message Text
12:59_26/10/10_0037_15899750
[EXCEPTION]
com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Exception occured in layer WebDynpro/TopLayer
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:125)
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:540)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:423)
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:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Regards,
SrinivasHi
This is due to Webdynpro connections ie SAP_WEBDYNPRO_XSS, Ensure this is pointing to WAS property
To sum up - You need to configure the WEB AS property category of SAP_ECC system also
Please verify all .
Thanks
Keshari
Maybe you are looking for
-
CRM Component missing in CRM BI
Hi Experts, We are implementing CRM5.0 SR3. Installations were completed. In Dev, QA and Prod when i am applying BI transaction code (RSA1) its indicating me 'you can only work in client001'. I implemented all building blocks(creating logical system
-
Weblogic Server 6.1 as an NT service - (post-install)
I've already installed Weblogic Server 6.1 not as an NT service. For a new project I find I need it as an NT service. How can I register it as an NT service without having to re-install (and lose my existing effort)? J Edited by LWCarl at 06/11/2008
-
Windows Event Collection Point of Sale
We are attempting to implement Windows Event Collection in a very secure environment. In attempting to use a source initiated subscription, we are allowing 5985 outbound from a firewall to the WEC server, but, not inbound 5985. the subscription ap
-
Please please help - i can't open swf files
I have downloaded Adobe Flash Player and Adobe Shockwave Player to play some swf files I have downloaded. These files still say that Windows can't open them though and I don't know why. I've tried uninstalling reinstalling etc but the computer does
-
The Server failed to retrieve the requested data
I used to be able to open this site with firefox. I haven't been able to open it for 2 days. It does open in internet explorer.