Runtime Error When executing Method from JavaScript
Greetings In the name of the creator of all things, space, and time. I have a problem with scripting an applet using Javascript (JScript). The problem is as follows: I receive the runtime error - An outgoing call cannot be made since the application is dispatching an input-synchronous call.
I invoke the applet from a JavaScript from within a web page. The applet populates and display a JTable. From the Table I select an element in a row and press a button which kicks off another page. From within the page I called one of the applet's method i.e. _applet.cfquery(window, hastable).
This method connects to a data source and returns some data. When the method is invoked I receive the runtime error.
What is the problem and How do I resolve it? Note: The same code works with Netscape 7.0 with out any problems.
Particulars:
Browser: Internet Explorer 6.0 - Version 6.0.2800.1106C (SP1)
Operating System : Windows 2000 (Service Pack 3)
Scripting Interface: LiveConnect.
Scripting Version: JavaScript (1.5)
I know Microsoft Uses ActiveX to support embedded object. I recently came up on the JavaScript Object
ActiveXObject(appname.className [,remoteServiceName]). Could I use it to access my applet and how would I specify the name of my applet's? What do they mean by class name. Please help me I have searched the Internet until my eyes almost fall out by I have not found any solutions.
If the javascript to invoke applet.cfquery(window, hastable) happens automatically (onload,...), try adding a button to your page and using that to invoke applet.cfquery(window, hastable). See if waiting until the applet loads and settles down makes a difference.
Similar Messages
-
Runtime error when executing ME2B/ME3B if condition recs 160
Dear all,
I have created a vendor rebate agreement and entered condition records for a vendor/material combination.
Since for this vendor there are 170 materials for which he provides rebate I have created 170 condition records.
When I am trying to change or display the rebate agreement by executing transaction codes ME2B and ME3B respectively the following run time error occurs (Runtime error when executing transaction codes ME2B/ME3B for condition recrds >160):
Runtime Errors: DBIF_RSQL_INVALID_RSQL
Except. CX_SY_OPEN_SQL_DB
The error is in function module SELECT_TEXT at line 120 "select * from stxh client specified into table stxh_buffer".
When I debug or test/execute the function module SELECT_TEXT, I find that there are no relevant entries in table STXH for the vendor rebate agreements.
Please note that if the condition records of the rebate agreement are 160 and less then there is no problem.
I would appreciate if I could have your expert oppinion on what is causing this runtime error and if it is possible on how to resolve it.
Thanks in advance.
Regards,
Mimis
Edited by: Mimis1973 on Jan 26, 2011 11:18 AM
Edited by: Mimis1973 on Jan 26, 2011 11:20 AM
Edited by: Mimis1973 on Jan 26, 2011 11:23 AMThere's something similar in OSS note 1002788. Is it relevant to your system?
-
Runtime error when executing smarforms.
Dear All,
I am getting the runtime error while executing a smartfrom which I have prepared for payslip display.
After the completion of smartform, I have tested by using print program, it was working fine. But, when I got the print of the same and I found, little modification it requires to enlarge the views.So, I increased the width of templates, tables and windows which has been used in this smartform.
After that modification, it is going to reuntime error.
Please sugget....to rectify this.
Thanks & Regards
Nrusingha.Please find the below details fr dump.
Short text
Exception condition "ERROR" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
A RAISE statement in the program "SAPLSTXBC" raised the exception
condition "ERROR".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"RAISE_EXCEPTION" " "
"SAPLSTXBC" or "LSTXBCU19"
"SSFCOMP_GENERATE_SMART_FORM"
or
"SAPLSTXBC" "ERROR"
or
"RS_TESTFRAME_CALL " "ERROR"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error. -
Portal Runtime Error when previewing iViews from BP for CRM 4.0 (60.2)
Hello,
We have imported Business Package for CRM 4.0 (60.2) into EP 6.0 (Version: 6.0.19.0.0) according to the installation guide(InstGuide_EN_CRM40_502.pdf). We have also defined SAP_CRM and SAP_R3 Systems in Portal System Landscape Editor. And we have also set the permissions for the user with which we are logged in on the "Portal Content->Migrated Content->EP 5.0" folder with "Read" permission and checked the "End User" option.
Now when we do a test preview for "Portal Content->Migrated Content->EP 5.0->iViews->SAP CRM 4.0: Sales->Activities" iView in PCD i get Portal Runtime Error in a new window with following information:
<b>Portal Runtime Error
An exception occurred while processing a request for :
iView : com.sap.portal.appintegrator.sap.BSP
Component Name : com.sap.portal.appintegrator.sap.BSP
Error occurs during the rendering of jsp component.
Exception id: 08:40_22/01/07_0001_6052850
See the details for the exception ID in the log file
</b>
We get this similar message for few other iViews as well. Following is the details from the log file for this exception ID:
<b>###Exception ID:08:40_22/01/07_0001_6052850
[EXCEPTION]
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
Component : com.sap.portal.appintegrator.sap.BSP
Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
User : <USER_ID>
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
at com.sapportals.portal.appintegrator.Utils.includeJSP(Utils.java:199)
at com.sapportals.portal.appintegrator.layer.HTTPRenderLayer.render(HTTPRenderLayer.java:249)
at com.sapportals.portal.appintegrator.LayerProcessor.processContentPass(LayerProcessor.java:226)
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:100)
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:63)
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:646)
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:545)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
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: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)
Caused by: com.sapportals.portal.prt.component.PortalComponentException: Error occurs during the compilation of java generated from the jsp
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:108)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
... 46 more
Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2189)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
... 52 more
</b>
Why am i getting this error page and how to resolve this? Please help. Thanks.
Regards,I am facing one more problem now. I tried to create a new user in Portal and when i try to login with this new account i get following error message:
<b>Portal Runtime Error
An exception occurred while processing a request for :
iView : com.sap.portal.runtime.logon.default
Component Name : com.sap.portal.runtime.logon.default
Error occurs during the rendering of jsp component.
Exception id: 10:04_22/01/07_0010_6052850
See the details for the exception ID in the log file</b>
Following is the error message snippet from the log file for this exception ID:
<b>
###Exception ID:10:04_22/01/07_0010_6052850
[EXCEPTION]
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
Component : com.sap.portal.runtime.logon.default
Component class : com.sapportals.portal.ume.component.logon.SAPMLogonComponent
User : J2EE_GUEST
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
at com.sap.security.core.logonadmin.ComponentAccessToLogic.gotoPage(ComponentAccessToLogic.java:109)
at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.executeRequest(SAPMLogonLogic.java:251)
at com.sapportals.portal.ume.component.logon.SAPMLogonComponent.doContent(SAPMLogonComponent.java:37)
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.ume.component.logon.SAPMLogonCertComponent.doContent(SAPMLogonCertComponent.java:33)
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:646)
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:545)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
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.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sap.portal.navigation.Gateway.service(Gateway.java:101)
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)
Caused by: com.sapportals.portal.prt.component.PortalComponentException: Error occurs during the compilation of java generated from the jsp
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:108)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
... 49 more
Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2189)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
... 55 more</b>
Though i am still able to login with any of my old accounts, but not with the newly created ones. I thought this might have been because of the new roles that i assigned, but i see the above error message even when i haven't assigned any role. How do i get rid of this one now?
Thanks and Regards, -
Runtime error when executing F4 help on 0FISPER or 0FISCYEAR
Hi experts,
I got a problem on F4 help.
When executing F4 help on 0FISPER or 0FISCYEAR using tcode LISTCUBE,
abap dump occurs. The problem also exists when run query in BEx analyzer.
My BW version is NW2004s. And SAPKW70012 has been implemented.
Thanks very much for any advices.
<b>The error message when run in BEx analyzer:</b>
System error in program SAPLRRS2 and form EXTRA_FIELDS_SET-01- (see long
text)
Message no. BRAIN299
Diagnosis
This internal error is an intended termination resulting from a program
state that is not permitted.
Procedure
Analyze the situation and inform SAP.
If the termination occurred when you executed a query or Web template,
or during interaction in the planning modeler, and if you can reproduce
this termination, record a trace (transaction RSTT).
For more information about recording a trace, see the documentation for
the trace tool environment as well as SAP Note 899572.
<b>And the ABAP dump log:</b>
Runtime Errors UNCAUGHT_EXCEPTION
Exception CX_RSR_PROPAGATE_X
Date and Time 2007.04.28 15:08:47
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_RSR_PROPAGATE_X' was raised, but it was not caught anywhere
along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_RS_BASE====================CP' has to be
terminated.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_RSR_PROPAGATE_X', was not caught
and
therefore caused a runtime error.
The reason for the exception is:
No text available for this exception
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_SY_NO_HANDLER", which was raised in the program
"CL_RSMD_RS_BUILD_QUERY========CP",
specifically in line 1 of the (include) program
"CL_RSMD_RS_BUILD_QUERY========CM00Y".
The cause of the exception was:
An exception with the type CX_RS_SQL_ERROR_SILENT occurred, but was neither
handled locally, nor declared in a RAISING clause
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_RS_SQL_ERROR_SILENT", which was raised in the program
"CL_RSDRS_SQL_QUERY============CP",
specifically in line 288 of the (include) program
"CL_RSDRS_SQL_QUERY============CM00J".
The cause of the exception was:
No text available for this exception
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_SQL_EXCEPTION", which was raised in the program
"CL_SQL_STATEMENT==============CP",
specifically in line 32 of the (include) program
"CL_SQL_STATEMENT==============CM004".
The cause of the exception was:
Invalid object name 'T009C'.
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"UNCAUGHT_EXCEPTION" "CX_RSR_PROPAGATE_X"
"CL_RS_BASE====================CP" or "CL_RS_BASE====================CM005"
"X_PROPAGATE"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "sapdev2"
Network address...... "192.168.1.74"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "4x AMD64 Level"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 1
Shortdump setting.... "full"
Database server... "SAPDEV2"
Database type..... "MSSQL"
Database name..... "BW1"
Database user ID.. "bw1"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Sep 1 2006 00:19:17"
create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
Database version. "SQL_Server_8.00 "
Patch level. 75
Patch text.. " "
Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory consumption
Roll.... 16192
EM...... 14617568
Heap.... 0
Page.... 163840
MM Used. 4553264
MM Free. 663776
User and Transaction
Client.............. 100
User................ "HANDLCR"
Language key........ 1
Transaction......... "LISTCUBE "
Program............. "CL_RS_BASE====================CP"
Screen.............. "SAPMSHLP 0600"
Screen line......... 7
Information on where terminated
Termination occurred in the ABAP program "CL_RS_BASE====================CP" -
in "X_PROPAGATE".
The main program was "GP9QWV49ZUMYUSW6JLZIZ85P81N ".
In the source code you have the termination point in line 12
of the (Include) program "CL_RS_BASE====================CM005".
Source Code Extract
Line
SourceCde
1
METHOD X_PROPAGATE .
2
3
DATA: l_r_x TYPE REF TO cx_rs_no_check.
4
5
TRY.
6
l_r_x ?= i_r_root.
7
CATCH cx_root.
8
CLEAR l_r_x.
9
ENDTRY.
10
11
IF l_r_x IS INITIAL.
>>>>>
RAISE EXCEPTION TYPE cx_rsr_propagate_x
13
EXPORTING
14
previous = i_r_root.
15
ELSE.
16
RAISE EXCEPTION l_r_x.
17
ENDIF.
18
19
ENDMETHOD.I got reply from SAP. The problem can be solved by running program RSDG_XPRA_IOBJ_TO_NW05. Note 939484 describes this.
Note 939484 - Input help for tech characteristic and time characteristics
Summary
Symptom
You upgraded to SAP NetWeaver 2004s. An open SQL error occurs when you execute input help for a technical characteristic, a time characteristic or a unit.
The 'SAPSQL_INVALID_FIELDNAME' short dump in the 'CL_RSDM_READ_MASTER_DATA' class indicates that these characteristics have not been maintained. This error may also occur when you activate InfoProviders, for example.
The error MAY occur for the following InfoObjects:
0CALMONTH
0CALMONTH2
0CALQUART1
0CALQUARTER
0CALWEEK
0CALYEAR
0CURRENCY
0FISCPER
0FISCPER3
0FISCVARNT
0FISCYEAR
0LOGSYS
0SOURSYSTEM
0UNIT
0WEEKDAY1
0RATE_TYPE
0DATE
0LANGU
Other terms
Input help, F4, 0CALMONTH, 0CALMONTH2, 0CALQUART1, 0CALQUARTER, 0CALWEEK, 0CALYEAR, 0CURRENCY, 0FISCPER, 0FISCPER3, 0FISCVARNT, 0FISCYEAR, 0LOGSYS, 0SOURSYSTEM, 0UNIT, 0WEEKDAY1, 0RATE_TYPE, 0DATE, 0LANGU, RSDG_XPRA_IOBJ_TO_NW05
Reason and Prerequisites
The problem can have the following causes:
The characteristic does not have any master data, although you did define a master data read class.
There is no generated master data table for the characteristic (for example, 0CURRENCY) and you have not defined a corresponding master data read class in the meta data.
Solution
Technical characteristics and time characteristics were delivered again for SAP NetWeaver 2004s with new properties. The first time you call the data warehousing workbench, the system activates the technical content. If the (time) characteristic already exists in the active version, the system does not copy it from the technical content again. For SAP NetWeaver 2004s, however, the following conditions must be fulfilled:
The characteristic has the property "With master data", which ensures that the master data read class functions correctly.
If the active version of the characteristic does not have any master data, copy the characteristic from the content again. Make any necessary adjustments. Ensure that the "With master data" property is set.
The characteristic does not have a generated table, rather it has its own table, delivered by SAP (for example, unit 0CURRENCY -> table TCURC). The definition of the characteristic must include a relevant master data read class (for example, unit 0CURRENCY -> class CL_RSMD_RS_0CURRENCY).
The RSDG_XPRA_IOBJ_TO_NW05 XPRA defines a master data read class automatically. This XPRA is executed when you upgrade. It may, however, occur, that the XPRA is not executed successfully. If this happens, you can execute the XPRA again manually.
Start Transaction SE38.
Enter the name RSDG_XPRA_IOBJ_TO_NW05 in the 'Program' field.
Choose 'Execute' to execute the program. -
Error when executing jar from command window pla help
Hello
I have a project which calls a webservice, I am using Jdeveloper 10.1.3.4
I deployed the project in a jar file and included all the necessary libraries in it,
but when executing the jar from command window I am getting the exceptions below
the statement which cause the error is : PROXY= new JoPayWebServiceClient();
please help
Exception in thread "main" java.lang.NoClassDefFoundError
at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.class$(S
tandardSOAPTypeMappings.java:125)
at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.<init>(S
tandardSOAPTypeMappings.java:558)
at oracle.j2ee.ws.client.BasicService.createSoapMappings(BasicService.ja
va:259)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:236)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: java.lang.ClassNotFoundException: javax.activation.DataHandler
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
... 17 more
C:\>Hi Arun
I added all the jars I found in jdeveloper log as you told me , but still I have this error:-
standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax
.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.mes
saging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
ot found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
ry1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:95)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:62)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
nit>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
nit>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:280)
... 14 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:93)
... 18 more
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
ot found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
ry1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:95)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:62)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
nit>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
nit>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:280)
... 14 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:93)
... 18 more
Exception in thread "main" java.lang.NullPointerException
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.registerS
erializer(JoPayWebServiceService_SerializerRegistry.java:45)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:32)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
C:\> -
Error when executing jar from command window PLZ HELP URGENT
Hello
I have a project which calls a webservice, I am using Jdeveloper 10.1.3.4
I deployed the project in a jar file and included all the necessary libraries in it,
but when executing the jar from command window I am getting the exceptions below
the statement which cause the error is : PROXY= new JoPayWebServiceClient();
please help
Exception in thread "main" java.lang.NoClassDefFoundError
at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.class$(S
tandardSOAPTypeMappings.java:125)
at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.<init>(S
tandardSOAPTypeMappings.java:558)
at oracle.j2ee.ws.client.BasicService.createSoapMappings(BasicService.ja
va:259)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:236)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: java.lang.ClassNotFoundException: javax.activation.DataHandler
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
... 17 more
C:\>I added all required jars but still I get this error :-
standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax
.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.mes
saging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
ot found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
ry1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:95)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:62)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
nit>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
nit>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:280)
... 14 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:93)
... 18 more
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
ot found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
ry1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:95)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:62)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
nit>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
nit>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:280)
... 14 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:93)
... 18 more
Exception in thread "main" java.lang.NullPointerException
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.registerS
erializer(JoPayWebServiceService_SerializerRegistry.java:45)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:32)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
C:\> -
Runtime error when executing driver program
when im executing my report after passing smartform to it , by giving invoice number in selectionscreen,it's generating runtime error as
the call to the function module '/1BCDWB/SF00000032' is incorrect:
in the function module interface, u can only specify fields of a specific type and
length under "s_final".although the currently specified field " " is the correct type,
it's length is incorrect.
i declared s_final in forminterface->tables as s_final like zform1.
i defined zform1 with fields which are in t_final.
please suggest where im going wrong.
TYPES : BEGIN OF TY_FINAL,
VBELN TYPE VBRP-VBELN,"INVOICE NO
ADRNR TYPE KNA1-ADRNR, "ADDRESS FOR CONSIGNEE
BSTKD TYPE VBKD-BSTKD, "PO NUMBER
BSTDK TYPE VBKD-BSTDK, "PO DATE
ARKTX TYPE VBRP-ARKTX, "DESCRITION
PACK TYPE I, "NO OF PACKAGES
UMREZ TYPE SMEINH-UMREZ, "AVG. CONTENTS PER PACKAGE IN KGS
FKIMG TYPE VBRP-FKIMG, "TOTAL QTY IN KGS
KNUMV TYPE KONV-KNUMV,
KBETR TYPE KONV-KBETR, "SELLING RATE/KG
KBETR1 TYPE KONV-KBETR,
KWERT TYPE KONV-KWERT,
TARIFF TYPE ZFORM1-TARIFF,
DUTY TYPE ZFORM1-DUTY,
AMOUNT TYPE ZFORM1-AMOUNT,
END OF TY_FINAL.
TYPES : BEGIN OF TY_ITEM,
VBELN TYPE VBRP-VBELN,"INVOICE NO
POSNR TYPE VBRP-POSNR,
ARKTX TYPE VBRP-ARKTX, "DESCRITION
FKIMG TYPE VBRP-FKIMG, "TOTAL QTY IN KGS
BSTKD TYPE VBKD-BSTKD, "PO NUMBER
BSTDK TYPE VBKD-BSTDK, "PO DATE
AUBEL TYPE VBRP-AUBEL,
AUPOS TYPE VBRP-AUPOS,
END OF TY_ITEM.
DATA : FM_NAM TYPE RS38L_FNAM VALUE '/1BCDWB/SF00000032'.
DATA :IT_ITEM TYPE TABLE OF TY_ITEM,
W_ITEM TYPE TY_ITEM,
W_FINAL TYPE TY_FINAL,
T_FINAL TYPE TABLE OF TY_FINAL,
P TYPE I VALUE 250, "total quantity.
TOTALDUTY TYPE I VALUE 0,
CESS TYPE I,
EDCESS TYPE I,
VAT TYPE I,
FREIGHT TYPE I,
GROSSTOTAL TYPE I,
TOTAL TYPE I,
PONUMBER TYPE VBKD-BSTKD, "PO NUMBER
PODATE TYPE VBKD-BSTDK, "PO DATE
ZTERM TYPE VBKD-ZTERM, "PAYMENT TERMS
INVOICENO TYPE VBRP-VBELN.
PARAMETERS : XVBELN TYPE VBELN.
SELECT VBELN
POSNR
ARKTX
FKIMG
AUBEL
AUPOS
FROM VBRP
INTO CORRESPONDING FIELDS OF TABLE IT_ITEM
WHERE VBELN = XVBELN AND UEPOS = '000000'.
LOOP AT IT_ITEM INTO W_ITEM.
*INVOICE NO
MOVE W_ITEM-VBELN TO INVOICENO.
*DESCRIPTION
MOVE W_ITEM-ARKTX TO W_FINAL-ARKTX.
**TOTAL QUANTITY IN KGS
MOVE W_ITEM-FKIMG TO W_FINAL-FKIMG.
*PO NUMBER
SELECT SINGLE BSTKD FROM VBKD
INTO W_ITEM-BSTKD
WHERE VBELN EQ W_ITEM-AUBEL.
MOVE W_ITEM-BSTKD TO PONUMBER.
*PO DATE
SELECT SINGLE BSTDK FROM VBKD
INTO W_ITEM-BSTDK
WHERE VBELN EQ W_ITEM-AUBEL.
MOVE W_ITEM-BSTDK TO PODATE.
SELECT SINGLE KNUMV FROM VBRK INTO W_FINAL-KNUMV WHERE VBELN = W_ITEM-VBELN.
**SELLING RATE/KG
SELECT SINGLE KBETR FROM KONV INTO W_FINAL-KBETR WHERE KNUMV = W_FINAL-KNUMV
AND KPOSN = W_ITEM-POSNR AND KSCHL = 'PR00'.
**TOTAL TARIFF VALUE
W_FINAL-TARIFF = W_FINAL-KBETR * W_ITEM-FKIMG.
SELECT SINGLE KBETR FROM KONV INTO W_FINAL-KWERT WHERE KNUMV = W_FINAL-KNUMV
AND KPOSN = W_ITEM-POSNR AND KSCHL = 'JEXT'.
*TOTAL DUTY PAYABLE
W_FINAL-DUTY = W_FINAL-KWERT / 10.
**AMOUNT
W_FINAL-AMOUNT = W_FINAL-TARIFF + W_FINAL-DUTY.
*TOTAL DUTY FOR CESS&EDCESS
TOTALDUTY = TOTALDUTY + W_FINAL-DUTY.
APPEND W_FINAL TO T_FINAL..
CLEAR W_FINAL.
*WRITE : /10 W_ITEM-ARKTX,
30 W_ITEM-FKIMG,
60 W_FINAL-KBETR,
90 TARIFF,
120 DUTY,
160 AMOUNT.
ENDLOOP.
*SELECT SINGLE KBETR FROM KONV INTO W_FINAL-KWERT WHERE KNUMV = W_FINAL-KNUMV
AND KPOSN = W_ITEM-POSNR AND KSCHL = 'ZECS'.
*MOVE W_FINAL-KWERT TO CESS.
*SELECT SINGLE KBETR FROM KONV INTO W_FINAL-KWERT WHERE KNUMV = W_FINAL-KNUMV
AND KPOSN = W_ITEM-POSNR AND KSCHL = 'ZECX'.
*MOVE W_FINAL-KWERT TO EDCESS.
*CESS
CESS = TOTALDUTY * 2 / 100.
*EDCESS
EDCESS = TOTALDUTY * 1 / 100..
*TOTAL VALUE AT FOOTER
TOTAL = W_FINAL-AMOUNT + CESS + EDCESS.
*VAT
VAT = TOTAL * 4 / 100.
*FREIGHT
*GROSS TOTAL
GROSSTOTAL = TOTAL + VAT.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZSF_SD_INVOICE1'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAM
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION FM_NAM
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
TOTALDUTY = TOTALDUTY
CESS = CESS
EDCESS = EDCESS
TOTAL = TOTAL
PONUMBER = PONUMBER
PODATE = PODATE
GROSSTOTAL = GROSSTOTAL
VAT = VAT
INVOICENO = INVOICENO
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
S_FINAL = T_FINAL
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.Hi,
U need to fill the ref_fieldname and ref_tabname or the cfieldname, ctabname for currency fields and qtabname and qfieldname for quantity fields in fieldcatalog.
santhosh
Message was edited by:
Kaluvala Santhosh -
Runtime error when executing smartform in se38
hi,
i designed a smartform but when iam executing that using se38 am gettin runtime error.can anybody plz help me.
*& Report ZDEMOPRG
REPORT ZDEMOPRG.
DATA FNAME(30) TYPE C.
TABLES: LFA1.
DATA: BEGIN OF ITAB OCCURS 0.
INCLUDE STRUCTURE LFA1.
DATA: END OF ITAB.
SELECT-OPTIONS S_KUNNR FOR LFA1-KUNNR MEMORY ID 001.
SELECT * FROM LFA1 WHERE KUNNR IN S_KUNNR.
MOVE-CORRESPONDING LFA1 TO ITAB..
APPEND ITAB.
ENDSELECT.
CALL FUNCTION '/1BCDWB/SF00000006'
EXPORTING
FORMNAME = 'ZEXM_SMART'
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
ITAB = ITAB.
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
plz help me
thanks
sudheerHi,
Try this and reward points by clicking the star on the left of reply,if it helps.
data: form_name type tdsfname value 'ZEXM_SMART'.
data: fm_name type rs38l_fnam.
TABLES: LFA1.
DATA: BEGIN OF ITAB OCCURS 0.
INCLUDE STRUCTURE LFA1.
DATA: END OF ITAB.
SELECT-OPTIONS S_KUNNR FOR LFA1-KUNNR MEMORY ID 001.
SELECT * FROM LFA1 WHERE KUNNR IN S_KUNNR.
MOVE-CORRESPONDING LFA1 TO ITAB..
APPEND ITAB.
ENDSELECT.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = form_name
VARIANT = ' '
DIRECT_CALL = ' '
importing
fm_name = fm_name
exceptions
no_form = 1
no_function_module = 2
others = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
CALL FUNCTION fm_name
TABLES
ITAB = ITAB
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endloop. -
Runtime error when sending email from PCUI
Hi,
When sending email from an activity in PCUI, I get runtime error, Line 2201, error, 'Object Expected'.
Any idea?
Thanks,
ARHi AR,
This appears to be a javascript error. Could you give some more details about this error.
Regards,
Hemanth -
Runtime error Calling Java Methods from C++
I'm trying to add Java methods to an existing C++ program.
I'm working in W2000 enviroment using Cygnus GCC compiler.
Before adding these methods, I tested invoke example from Jni tutorial.
All worked properly. But the problems arouse when I tried to run non-static methods.
Here is the code I'm testing now:
#include <stdio.h>
#include <jni.h>
#define PATH_SEPARATOR ';'
#define USER_CLASSPATH "." /* where Prog.class is */
int main(int argc, char *argv[]) {
JNIEnv *env;
JavaVM *jvm;
JDK1_1InitArgs vm_args;
jint res;
jclass cls;
jmethodID mid;
jobject jobj;
char classpath[1024];
vm_args.version = 0x00010001;
JNI_GetDefaultJavaVMInitArgs(&vm_args);
sprintf(classpath, "%s%c%s",
vm_args.classpath, PATH_SEPARATOR, USER_CLASSPATH);
vm_args.classpath = classpath;
res = JNI_CreateJavaVM(&jvm,(void **)&env,&vm_args);
if (res < 0) {
fprintf(stderr, "Can't create Java VM\n");
exit(1);
cls = env->FindClass("Prog");
if (cls == 0) {
fprintf(stderr, "Can't find consola class\n");
exit(1);
mid = env->GetStaticMethodID(cls, "Entrada", "()V");
if (mid == 0) {
fprintf(stderr, "Can't find consola.consola\n");
exit(1);
env->CallStaticVoidMethod(cls, mid);
/* jobj = env->NewObject(cls, mid);
if (jobj == 0) {
fprintf(stderr, "Can't find Prog.main\n");
exit(4);
jvm->DestroyJavaVM();
And the java code Prog.java:
public class Prog {
public static void Entrada() {
Consola Cons = new Consola();
And Consola a user class tha shows a Java window and let's do something more.
These code works fine and The Prog and Consola classes run properly.
But when I try to change Entrada method to non-static, following error appears in a window.
Microsoft Visual C++ Runtime library
Runtime Error !
Program: D:\javaini\JNI-INVOKE\invoke.exe
abnormal program termination
If I try
jobj = env->NewObject(cls, mid);
if (jobj == 0) {
fprintf(stderr, "Can't find Prog.main\n");
exit(4);
instead of
env->CallVoidMethod(cls, mid);
I get the same error.
Could anybody help me ?
Am I doing anything wrong ?
Thanks in advance. Ignasi Villagrasa.I found it.
In JNI examples I saw
mid = env->GetMethodID(cls, "<init>", "()V");
to run constructor.
And then NewObject function.
So it's solved.
But I find another problem now.
If the class I'm calling is a graphic java class (In this case from swing), when the window is closed the application in C++ stops too.
Should I create another thread to manage the window ?
Couldn't I follow running lines after NewObject method ?
Thanks in advance, Ignasi Villagrasa. -
Error when executing job from BW
Hi,
We have created a job that transfers a set of data to BW PSA.
When executing from data services designer or from the management console the job works fine.
When executing the job from BW administration workbench, the job is executed and does not report failures (we can consult the log in the management console).
But nothing arrives in the PSA, and on the workbench we get the following errors:
Error in a data conversion in record
data record 1 of the fragmented entry is too long.
Error in a data conversion in record
Please advice what to check next.
Best regards
ThomasHi,
Thank you for your help.
I tried changing the BW datastore to UTF-8 but am still not able to load these data when it is trigged from BW.
After changing the datastore to UTF-8 I get some additional information in the log but no errors
Additional information in the log:
The specified locale and datastore codepage
Br
Søren Ejlersen -
Portal runtime error when execute a model deployed
Hy, i have this problem: when execute my model on the portal i receive this error:
Portal Error run-time
Error request processing for :
iView : N/A
Component : N/A
Component com.myComp.myProduct.29H.Analisi_agenti_2.AAD29H : JSP file name missing. Please check you profile..
Exception id: 10:54_29/01/08_0009_3388450
See the details for the exception ID in the log file
Thank's a lot.
Sincerely yours
Andrea MaravigliaHi Andrea,
Please check your portal runtime server is running or not. (Management Console)
I have experienced the same error , when our portal runtime server was stopped. I just restarted it. and problem solved.
Let me know if you have further problem.
Thanks,
Prashant
(Do reward points for helpful answer) -
Runtime error when executing transaction 'PPOME'
Hi all,
<br>
<br>
<br>I 'm new to SAP and would like to beg a helping hand.
<br>I had tired the 'free search' function in PPOME.
<br>and I m not sure what mistake I make. When I execute t-code PPOME again, it is getting the runtime error.
<br>
<br>the following are the descritpion of exception by T-code ST22.
<br>the error is related to u201CSAP_IN_ITAB_ILLEGAL_OPTIONu201D and I read the its SAP NOTE(1256059).
<br>However, I don't how to do so that fix this problem.
<br>May anyone help me~
<br>
<br>----
<br><b>Short text</b>
<br>Invalid value in OPTION field of value table for IN itab operator.
<br>
<br><b>What happened?</b>
<br> Error in the ABAP Application Program
<br>
<br> The current ABAP program "%_T0DQG0" had to be terminated because it has
<br> come across a statement that unfortunately cannot be executed.
<br>
<br><b>Error analysis</b>
<br> The current ABAP/4 program attempted to execute an ABAP/4 Open SQL
<br> statement in which the WHERE condition contains an IN itab operator.
<br>
<br> The IN itab operator is used with internal tables which
<br> have the following structure:
<br>
<br> SIGN(1) OPTION(2) LOW LIKE db_field HIGH LIKE db_field
<br>
<br> The OPTION column should contain only one of the following values:
<br>
<br> "EQ LE GE CP BT NE LT GT NP NB"
<br>
<br> The value " " is not allowed here.
<br>
<br><b>How to correct the error</b>
<br> Use only one of the permitted values in the OPTION column.
<br>
<br> If the error occures in a non-modified SAP program, you may be able to
<br> find an interim solution in an SAP Note.
<br> If you have access to SAP Notes, carry out a search with the following
<br> keywords:
<br>
<br> "SAPSQL_IN_ITAB_ILLEGAL_OPTION" " "
<br> "%_T0DQG0" or "%_T0DQG0"
<br> "GET_OBJECTS"
<br>
<br> If you cannot solve the problem yourself and want to send an error
<br> notification to SAP, include the following information:
<br>
<br> 1. The description of the current problem (short dump)
<br>
<br> To save the description, choose "System->List->Save->Local File
<br> (Unconverted)".
<br>
<br> 2. Corresponding system log
<br>
<br> Display the system log by calling transaction SM21.
<br> Restrict the time interval to 10 minutes before and five minutes
<br> after the short dump. Then choose "System->List->Save->Local File
<br> (Unconverted)".
<br>
<br> 3. If the problem occurs in a problem of your own or a modified SAP
<br> program: The source code of the program
<br> In the editor, choose "Utilities->More
<br> Utilities->Upload/Download->Download".
<br>
<br> 4. Details about the conditions under which the error occurred or which
<br> actions and input led to the error.
<br>
<br><b>User and Transaction</b>
<br>
<br> Client.............. 300
<br> User................ "xxxxxxxx"
<br> Language key........ "E"
<br> Transaction......... "PPOME "
<br> Transactions ID..... "26F031E14FDBF1E0BB3500155D7F2106"
<br>
<br> Program............. "%_T0DQG0"
<br> Screen.............. "SAPMSSY0 1000"
<br> Screen line......... 6
<br>
<br>
<br><b>Information on where terminated</b>
<br> The termination occurred in the temporary subroutine pool "%_T0DQG0" in
<br> "GET_OBJECTS".
<br> The main program was "OM_START_NF ".
<br>
<br> The point of termination in the source code is in line 69 of
<br> the temporary subroutine pool "%_T0DQG0".
<br>
<br>Edited by: jack22000011 on Dec 29, 2011 9:05 AM
Edited by: jack22000011 on Dec 29, 2011 9:11 AMHi all,
I am getting the exact same dump.
And in my case, I am not providing any input.
I have made a non-obligatory selection screen parameter, and then appended that to a table type of the local structure of select options that i made.
Then i am passing this to a fm as an importing parameter.
And it is giving dump on the first query in the fm.
If I don't use the fm, then in that case, it is working fine, and if the field is blank it fetches all records,
but why it is not working now..., any ideas??? -
Getting HeapDump on out of memory error when executing method through JNI
I have a C++ code that executes a method inside the jvm through the JNI.
I have a memory leak in my java code that results an out of memory error, this exception is caught in my C++ code and as a result the heap dump is not created on the disk.
I am running the jvm with
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=C:\x.hprof
Any suggestions?
ThanksI'll rephrase it then.
I have a java class named PbsExecuter and one static method in it ExecuteCommand.
I am calling this method through JNI (using CallStaticObjectMethod). sometimes this method causes the jvm to throw OutOfMemoryError and I would like to get a heap dump on the disk when this happens in order to locate my memory leak.
I've started the jvm with JNI_CreateJavaVM and I've put two options inside the JavaVMInitArgs that is used to create the Jvm. -XX:+HeapDumpOnOutOfMemoryError and -XX:HeapDumpPath=C:\x.hprof
which supposed to create a heap dump on the disk when OutOfMemoryError occurs.
Normally if I would execute normal java code, when this exception would occur and I wouldn't catch it the Jvm would crash and the heap dump would be created on the disk.
Since I need to handle errors in my C++ code I am use ExceptionOccured() and extracts the exception message from the exception it self and write it.
For some reason when I execute this method through JNI it doesn't create the dump.
Maybe you are looking for
-
IPhoto library from 7.1.5 to 5.0.4?
I want to duplicate my iPhoto library onto a G5 mac running Tiger with iPhoto 5.0.4 it currently resides on an Intel Leopard machine with iPhoto 7.1.5 (which came with that Mac so i don't have the upgrade option right now) is this possible? when i ex
-
Has anyone noticed this with the 1.2C BIOS?
The temperature goes back to normal (dodgy high temps) after flashing the BIOS and cold booting the PC. But after that, if you just go into BIOS as you're booting your PC and then leave by saving to cmos and leaving, the temps are lower again. Happen
-
Best way to import vector files?
What is the best way to import .AI and .EPS files? Is File > Import the way to go or is there another way in CS5? Thanks.
-
Dimension reordering problem !!
Hi all, Second last dimension is not moving up when i am trying to reorder my dimension in my outline of a planning application . i am doing this through performance setting tab of hyperion planning. any idea why...and any other alternative to reorde
-
I am using Oracle JDBC driver to access the DB. The problem is when i retrieving the LONG type data via streaming. Sometimes it throws an IOException with the naming "The bigger type length than Maxium". My DB and driver version is Oracle 8.0.5 The j