Error when re-compiling a package
I get the following error when I re-compile my package.
Yesterday someone has compiled this package and changes are reflected.
How to get this package unlocked???.
ERROR at line 1:
ORA-04021: timeout occurred while waiting to lock object
SCH_LOAD.DNS_LOAD_BASE_TABLES_CRDM
ORA-04021: timeout occurred while waiting to lock object stringstringstringstringstring
Cause: While waiting to lock a library object, a timeout is occurred.
Action: Retry the operation later.
Thanks Rob,
Usually this package takes few minutes to re-compile and we have already crossed 2 to 3 hours.
Could you please let me know what might be the probable reasons for this abnormal behaviour.
we are able to find required changes using user_source view.
Could you please let me know on how to kill the process and unlock the package.
thanks in advance.
Similar Messages
-
'Install App for SharePoint' There were errors when validating the App Package
Hello,
When testing with an app, I tried to add an
app event receiver before learning that remote event receiver are not allowed with
Sharepoint-hosted app. So I reseted the Handle app installed and
Web Project properties of my project and tried to redeploy and this error occurred :
'Install App for SharePoint' There were errors when validating the App Package
Something other than the project's properties have been modified but I don't know what.I think the best way to figure real reason out is to look at ULS logs.
This is example, what I had:
Unexpected App Packaging: CreatePackage: Unexpected exception: There were errors when validating the App package: There were errors when validating the App Package. Other warnings / errors associated with this
exception: The current version of SharePoint is less than the SharePointMinVersion specified in the app manifest. CurrentVersion='15.0.4693.1000', SharePointMinVersion='16.0.0.0'. -
Error when calling an Portal Package
I get the following error when calling a portal30 package. I am logged on to
another schema. I have run the provsyns.sql (per Doc ID: 122562.996) statement
but it still doesn't work.
Any help is appreciated.
SQL> declare
2 l_id number;
3 begin
4 l_id :=
portal30.wwsec_api_private.add_portal_user(p_User_Name=>'user1');
5 end;
6 /
declare
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWSEC_API_PRIVATE", line 198
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWLOG_API", line 183
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWCTX_SSO", line 849
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWCTX_SSO", line 669
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at line 4
Thanks,
Tom Henricksen
nullHi,
What is the implementation of your Web service? If it's another EJB then you have to define an ejb-local-ref in the deployment descriptor for that other EJB, like this:
<ejb-local-ref>
<ejb-ref-name>ejb/MyProcessorBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>your.package.BiasProcessorLocalHome</local-home>
<local>your.package.BiasProcessorLocal</local>
</ejb-local-ref>
If it's not a J2EE component, there is no java:comp environment naming context (ENC) available. In this case you can look up the EJB local home from the "localejbs/" context, e.g. "localejbs/provider.name/YourAppName/YourEjbName". By default the provider name is "sap.com".
For more information please refer to <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/accessing%20ejb%20applications%20using%20jndi.pdf">this article</a>.
HTH!
-- Vladimir -
Error when running import data package, BPC 7.5 Microsoft
When I try to import data to one of my applications the import fails. This happens with external data but also with data I extracted from the application (input via schedule and then exported) I get the below error:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
TOTAL STEPS 2
1. Convert Data: completed in 0 sec.
2. Load and Process: Failed in 1 sec.
3. Import: completed in 1 sec.
[Selection]
FILE=\GRP_CONSOL\ZHYP_DATA\DataManager\DataFiles
2011_test_schedule.txt
TRANSFORMATION=\GRP_CONSOL\ZHYP_DATA\DATAMANAGER\TRANSFORMATIONFILES\SYSTEM FILES\IMPORT.XLS
CLEARDATA= Yes
RUNLOGIC= Yes
CHECKLCK= Yes
[Messages]
Convert Data
Success
Record Count : 12
Accept Count : 12
Reject Count : 0
Skip Count : 0
Incorrect syntax near '.'.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
What can cause this error?
MarcoHi Marco,
See note [https://service.sap.com/sap/support/notes/1328907].
This is issue is related to the Replace and Clear option and not having Work Status set up correctly.
When using the option 'Replace & Clear' with Import packages, the WorkStatus Setting should be not only enabled but also 3 dimensions types 'C' (i.e. Category), 'E' (i.e. Entity) and 'T' (i.e. Time) should be set by 'Yes' or 'Owner'.
Thanks,
John -
Error when using javax.script package
Hi
I want to call a javascript method from a .js file from .java class.
when i searched, i came to understand that using jdk1.6 i can use javax.script package tht provide me what i needed.
using the reply i got from i earlier post, i tried one example.
public void show() {
ScriptEngineManager engineMgr = new ScriptEngineManager();
ScriptEngine engine= engineMgr.getEngineByName("JavaScript");
try {
engine.eval(new FileReader("D:/ShowScript.js"));
Invocable invocableEngine = (Invocable) engine;
//show_message is my function in ShowScript.js file
invocableEngine.invokeFunction("show_message",null);
} catch (Exception e) {
e.printStackTrace();
ShowScript.js
function show_message()
println("===> hi");
alert("hi");
When i execute my program, im getting the following error
javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "alert" is not defined. ( #8) in at line number 8
at com.sun.script.javascript.RhinoScriptEngine.invoke(RhinoScriptEngine.java:184)
at com.sun.script.javascript.RhinoScriptEngine.invokeFunction(RhinoScriptEngine.java:142)
at testbuiltin.backing.Show_alert.show(Show_alert.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
When i remove the alert() from the js file, the println is working. But what i neede is the alert.
Can anyone plz help me to solve this problem.As you're talking about "backing beans", are you using JSF?
After all, this is definitely not the way to let Java and JS interact with each other. Java runs at the server side. JS runs at the client side. Java can write JS code to the response, but definitely cannot call it. JS can access the HTML DOM and invoke requests to the server (form.submit() and AJAX and so on) and send parameters along the request, but definitely cannot call Java classes and methods independently. Nothing more and nothing less than that. -
NoClassDefFound error when using custom Java package in scripting QPAC
Hi,
I compiled a little Java-package (.jar), which contains a class that uses
com.adobe.workflow.datatype.form.FormDataTypeInstanceImpl.
I put my library in the lib folder of JBoss (...\server\all\lib).
Then I'm was trying to invoke my custom class in the scripting QPAC. But I'm constantly getting the error message
NoClassDefFound com\adobe\workflow\datatype\form\FormDataTypeInstanceImpl. I already put
adobe-wkf.jar (and various others) in the lib folder of JBoss. Without ever succeeding. Unfortunately.
I'm going mad about this.
Is there a way to address a custom package in the scripting QPAC, which uses
FormDataTypeInstanceImpl?
SteveRemoving the LiceCycle jars from the lib folder did not work. I still get the same error message.
What I wanted to do is provide some basic utilities, without having to spend a lot of time designing QPAC user interfaces.
My utility class contains methods like this one:
@param
pFormData
@return
@throws
ParserConfigurationException
@throws
SAXException
@throws
IOException
public static
org.w3c.dom.Document formToXml
FormDataTypeInstanceImpl pFormData
throws
ParserConfigurationException, SAXException, IOException
byte
data = pFormData.getXFAData
InputStream objXMLInputStream =
new
ByteArrayInputStream
data
// create new Document object
DocumentBuilderFactory objFactory = DocumentBuilderFactory.newInstance
DocumentBuilder objBuilder = objFactory.newDocumentBuilder
org.w3c.dom.Document objDocument = objBuilder.parse
objXMLInputStream
return
objDocument;
Even without ever invoking the aforementioned method, I get the error
NoClassDefFound: FormDataTypeInstanceImpl. Which is pretty weird.
Do I have to write my own classloader?
Steve -
New XI serv install - get 'unexpected error' when loading report to package
Brand new install of Crystal Enterprise XI R2. I've setup an object package. When I try to add a crystal report I get 'unexpected error' massage. Any help would be appreciated.
Hello Kraig,
Please post this query to the [BusinessObjects Enterprise Administration|BI Platform; forum:
That forum is monitored by qualified technicians and you will get a faster response there.
Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
Thanks a lot,
Falk -
Java error when trying to open packages
Hi,
Installed the ODI patch 10.1.3.5.5 to extract data from SAP. I am able to open all of my interfaces but when I tried to open any package its throwing me a java error as furnished below:
java.lang.NullPointerException
at com.sunopsis.graphical.l.a.a.n.b(n.java)
at com.sunopsis.graphical.l.a.a.n.d(n.java)
at com.sunopsis.graphical.l.a.a.n.<init>(n.java)
at com.sunopsis.graphical.frame.a.ir.dh(ir.java)
at com.sunopsis.graphical.frame.a.ir.dA(ir.java)
at com.sunopsis.graphical.frame.a.ir.dC(ir.java)
at com.sunopsis.graphical.frame.a.ir.<init>(ir.java)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.sunopsis.graphical.frame.bb.b(bb.java)
at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Unknown Source)
Thanks
Edited by: user5429729 on Feb 25, 2010 1:26 PMHi,
Does it proceed further after showing the error ?
Or you can't open the package at all?
Also one more thing, did you upgrade only the server side?
Is the cient side also on the same version?
Reshma -
Error when calling a Oracle package with length 30 (ORA-01948)
Hi...,
When I call a Oracle package I get this error message.
java.sql.SQLException: ORA-01948: identifier's name length (39) exceeds maximum (30)
ORA-06512: at "SYS.DBMS_PICKLER", line 18
ORA-06512: at "SYS.DBMS_PICKLER", line 58
ORA-06512: at line 1
There is not way we can change the package name. How do we fix it on the java side?
Regards,
PraveenThe statement 'ORA-01948' is coming from the database and not your java program. Therefore you cant fix it on the java side. There is some stored procedure, stored function, or other such code on the database that is too long. Use a database utility tool such as 'Toad' to examine the database and see if you can find what SYS.DBMS_PICKLER means.
Here is a definition of ORA-01948 I found on the internet:
ORA-01948: identifier's name length (string) exceeds maximum (string)
Cause: A name has been specified that is too long. For example, dbms_session.is_role_enabled() specifies a role name that is too long.
Action: Change the application or command to use a correct identifier. -
Jdevelop 11 v4. error when publish pl sql package as webservice
Hello..
I have installed latest version of Jdeveloper..
When I like to create a webservice from plsql package I get the error:
What can be wrong?
java.lang.ClassCastException: oracle.jdeveloper.webservices.model.plsql.PLSQLPortType
at oracle.jdeveloper.webservices.model.generator.AddToDeploymentProfiles.getJarFiles(AddToDeploymentProfiles.java:592)
at oracle.jdeveloper.webservices.model.generator.AddToDeploymentProfiles.action(AddToDeploymentProfiles.java:292)
at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:147)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:525)
at java.awt.Dialog$2.run(Dialog.java:553)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:551)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:361)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:222)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:194)
at oracle.jdeveloper.webservices.model.Model.saveEditSync(Model.java:242)
at oracle.jdevimpl.webservices.wizard.jaxrpc.PLSQLWizard.runWizard(PLSQLWizard.java:366)
at oracle.jdevimpl.webservices.wizard.jaxrpc.PLSQLWizard.runWizard(PLSQLWizard.java:137)
at oracle.jdevimpl.webservices.WebServicesAddin.fastCreatePlSqlService(WebServicesAddin.java:1503)
at oracle.jdevimpl.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:870)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:513)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:843)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:486)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5501)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Message was edited by:
Peterv6iHere is screen shoot from Jdeveloper
-
Flash gives me an error when I compile after I 'Saved As' the FLA with new file name
This seems weird. My code worked in the original FLA (using AS3) but when I 'Save As' as a new doc,
It gives me a compiling error below:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at flash_fla::MainTimeline/frame1()
Any ideas why this happens?
Does it have to do with path to the Library? Is there a way to reset this within Flash or do I have to copy and paste the code to a totally new AS3 file?
Thankskglad,
It doesn't specify what line the error takes place.
The weird thing is...
when I copy and paste the code on a totally new AS3 document and rebuild the movie clips within that document, it works fine.
but for some reason...when I 'Save As' to a new file name, it's like it doesn't acknowledge the MovieClips in the Library anymore..
It's kind of frustrating...
Not really a show stopper....but it does waste some time.
I don't know if you run into anything like this before. -
PKGBUILD conventions when manually compiling a package
I' working on a PKGBUILD file for AUR. The software uses an install-script that builds and installs the package in the root (/) and it can't be configured to install in a fakeroot. It also consists of three seperate components that form the software, which all need to be compiled seperately; libraries, configuration files and the software itself.
Should I put all the code needed to compile and install the package in the fakeroot in the PKGBUILD file, or should I create a seperate install file ($pkgname.install)?Also, *.install files are used for commands that have to be run in the live system before or after the package is installed. They have no function in relation to the building of the package.
-
Error While compiling a Package
Hi,
When am compiling a package am getting a error like
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01631: max # extents (505) reached in table SYS.IDL_UB2$
Can you pls any one help in this reg...
Thanks,
Adhi...if you look into sql.bsq in your oracle_home/rdbms
directory, table IDL_UB2$ has storage parameter
extents defined as maxextents.
check out the parameter of your IDL_UB2$ table.
By the way what is your oracle version?
For a long time, modifying the sql.bsq file was
frowned upon, but there is a section in the Tuning
guide about modifying this file now.
Reference chapter 15.
Jaffar
Message was edited by:
The Human FlyBut why do you need to modify the sql.bsq file when this problem can be analyzed by checking the availability of free space in SYSTEM tablespace.
And what benefit will you get by modifying this file after the database has been already created?
This file is the seed of the database and I think careful consideration must be taken before even thinking of touching this file. Also you must be fully aware of the aftermath. -
Why am I getting an ORA-04052 error when I try to compile a Procedure?
Hi,
The following procedure I'm getting an ORA-04052 error when I try to compile the following procedure.
CREATE OR REPLACE PROCEDURE APPS.Find_String (
pin_referenced_name IN dba_dependencies.referenced_name%TYPE)
IS
cursor cur_get_dependancy
is
SELECT distinct owner, name, type
FROM [email protected] -- prod.world
WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
AND referenced_type <> 'SYNONYM'
AND owner <> 'SYS'
order by name;
v_owner varchar2(40);
v_name varchar2(50);
v_type varchar2(40);
BEGIN
dbms_output.put_line(upper(pin_referenced_name)||' is found in the following objects.');
dbms_output.put_line(' ');
dbms_output.put_line(RPAD('OWNER', 30, ' ')||RPAD('NAME', 60, ' ')||RPAD('OBJECT TYPE', 30, ' '));
dbms_output.put_line('-------------------------------------------------------------------------------------------------------------------');
FOR i IN cur_get_dependancy
LOOP
v_owner := RPAD(i.owner, 30, ' ');
v_name := RPAD(i.name, 45, ' ');
v_type := RPAD(i.type, 30, ' ');
dbms_output.put_line(v_owner ||v_name|| v_type);
END LOOP;
END find_string;I'm using the link [email protected]. The procedure compiles for other database links used in the cursor including the one commented to the right of the code 'prod.world'.
What's even stranger is that I took the SELECT statement
SELECT distinct owner, name, type
FROM [email protected] -- prod.world
WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
AND referenced_type <> 'SYNONYM'
AND owner <> 'SYS'
order by name;out of the procedure and ran it on the command line using the @pinp.world link, the SQL statement ran just fine. But when I tried to compile the above procedure with that exact same SQL statement with the exact same link I get the following string of errors.
ORA-04052: error occurred when looking up remote object [email protected]
ORA-00604: error occurred at recursive SQL level 1
ORA-02068: following severe error from PINP
ORA-03113: end-of-file on communication channelHow can the link work just fine in a regular SQL statement but then cause an error when its compiled in code that otherwise compile just fine when using any other link or even just a plain database. Does anyone have any suggestions?OK Justin,
Here's the query by itself run in another database using the @pinp.world link and querying the dba_dependencies table in the pinp.world database. As you can see the query using this link works just fine returning the requested rows. I can't figure out why the compiler is having an issue with essentially this same query when I try to compile it in a cursor in TOAD. Also this is the database (dev1.world) that I'm trying to compile this Procedure in.
By the way I'm in an Oracle 9.2.0.6 database and TOAD v9.2.
SQL> conn apps/apps1@dev1
Connected.
SQL> SELECT distinct owner, name, type
2 FROM [email protected]
3 WHERE lower(referenced_name) = lower('ALL_USERS')
4 AND referenced_type <> 'SYNONYM'
5 AND owner <> 'SYS'
6 order by name;
OWNER NAME TYPE
PUBLIC ALL_USERS SYNONYM
XDB DBMS_XDBUTIL_INT PACKAGE BODY
XDB DBMS_XDBZ0 PACKAGE BODY
SYSTEM MVIEW_EVALUATIONS VIEW
SYSTEM MVIEW_EXCEPTIONS VIEW
SYSTEM MVIEW_FILTER VIEW
SYSTEM MVIEW_LOG VIEW
SYSTEM MVIEW_RECOMMENDATIONS VIEW
SYSTEM MVIEW_WORKLOAD VIEW
ORASSO WWCTX_API PACKAGE BODY
PORTAL WWCTX_API PACKAGE BODY
ORASSO WWEXP_UTL PACKAGE BODY
PORTAL WWEXP_UTL PACKAGE BODY
PORTAL WWPOB_API_PAGE PACKAGE BODY
PORTAL WWPOF PACKAGE BODY
ORASSO WWPRO_PROVIDER_VALIDATION PACKAGE BODY
PORTAL WWPRO_PROVIDER_VALIDATION PACKAGE BODY
PORTAL WWSBR_EDIT_ATTRIBUTE PACKAGE BODY
PORTAL WWSBR_FOLDER_PORTLET PACKAGE BODY
PORTAL WWSBR_USER_PAGES_PORTLET PACKAGE BODY
ORASSO WWUTL_API_PARSE PACKAGE BODY
OWNER NAME TYPE
PORTAL WWUTL_API_PARSE PACKAGE BODY
PORTAL WWUTL_EXPORT_IMPORT_LOV PACKAGE BODY
ORASSO WWUTL_LOV PACKAGE BODY
PORTAL WWUTL_LOV PACKAGE BODY
PORTAL WWV_CONTEXT PACKAGE BODY
PORTAL WWV_CONTEXT_UTIL PACKAGE BODY
PORTAL WWV_DDL PACKAGE BODY
PORTAL WWV_GENERATE_UTL PACKAGE BODY
PORTAL WWV_GLOBAL PACKAGE
PORTAL WWV_MONITOR_DATABASE PACKAGE BODY
PORTAL WWV_PARSE_AS_SPECIFIC_USER PACKAGE BODY
PORTAL WWV_PARSE_AS_USER PACKAGE BODY
PORTAL WWV_SYS_DML PACKAGE BODY
PORTAL WWV_SYS_RENDER_HIERARCHY PACKAGE BODY
PORTAL WWV_THINGSAVE PACKAGE BODY
PORTAL WWV_UTIL PACKAGE BODY
PORTAL WWV_UTLVALID PACKAGE BODY
38 rows selected.
SQL>Let me know what you think.
Thanks again. -
Stack overflow error when "compiling" a TagHandler class in IBM
meda karthik, Aug 7, 2004
Hi,
I am getting a StackOverFlowError during compilation(yes StackOverFlow during compilation !) of a TagHandler class when i am compiling with IBM JDK 1.4.2. The strange thing is, that i dont get the error when i compile the same class with IBM JDK 1.3.1. I am sure that this class is causing the error, because without it,the build goes through fine. I am doing a build of my component through ant. The following is the error i get :
---------------------------ERROR-----------------------------
[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.StackOverflowError
[javac] at com.sun.tools.javac.v8.code.Type$ClassType.constType(Type.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitLiteral(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Literal.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribArgs(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitApply(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribExpr(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitApply(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribExpr(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitApply(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribExpr(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitApply(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java(Compiled Code))
The above messages continue repeating and finally ends with...
[javac] at com.sun.tools.javac.v8.tree.Tree$MethodDef.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribClassBody(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java:1349)
[javac] at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.Main.compile(Main.java:586)
[javac] at com.sun.tools.javac.Main.compile(Main.java:67)
[javac] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[javac] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
[javac] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
[javac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
[javac] at java.lang.reflect.Method.invoke(Method.java:391)
[javac] at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:100)
[javac] at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
[javac] at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
[javac] at org.apache.tools.ant.Task.perform(Task.java:341)
[javac] at org.apache.tools.ant.Target.execute(Target.java:309)
[javac] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[javac] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[javac] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
[javac] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
[javac] at org.apache.tools.ant.Task.perform(Task.java:341)
[javac] at org.apache.tools.ant.Target.execute(Target.java:309)
[javac] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[javac] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[javac] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
[javac] at org.apache.tools.ant.Task.perform(Task.java:341)
[javac] at org.apache.tools.ant.Target.execute(Target.java:309)
[javac] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[javac] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[javac] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
[javac] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[javac] at org.apache.tools.ant.Main.start(Main.java:196)
[javac] at org.apache.tools.ant.Main.main(Main.java:235)
---------------------------ERROR----------------------------- I am also attaching the first few lines of the tag, incase you find some imports are being referenced circularly....here is the TagHandlerClass.........: ------------------CLASS-------------------------------------
package com.ibm.bcg.consoleUI.tags;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;
import org.apache.struts.util.MessageResources;
import com.ibm.bcg.consoleUI.forms.FormConstants;
import com.ibm.bcg.consoleUI.forms.SchedulerForm;
import com.ibm.bcg.consoleUI.forms.VCBaseForm;
import com.ibm.bcg.consoleUI.locale.LocaleUtils;
import com.ibm.bcg.shared.ClientInfo;
import com.ibm.bcg.shared.NameIdAssoc;
import com.ibm.bcg.shared.logging.Logger;
import com.ibm.bcg.shared.logging.LoggerFactory;
import java.util.*;
import com.ibm.bcg.consoleUI.action.ActionLists;
import com.ibm.bcg.consoleUI.action.alerts.AlertActionUtil;
import com.ibm.icu.util.Calendar;
import com.ibm.icu.text.NumberFormat;
* @author karthikd
* @version 1.0
public class ScheduleTag extends TagSupport {
// The following 3 fields denote the attributes of the tag.
private String formName;
private String requestKey;
private String scheduleController;
private SchedulerForm schedulerForm;
private Logger logger;
private MessageResources resources;
private ClientInfo clientInfo;
private Locale locale;
private HttpServletRequest request;
private JspWriter writer;
private HttpSession session;
private String newLine = "\r\n";
private Calendar cal = null;
public int doStartTag() throws JspException
try
logger = LoggerFactory.getLoggerInstance();
logger.log(this.getClass(),Logger.PRIORITY_DEBUG,"staring SchedulerTag ******");
request = (HttpServletRequest)pageContext.getRequest();
writer = (JspWriter)pageContext.getOut();
schedulerForm = (SchedulerForm) request.getAttribute(getRequestKey());
session = (HttpSession)pageContext.getSession();
clientInfo = (ClientInfo) session.getAttribute( "clientInfo" );
locale = clientInfo.getLocale();
resources = LocaleUtils.getMessageResources(VCBaseForm.CONSOLE_BUNDLE);
cal = Calendar.getInstance( clientInfo.getFormatLocale() );
// write out the various JavaScript functions required.
writer.println(getScripts());
//write out the main options,i.e Interval Based and Calendar based scheduling options
writer.println(getOptions());
//decide what kind of scheduling screen is needed.
if(schedulerForm.isIntervalBased())
logger.log(this.getClass(),Logger.PRIORITY_DEBUG,"Interval based scheduling ******* ");
writer.println(getIntervalScreen());
else
logger.log(this.getClass(),Logger.PRIORITY_DEBUG,"Calendarbased scheduling ******* ");
writer.println(getCalendarScreen());
writer.println(initCalendarScreen());
catch (Exception e)
logger.log(this.getClass(),Logger.PRIORITY_ERROR,"SchedulerTag Handler Exception ******** ");
logger.log(this.getClass(),Logger.PRIORITY_DEBUG,"Inside the catch block of Scheduler Tag ****** ");
throw new JspException("SchedulerTag : " + e.getMessage());
return SKIP_BODY;
------------------CLASS-------------------------------------
What could cause such a problem? Please help , in need of urgent help !!
regards, karthik .Hi,
No i have not tried to compile it manually as the file is part of a larger project and there are a lot of other dependencies before i can compile this manually.
In any case i found a work around for the porblem. What was happening is that i had a fairly large function, which was about 250 lines, with a larger number of calls to the "append()" function of the StringBuffer class.
I broke the large function into smaller pieces and now i dont get the error.!
But can somebody explain why this solved the problem. Is it because the compiler is not able to stack up all the activation records for execution during runtime ? But like i mentioned what is it in IBM JDK 1.4.2 which is not allowing this, whereas IBM JDK 1.3.1 is able to do it ?
I did solve my problem, but havent got a logical answer to why this was happening !
would appreciate it if someone sheds some light on this topic .
thanks and regards,
Karthik
Maybe you are looking for
-
'The mobile phone rejected the operation' Error - ...
Hi, Using E70 via Bluetooth. Everything works for sync etc. When I click on contacts, it gives me the error 'The mobile phone rejected the operation' and does not allow me to view my contacts. On occasions it will show the contacts, then something 'h
-
Re: Goods Receipt indicator in PO
Hi All, Can you all pelase help me how the indicator Goods Receipt & GR-NonValuated indicators are set automatically.they cannot be changed some times.From where it is controlled? Regards, Smitha
-
Sun Java Studio Enterprise 8 MACOSX !! WE NEED IT!!
Hi Sun! Are there any plans to release Sun Java Studio Enterprise 8 for MacOSX? It's a bit work ... and it runs on osx (Netbeans run's on osx). There are many postings around asking for an osx version ! Matthias
-
Cant Import Powerpoint at all?
Hello! I'm new to using Captivate 3. Ive been using the trial version for the last few weeks and just recently had the license key added. When I was trying to trail, I was able to import my powerpoint presentations into Captivate as a new project wit
-
Itunes won't recognise Ipod touch 5G
So this is for my friend who has a 5G, but her Itunes won't recognise the ipod touch 5G, but windows can recognise it, Itunes says to reset the Ipod touch, and she has done this before, and now again it won't recognise it, so she has to reset it, and