SQLJ runtime error
Hi:
I am getting the following Exception when I call sqlj based java class from a jsp page. The Exception indicates that the SQLJ runtime tries to grab the sql statement from the cache, but it is going out of the Arrary bounds. I am really wondering if clearing SQLJ cache will resolve the issue. If it does, how can I clear the SQLJ runtine cache on Solaris 7.
Your help is very much appreciated, as I wasted long time trying to debug it.
java.lang.ArrayIndexOutOfBoundsException: 63
at sqlj.runtime.profile.ref.StatementCacheProfile.getStatement(StatementCacheProfile.java:82)
at sqlj.runtime.profile.ref.ProfileWrapper.getStatement(ProfileWrapper.java:96)
at sqlj.runtime.ExecutionContext$StatementStack.setStatement(ExecutionContext.java:995)
at sqlj.runtime.ExecutionContext.registerStatement(ExecutionContext.java:523)
at com.nortelnetworks.productsupportability.sqlj.generated.passport.dpngate.getDefaultT1(dpngate.java:2405)
at netrx.charts._passport._dpngate._jspService(_dpngate.java:239)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
at oracle.jsp.JspServlet.internalService(JspServlet.java)
at oracle.jsp.JspServlet.service(JspServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:536)
Regards
Any one of the three following things should help:
(1) Add the generated .ser file(s) to be loaded by loadjava.
(2) Use the -ser2class option when translating your SQLJ source and add the additional .class files to be loaded by loadjava.
(3) Use loadjava to load SQLJ source rather than .class (and .ser) files.
Similar Messages
-
Sqlj runtime error with oracle 10G in Websphere6 or 5.1
We are trying to migrate from oracle 9i to 10G and we are compiled all our sqlj code with codegen = -oracle option.(previously we used to use codegen=-jdbc which for some reason doesnot work).it compiles fine with out any erros.. But when we try to run then get this exception.
java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso. java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso.
at sqlj.runtime.ref.ConnectionContextImpl.getOracleConnection(ConnectionContextImpl.java:167)
at sqlj.runtime.ExecutionContext$OracleContext.prepareOracleStatement(ExecutionContext.java:1397)
We are using ojdbc14.jar that came with oracle 10G.
Hope any one can give any pointers.I'm having same issue - but I'm having it when I try to invoke a method that contains a database Object type from a Tibco Business Works Process called a Java Method.
How exactly do you do the codegen=iso configuration?
I've tried:
1. Project Properties / Compiler SQLJ and then select from Code Generation drop down iso.
2. From Connections / Database / Navigate to package / right-click / Generate Java / Browse to my custom jpub.properties file where I have tried multiple entries such as (by themselves and in some combination.:
- jpub.codegen=jdbc
- jpub.codegen=iso
- jpub.compatible=9i
- jpub.compatible=8i
- compatible=both8i
- jpub.usertypes=oracle
- jpub.compatible=customdatum
- jpub.compatible=sqlj
I've also played with changing from the default some of the Mapping Options in Connections / Database / Navigate to package / right-click / Generate Java / Mapping Options.
This doc here, says that code should change (section 6 JPublisher Input Files - based on configuration of Input files)
Oracle® Database
JPublisher User's Guide
10g Release 2 (10.2)
B14188-01
No matter what I do, the code that gets generate is the same.
Also, the documentation talks about running things from the command line but how exactly do you do that? Do I need to be in specific directory? I tried the c:\ C:\jdev\system and c\jdev\ and c:jdev\bin and always get error message: 'jpub' is not recognized as an internal or external command, operable program or batch file.
I've built a java client in JDeveloper to successfully call the same method and I don't see the error.
Edited by: disaak on Mar 9, 2010 11:51 AM -
I am running on an Oracle 8.1.5 database using SQLJ Release 8.1.5.0.0 and JDBC version 8.1 (8.1.5.0.0). My SQLJ program precompiles and compiles successfully, resulting in a .class file which I load without error using the loadjava utility. I then create a procedure to run the stored procedure. All this works just fine. However, when I run the procedure, I get the error:
"ORA-29541: class <class name> could not be resolved"
I can't find this error message documented anywhere. (I'm not saying it's not - I'm saying I can't find it.) This same process of loading .class files with loadjava and running them through a wrapper procedure works without errors for JDBC but not SQLJ. Any suggestions on how to fix this?Any one of the three following things should help:
(1) Add the generated .ser file(s) to be loaded by loadjava.
(2) Use the -ser2class option when translating your SQLJ source and add the additional .class files to be loaded by loadjava.
(3) Use loadjava to load SQLJ source rather than .class (and .ser) files. -
Sqlj.runtime package missing
Two questions:
1) JDeveloper 3.1 is not able to locate sqlj.runtime and it's there, it was working properly a 15 minutes ago. Any suggestion?
2) what does the following warning message mean?
Warning: (33) Type driverTest.Driver of host item #1 is not permitted in JDBC. This will not be portable..
Thanks in advance!!
The whole error message I got from JDev:
D:\Program Files\Oracle\JDeveloper 3.1\myprojects\driverTest\mydriver.sqlj
Warning: (33) Type driverTest.Driver of host item #1 is not permitted in JDBC. This will not be portable..
Error: (4) identifier sqlj.runtime.ref.DefaultContext not found.
Error: (5) identifier sqlj.runtime.ConnectionContext not found.
Error: (20) class ConnectionContext not found in class driverTest.mydriver.
Error: (11) identifier sqlj.runtime.ref.ConnectionContextImpl not found.
Error: (11) identifier sqlj.runtime.ConnectionContext not found.
Error: (0) identifier sqlj.runtime.profile.Loader not found.
Error: (17) variable DefaultContext not found in class driverTest.mydriver.
Error: (17) constructor mydriver$_Ctx(<any>) not found in class driverTest.mydriver._Ctx.
Error: (22) constructor mydriver$_Ctx(<any>) not found in class driverTest.mydriver._Ctx.
Error: (26) constructor mydriver$_Ctx(java.sql.Connection) not found in class driverTest.mydriver._Ctx.
Error: (33) identifier sqlj.runtime.ConnectionContext not found.
Error: (33) identifier sqlj.runtime.error.RuntimeRefErrors not found.
Error: (33) identifier sqlj.runtime.ExecutionContext not found.
Error: (33) identifier sqlj.runtime.error.RuntimeRefErrors not found.
Error: (33) identifier sqlj.runtime.profile.RTStatement not found.
Error: (0) identifier sqlj.runtime.RuntimeContext not found.
Error: (0) method getProfileKey(<any>, java.lang.String) not found in class driverTest.mydriver._Ctx.
D:\Program Files\Oracle\JDeveloper 3.1\myprojects\driverTest\Driver.sqlj
Error: (11) identifier sqlj.runtime.ref.DefaultContext not found.
Error: (12) identifier sqlj.runtime.ConnectionContext not found.
Error: (52) class ConnectionContext not found in class driverTest.Driver.
Error: (20) identifier sqlj.runtime.ref.ConnectionContextImpl not found.
Error: (20) identifier sqlj.runtime.ConnectionContext not found.
Error: (44) variable DefaultContext not found in class driverTest.Driver.
Error: (44) constructor Driver$_Ctx(<any>) not found in class driverTest.Driver._Ctx.
Error: (55) variable DefaultContext not found in class driverTest.Driver.
Error: (55) constructor Driver$_Ctx(<any>) not found in class driverTest.Driver._Ctx.
Error: (61) constructor Driver$_Ctx(java.sql.Connection) not found in class driverTest.Driver._Ctx.
Error: (67) constructor Driver$_Ctx(oracle.jdbc.driver.OracleConnection) not found in class driverTest.Driver._Ctx.
Error: (77) constructor Driver$_Ctx(oracle.jdbc.driver.OracleConnection) not found in class driverTest.Driver._Ctx.
D:\Program Files\Oracle\JDeveloper 3.1\myhtml\driverTest_html\view.jsp
Error: (27) incompatible types; found: void, required: driverTest.Driver.
null1) JDeveloper 3.1 is not able to locate sqlj.runtime Ensure that the SQLJ runtime.zip and/or translator.zip file is in the project's CLASSPATH.
2) Warning: (33) Type driverTest.Driver of host item #1 is not permitted in JDBC. This warning is issued if you use Java types that are supported by Oracle's JDBC driver (and thus in the Oracle SQLJ runtime), but that are not JDBC types. You'd only care about this warning if you want to write fully portable code. You can turn of portability warnings in JDeveloper under project properties on the SQLJ tab. On the SQLJ command line you could say: -warn=noportable. -
SQLJ runtime exception in 9.2.0.4
Hi,
I work on a software using oracle, java and SQLJ technology. Since we pass from oracle 8.1.6 to Oracle 9.2.0.4 we have some sqlj runtime exception. These exceptions are randoms, amazing as the same request with SQL*plus is working, and occurrs randomly in time so it works all the same ...
examples (in bold the oracle exception text) :
1/ Unable to define propagation alert iterator (this exception is an SQL one and catched within the program) : Invalid column name
the sqlj command corresponding => #sql ppgAlertIter = { SELECT USER_LOGIN FROM ALERT WHERE SAFETY_EVENT_ID = :incId AND OCCURRENCE_ID = :occId AND USER_LOGIN IN ( SELECT USER_LOGIN FROM USERS WHERE ROLE_NAME <> :roleName) };
all the column names are rights !!!!
2/java.lang.NullPointerException at sqlj.runtime.ExecutionContext$OracleContext.oracleExecuteQuery(ExecutionContext.java:1585) at asmtdb.DBUser.getComponentUpdateTime(DBUser.java:882)
here is a runtime exception (not catched) (this exception correpsonds to the SQLJ commqnd in example 3/)
3/exception when getting component's update time : Unable to retrieve component's update time : expected 1 columns in select list but found 11
the SQLJ command corresponding => #sql { SELECT TO_CHAR(UPDATE_TIME, 'DD/MM/YYYY HH24:MI:SS') INTO :updateTime FROM COMPONENT WHERE COMPONENT_NAME = :componentName };
with SQL*plus no problems to have a result, more is that we have only 3 distinct columns, so why 11 ????
Is anyone had already these kinds of troubleshootings ???
Here is my environment :
- HP-UX B.11.00 U 9000/785 (64 bits)
- Oracle SQLJ Release 9.2.0.3.0 Production
Copyright © 1997, 2003, Oracle Corporation. All Rights Reserved.
Build version: 2.3.0.0 - Built on Feb 15, 2002
IDE interface version: 9.2.0.3.0/2.3.0.0
JDBC version: Oracle JDBC driver version 9.2 (9.2.0.3.0)
SQLJ runtime: Oracle 9.2.0 for JDBC 8.1.7 or later/JDK 1.2.x - Built on Jul 21, 2003
Java version: 1.4 (1.4.2.00)
ChrisChris,
The error messages are misleading. I'm only guessing, but from what you have posted, it looks like the problem is in the values you are supplying for your bind variables. It could be that the SQL parser thinks that a bind variable is a column name -- and, of-course, there is no such column name, hence the "Invalid column name" error. Do you know about P6Spy ? It captures the SQL with the bind variable values, so you see the exact SQL that is getting sent to Oracle.
Good Luck,
Avi. -
Hello,
so i have some of this code in my project
<code>
OrdHttpUploadFormData formData = new OrdHttpUploadFormData(request);
formData.parseFormData();
OrdHttpUploadFile image = formData.getFileParameter("image");
OrdHttpUploadFile audio = formData.getFileParameter("audio");
OrdImage ord_image_zdjeciealbumu =
(OrdImage) rset.getORAData(1, OrdImage.getORADataFactory());
OrdAudio ord_audio_utwor =
(OrdAudio) rset.getORAData(2, OrdAudio.getORADataFactory());
try {
image.loadImage(ord_image_zdjeciealbumu);
audio.loadAudio(ord_audio_utwor);
} catch (Exception e) {
</code>
Generally my problem is such exception :
<code>
java.lang.NoSuchMethodError: sqlj.runtime.ExecutionContext.getOracleContext()Lsqlj/runtime/ExecutionContext$OracleContext;
oracle.ord.im.OrdImageBase._deleteContent(OrdImageBase.java:322)
oracle.ord.im.OrdImage.deleteContent(OrdImage.java:846)
oracle.ord.im.OrdImage.loadDataFromInputStream(OrdImage.java:749)
oracle.ord.im.OrdHttpUploadFile.loadImage(OrdHttpUploadFile.java:544)
PhotoAlbumRequest.dodajElementDoBazy(Index.java:584)
Index.doPost(Index.java:91)
javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
</code>
I would like to say that i imported such libraries in my Netbeans project like classes12.jar, runtime12.jar and translator.jar and it still not working. Much appreciated for help.Here's the relevant JavaDoc on NoSuchMethodError:
Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.
Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed.
Sounds like you have an incompatibility amongst your Oracle JAR files. -
ClassNotFoundException:oracle.sqlj.runtime.Oracle
Sub: Error
message "ClassNotFoundException:oracle.sqlj.runtime.Oracle"
Hi,
I am trying to run an applet whose source is compiled by sqlj
with no errors. Applications hit the database and run fine from
the Sun Unix command prompt, but when I write as an applet and
try to run through the web I get the above error message. I am
running webserver 3.0 and Oracle 8 version on Sun E10K with ver
5.6, JDK 1.2.
Thanks in advance for your reply.
Ravi Nitta
nullRavi Nitta (guest) wrote:
: Sub: Error
: message "ClassNotFoundException:oracle.sqlj.runtime.Oracle"
: Hi,
: I am trying to run an applet whose source is compiled by sqlj
: with no errors. Applications hit the database and run fine from
: the Sun Unix command prompt, but when I write as an applet and
: try to run through the web I get the above error message. I am
: running webserver 3.0 and Oracle 8 version on Sun E10K with ver
: 5.6, JDK 1.2.
: Thanks in advance for your reply.
: Ravi Nitta
Ravi --
I think there was a problem with the 8.0.5 distribution, in
that the oracle.sqlj.runtime classes did not make it into
the runtime.zip file.
Just add the oracle.sqlj.runtime.* packages to the zip
(compression must be set to none).
Additionally, you can remove the packages sqlj.runtime.util
and oracle.sqlj.runtime.util - these only get used at
translate time, not at runtime.
(Alternatively, if you can say: sqlj -profile=false ...
and your program still runs, you can do that, and your
applet will not use the Oracle-specific SQLJ runtime.)
Of course, the runtime.zip and your JDBC driver's zip must be
distributed with the applet.
If you get a SecurityException, then the SQLJ runtime you are
using utilizes reflection, and you have the options outlined
in my other reply to your query.
Hope this helps.
-- Ekkehard
null -
I get the error (described after the class code) when I compile a Labels.sqlj file
Labels.sqlj:
import sqlj.runtime.*;
import sqlj.runtime.ref.*;
import java.sql.SQLException;
public class Labels {
public String getLabel(String labelCode) {
String label = null;
try {
#sql { select lbl_txt into :label from lbl where lbl_cd = 'WORKORDERS' };
} catch (SQLException e) {
return label;
Error:
JniPortal for C:\Program Files\Oracle\JDeveloper 3.0\java1.2\jre\bin\classic\jvm.dll reported
try to access field oracle/jdeveloper/sqlj/TranslatorInternal.projectUrl from class oracle/jdeveloper/sqlj/TranslatorInternal$ProfileIOContextInternal
java.lang.IllegalAccessError: try to access field oracle/jdeveloper/sqlj/TranslatorInternal.projectUrl from class oracle/jdeveloper/sqlj/TranslatorInternal$ProfileIOContextInternal
at oracle.jdeveloper.sqlj.TranslatorInternal$ProfileIOContextInternal.getLoader(TranslatorInternal.java:905)
at sqlj.runtime.profile.util.CustomizerHarness.customizeProfile(CustomizerHarness.java:1028)
at oracle.jdeveloper.sqlj.TranslatorInternal.customizeProfiles(TranslatorInternal.java, Compiled Code)
at oracle.jdeveloper.sqlj.TranslatorSystemImpl.customizeProfiles(TranslatorSystemImpl.java:246)
at oracle.jdeveloper.sqlj.TranslatorSystem_JavaDispatch.invoke(TranslatorSystem_JavaDispatch.java, Compiled Code)
nullPramod,
SQLJ is not supported with JDK 1.2 in JDev 3.0 production (see release notes for details).
Switching the 'target JDK' version to 1.1.8 in Project|Properties should fix this problem
Regards,
Arun -
Runtime error in starting Lightroom
I receive the following message when I try to start Lightroom:
Microsoft Visual C++ Runtime Library
Runtime Error!
Program:...Files\Adobe\Adobe Photoshop Lightroom 1.2\lightroom.exe
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Lightroom ran well for several days and then failed to open with the above message.
I have tried everything I know to do (uninstalled and reinstalled the application, restored the computer to a restore point before Lightroom was originally installed, etc.) and do not know were to go from here. Suggestions would be appreciated.
I am using Windows XP sp2 and have 4 GB of ram and 250 GB of hard disk space.
Thanks,
Cliff CulpAha! A fix! Please look at this...
http://www.adobeforums.com/cgi-bin
bob frost, "Help! Runtime error after Lightroom 1.1 install!" #10, 27 Jun 2007 6:54 am -
Runtime error while executing rule
Hello All,
While executing the DTP for a cube, im facing the error as Runtime error while executing rule -> see long text .
For this source is another Cube, where im loading the data from Cube to Cube.
Error Description are as follows:-
Error Location: Object Type TRFN
Error Location: Object Name 0T9SCR6Q4VWS1SOPNRRBOY1YD51XJ7PX
Error Location: Operation Type ROUTINE
Error Location: Operation Name
Error Location: Operation ID 00034 0000
Error Severity 100
Original Record: Segment 0001
Original Record: Number 557
and Also descripton is :-
Diagnosis
An error occurred while executing a transformation rule:
The exact error message is:
Division by zero
The error was triggered at the following point in the program
GP4H0CW3MLPOTR3E8Y93QZT2YHA 4476
System Response
Processing the data record has been terminated.
Procedure
The following additional information is included in the higher-level
node of the monitor:
Transformation ID
Data record number of the source record
Number and name of the rule which produced the error
Let me know ur valuable suggestions on these error...
thanks.Hello,
I have checked all the transformation and End Routines.All are working fine.Yesterday i have loaded some data into it, but today its gettting errored out.
Checked completely in the forum for threads related to this, but couldnt find proper thread which had solutions....
thanks,
srinivas. -
Could someone help me with a Runtime Error while saving a PDF file?
While saving a 28 page PDF file in Illustrator today, I got a window saying, "This application has requested the "Runtime" to terminate it in a unusual way." It said to contact the applications support team for more information. I keep getting the same thing each time I try it. Does anyone know how to fix this issue or how I contact the applications support team ?
Thank you for any insight.
PamIt is a 13.5x11 inch calendar. There are 14 pages with images on them and
some text. The other pages have text, a grid and a colored background with a
gaussian blur. I saved each page as an "outline".
The printer I am using requested I save all pages in a pdf file. I was
successful in saving all but about six pages, now I can't even open the
file.
What happens is... I open Illustrator
I open the pdf file
A window appears that says... Runtime Error,
This application has requested the Runtime to terminate it in an unusual
way. Please contact the application's support team for more information.
I select ok
then a window appears that says... Adobe
Illustrator CS5 has stopped working. A problem caused the program to stop
working correctly. Windows will close the program and notify you if a
solution is available.
Then the program closes.
So far I have not been notified of anything.
Please let me know if you need more details.
Thank you so much for helping me with this.
Pam -
RunTime Error while saving a Sales Order
Hi All,
When i am saving a Sales Order, the system is throwing a Runtime Error.
The ABAP Code in the Runtime Error screen as follows.
select * from (t681-kotab) appending table <cond_tab>
up to 1 rows
where kappl = se_kappl
and kschl = se_kschl
and datbi >= se_date
and datab <= se_date
and (coding_tab).
Till these days, there was no such error while saving a Sales Order.
How to resolve this issue?
Regards
PavanHi,
The below piece of code is trying to get the contents of the table mentioned in T681-KOTAB.
select * from (t681-kotab) appending table <cond_tab>
up to 1 rows
where kappl = se_kappl
and kschl = se_kschl
and datbi >= se_date
and datab <= se_date
and (coding_tab).
The reason could be is someone has screwed up the entries in T681 table. Check that out.
Try to put a break point on this SELECT query and see what the value of T681-KOTAB holds before the SELECT query. Check whether such a table entry exists in DB.
Let me know if you are still stuck up.
If you can send me the ST22 dump of the run time error, i might be able to help you more on this.
Hope this helps.
Thanks,
Balaji -
WHILE DELETING A SALE ORDER GETTING A RUNTIME ERROR
hi to all experts,
whenever i try to delete a particular sale order im getting a runtime error
stating that
Short text
Screen: Illegal message
What happened?
The current screen processing action was terminated since a situat
occurred where the application could not continue.
This is probably due to an error in the ABAP program or in the cur
screen.
Error analysis
The program attempted to issue a " " message during "Exit Command" processing.
This is an illegal operation.
The program was terminated.
Screen name.............. "SAPMV45A"
Screen number............ 4001
Trigger Location of Runtime Error
Program SAPMV45A
Include MV45AFZZ
Row 370
Module type (FORM)
Module Name USEREXIT_SAVE_DOCUMENT
SourceCde
message e001(zm) WITH text-335 ltab-kunnr text-334.
else.
if ktab-jkunnr <> ltab-kunnr.
ktab-jkunnr = ltab-kunnr.
jobsitecode = ltab-kunnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = jobsitecode
IMPORTING
output = jobsitecode.
SELECT SINGLE * FROM kna1 WHERE kunnr = jobsitecode.
IF sy-subrc = 0.
ktab-jname1 = kna1-name1.
ktab-jstras = kna1-stras.
ENDIF.
chg_flg = 'X'.
endif.
endif.
else.
message e001(zm) WITH text-336.
* Validation for relationship between Sold-to Party and Ship-to Party
* if ktab-ckunnr+0(4) NE ktab-jkunnr+0(4).
* message e001(zm) WITH text-335 ktab-jkunnr text-337 ktab-ckunnr.
* endif.
custcode1 = ktab-ckunnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = custcode1
IMPORTING
output = custcode1.
jobsitecode1 = ktab-jkunnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = jobsitecode1
IMPORTING
output = jobsitecode1.
SELECT SINGLE * FROM knvp
WHERE kunnr = custcode1
AND vkorg = vbak-vkorg
AND vtweg = vbak-vtweg
AND spart = vbak-spart
AND parvw = 'WE'
Error analysis
The program attempted to issue a " " message during "Exit Command"
This is an illegal operation.
The program was terminated.
Screen name.............. "SAPMV45A"
Screen number............ 4001
Trigger Location of Runtime Error
Program SAPMV45A
Include MV45AFZZ
Row 370
Module type (FORM)
Module Name USEREXIT_SAVE_DOCUMENTHi,
Seems there is some problem with the user exit USEREXIT_SAVE_DOCUMENT..
Put a breakpoint and see.
Regards,
Nagaraj -
WHILE DELETING A SALE ORDER GETTING A RUNTIME ERROR " Screen: Illegal message"
Hi Experts,
While deleting a sales order giving run time error. PFB runtime error details.
If you know any OSS message, please let m know. I tried, but there is no luck.
Short text
Screen: Illegal message
What happened?
The current screen processing action was terminated since a situation
occurred where the application could not continue.
This is probably due to an error in the ABAP program or in the current
screen.
What can you do?
Note which actions and input led to the error.
For further help in handling the problem, contact your SAP administrator.
You can use the ABAP dump analysis transaction ST22 to view and manage
termination messages, in particular for long term reference.
Error analysis
The program attempted to issue a " " message during "Exit Command" processing.
This is an illegal operation.
The program was terminated.
Screen name.............. "SAPMV45A"
Screen number............ 4001
How to correct the error
The program must be modified to correct the error.
The modification must be made in "Exit Command" processing.
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)".
Source Code Extract
Line SourceCde
1 *---------------------------------------------------------------------*
2 * FORM YVBEP_LESEN *
3 *---------------------------------------------------------------------*
4 * Lesen der Tabelle YVBEP (nicht sortiert) *
5 *---------------------------------------------------------------------*
6 FORM YVBEP_LESEN USING US_POSNR
7 US_ETENR
8 CHANGING CH_TABIX.
9
10 YVBEP = SPACE.
11 YVBEP-MANDT = VBAK-MANDT.
12 YVBEP-VBELN = VBAK-VBELN.
13 YVBEP-POSNR = US_POSNR.
14 YVBEP-ETENR = US_ETENR.
15 READ TABLE YVBEP.
16 IF SY-SUBRC > 0.
17 MESSAGE E506 WITH US_POSNR US_ETENR.
18 ENDIF.
>>>>> CH_TABIX = SY-TABIX.
20
21 ENDFORM.
Could you please help on this issue.
Thanks
SrinuHi Srinu,
it looks like you got the error message Schedule line &1 &2 is missing in table YVBEP while deleting the sales order.
It seems, that there are no SAP notes regarding this issue. Do you have this issue with all orders or with a single order?
If only a single order causes this issue, maybe something was wrong during an update.
If you get this error for many orders, then custom code (modification, enhancement, user exit in MV45AFZZ, ...) may be the reason for it.
If you have no custom code in module pool SAPMV45A, then contact SAP for this issue.
Regards,
Klaus -
Portal runtime error while selecting page layout in WPC editor
Hello,
in web page composer, editing page, when i click on "select page layout" I have a portal runtime error popup.
The logfile shows the following :
#1.5 #005056834112005E0000000C00000FA800048E28A94966CC#1282205196819#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#1016#149##n/a##7ff9c93eab6811dfa9c70000003307de#SAPEngine_Application_Thread[impl:3]_15##0#0#Error##Java###10:06_19/08/10_0010_3344350
[EXCEPTION]
#1#com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error in java compiling
Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: E:
usr
sap
EPD
JC00
j2ee
cluster
server0
apps
sap.com
irj
servlet_jsp
irj
root
WEB-INF
portal
portalapps
com.sap.netweaver.bc.util
lib
bc.util.public_api.jar(com/sapportals/wcm/WcmException.java):24: class WcmException is public, should be declared in a file named WcmException.java
(source unavailable)
1 error
I have the same by clicking on "check assignments"
Any help ?
ThanksHello Jego.
We faced the same issue after upgrade to EHP1 SP07 last week and managed to solve it by modification of layout.jsp and com.sap.nw.wpc.layoutmanager.LayoutBean within com.sap.nw.wpc.designtime.par. SAP's code requires an additional catch handler, so it is better to rise an OSS message.
As a workaround you may change a default layout for wpc main page (good for new pages) or manually edit output.xml for existing pages.
Best regards,
Aliaksandr Zhukau
Maybe you are looking for
-
Getting: Unexpected Error when trying to upload files with my post!
Hello, i tried today to post a reply to someone`s message t the forums but when i tried to attach 2 .php files i get unexpected error message and prevented me from posting the reply. but when i delete or reloaded the page, i shows me an error message
-
Time Machine Backup not possible (normal external Hard drive)
Hi, has anyone else had the problem that after the Lion upgrade its not possible to even really access your external time machine? i have a 1TB Samsung HD103SI Media and when it tries to boot up it wont show in finder, i can see it in the disk drive
-
XL Reporter Do Not Display Blank Records
hey all, I've built a standard P&L Budget report in XL Reporter with parameters for each segment of the account code as made possible by patch 02. However, when I uncheck "Do not display blank records," the generated report lists an instance of each
-
Dynamic Update in real time with slider control
We have requirements to display complex data in a graphical format. So far this has gone well by leveraging ADF and DVT components (dvt:Map, dvt:gauge, dvt:bargraph, af:tables, af:inputNumberSlider, etc.); however, we recently have been asked to add
-
Quicktime only downloaded a bit of the trailer
When I tried to view a quicktime trailer, example: a HD 480p(36MB) trailer, it could only download the first 8 secs. When I try to view the trailer smaller in size, example standard medium, it could download 27 secs. And when I try to view standard s