Error in compiling package emp
Hi Experts,I need to pass parameters and values as array type as follows:
declare
v_tab TABLE_EXAMPLE.tablet:=TABLE_EXAMPLE.tablet();
begin
v_tab.extend;
v_tab(1).parameter:='ENAME';
v_tab(1).value:= 'PETER';
v_tab(1).parameter:='JOB';
v_tab(1).value:= 'CEO';
TABLE_EXAMPLE.P1(v_tab);
end;
After the package is run, the data should look like this: EMPNO ENAME JOB SAL
------ ---------- --------- ----------
7782 PETER CEO 2450
7839 PETER CEO 5000
7934 PETER CEO 1300
I tried hard to create the code, but I would point out where I'm stuck:create or replace package table_example as
type tname is record(parameter emp%rowtype,value emp%rowtype);
type tablet is table of tname;
type emp_table is table of emp%rowtype;
procedure p1(arg in table_example.tablet);
end;
/
CREATE OR REPLACE PACKAGE body table_EXAMPLE AS
PROCEDURE P1(ARG IN TABLE_EXAMPLE.TABLET)as
l_emp_tbl emp_table:=emp_table() ;
cursor c is select * from emp;
k number;
m number;
p_ename emp.ename%type;
p_empno emp.empno%type;
p_deptno emp.deptno%type;
p_sal emp.sal%type;
begin
k:=1;
m:=1;
--------------------------------------------------------------error caused due to this section ---------
for i in c loop
for j in 1..arg.count loop
l_emp_tbl(k).ename:=decode(arg(j).parameter,p_ename,arg(j).value,i.ename);
l_emp_tbl(k).empno:=decode(arg(j).parameter,p_empno,arg(j).value,i.empno);
l_emp_tbl(k).deptno:=decode(arg(j).parameter,p_deptno,arg(j).value,i.deptno);
l_emp_tbl(k).sal:=decode(arg(j).parameter,p_sal,arg(j).value,i.sal);
end loop;
_________________________________error causing section -------------------------------
end loop;
exception
when others then
dbms_output.put_line('other errors');
END;
end table_EXAMPLE;
Errors for PACKAGE BODY TABLE_EXAMPLE:
LINE/COL ERROR
-------- -----------------------------------------------------------------
17/1 PL/SQL: Statement ignored
17/21 PLS-00306: wrong number or types of arguments in call to 'DECODE'
18/1 PL/SQL: Statement ignored
18/21 PLS-00306: wrong number or types of arguments in call to 'DECODE'
19/1 PL/SQL: Statement ignored
What is the problem and how to assign values to the section commented correctly?Thank you.
ILovePlSql wrote:
What is the problem and how to assign values to the section commented correctly?
What's wrong? Watch your decode:
Decode (arg (j). Parameter, p_ename, arg (j). (Value, i.ename)
First DECODE does not work with the composite type and (j) arg .parameter and arg (j) .value are the RECORD type. But even if he would, she says take arg (j) .parameter and compare it to p_ename. How can you compare RECORD chain? Then tell us which decodes is supposed to do? And don't forget, to compare documents, you must compare each attribute separately.
SY.
Tags: Database
Similar Questions
-
Hi all
asked me to run some packages. So, I took the backup of the existing package using dbms_metadata and coil.
Now I asked me to come back this new back to the original.
When I execute the old backup again once I get the error message. It was valid before. I know that the error is due to not good fromatting, as in the vi editor when I'm see it coming like this may be due to a bad pagesize and linesize queue
could you please help me how to get rid of this... using vi or notepad or wordpad or any other process.CREATE OR REPLACE PACKAGE "STGPUB1"."BP_RELATED_CONTENT_PKG" AS /************************************************************************** * Package Name : BP_RELATED_CONTENT_PKG * * This package is called to get all the information about all related content * * New Procedure "GET_TEASER_IMG_TXT_PRC" is created for BPR2. Date: 15-Mar-04, ****************************************************************************** */
Published by: user8850066 on June 28, 2010 01:03Any tool such as beyond compare or winmerge allows to check all formatting of difference between the old and the new script and add on new changes to the old script.
-
How to display errors in compiling the package body
Hi friends,
My package body is not valid. How to compile it?
I tried > alter compilation of body package PACKAGE1.
But I got error.
I tried > alter compilation package PACKAGE1.
with compilation errors.
SQL > show errors
No errors.
How can I get the errors of compilation of a package body?
Thank you very muchCheck with--for the compilation of the body and package
alter package
compile package alter package compile body and after that check... display errors
http://Stanford.edu/dept/ITSS/docs/Oracle/10G/server.101/b10759/statements_2005.htm
Ravi Kumar
-
Errors when compiling the package
Dear members,
IAM after the standard user manual and try to create a few pacakages. When Iam compile the package Iam getting some errors which are as follows:
My Pacakage:_
PACKAGE 'XXARUN_EMP_FETCHER' AS
FUNCTION XXARUN_GET_EMP(EMP_NO IN NUMBER) RETURN SHEIKYERBOUTI.
END;
Errors when compiling the above package_
Error (2.1): PL/SQL: statement ignored
Error (2.50): PLS-00201: identifier 'SheikYerbouti' must be declared
_ My Package body
PACKAGE BODY 'XXARUN_EMP_FETCHER' AS
FUNCTION XXARUN_GET_EMP (EMP_NO IN NUMBER) OF RETURN IS
EMP_FOUND EMPLOYEES % ROWTYPE;
EMP_RTN SHEIKYERBOUTI.
BEGIN
SELECT *.
IN EMP_FOUND
EMPLOYEES
WHERE EMPLOYED. EMPLOYEE_ID = EMP_NO;
EMP_RTN: = SHEIKYERBOUTI
*(*
EMP_FOUND. EMPLOYE_ID,
EMP_FOUND. LAST_NAME,
EMP_FOUND. JOB_ID,
EMP_FOUND. MANAGER_ID,
EMP_FOUND. HIRE_DATE,
EMP_FOUND. SALARY,
EMP_FOUND.COMMISSION_PCT,
EMP_FOUND. DEPARTMENT_ID
*);*
RETURN EMP_RTN;
END;
END;
Compilation of erros when the Package body above_
Error: PL/SQL: analysis of completed Compilation unit
Error (1.26): PLS-00905: object HTEST. XXARUN_EMP_FETCHER is not valid
Error (1.26): PLS-00304: impossible to compile 'XXARUN_EMP_FETCHER' body without its specification
Please help me to solve the above problems.
Thanks in advance.
Best regards
Arun Reddy.
Published by: A4S on July 20, 2009 10:10Hello
in
PACKAGE 'XXARUN_EMP_FETCHER' AS
FUNCTION XXARUN_GET_EMP(EMP_NO IN NUMBER) RETURN SHEIKYERBOUTI.
END;SheikYerbouti must be declared as a type
Kind regards
Branislav
-
An internal error occurred during: packaging
Hello
Recently, I've had my machine upgraded to Windows 7, which mean't I had to reinstall the Eclipse Plugin. I get the following error when I try to launch the simulator using JRE 5.0.
'Packaging Blackberry Simulator' has encountered a problem.
An internal error occurred during: "Packaging Blackberry Simulator."
When I click on the 'Détails' button, I get the following error message:
An internal error occurred during: "packaging BlackBerry Simulator.
java.lang.NullPointerExceptionIn the Console pane, I get the following error message:
I/o Error: Cannot run program "jar": CreateProcess = 2 error, the system cannot find the file specifiedMy installed software are:
Blackbery Java Plug-inc (core) 1.5.0.201112201607
BlackBerry Java SDK 7.0.0.33
Eclipse SDK 3.6.2.M20110210 - 1200In the Package Explorer, I use:
"[BlackBerry JRE 5.0.0] JRE System LibraryIn the preferences for the parameters of compiler, I put the
The compiler compliance level for: 1.3In Run Configurations, I got the JRE the value:
BlackBerry JRE 5.0.0My CLASSPATH Windows is:
C:\oracle\product\11.2.0\Client_1\bin;%SystemRoot%\System32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\WindowsPowerShell\v1.0\; C:\Program Files (x 86) \Common Files\Ulead Systems\MPEG; C:\Program Files (x 86) \QuickTime\QTSystem\; C:\Program Files\Intel\WiFi\bin\; C:\Program Files\Fichiers Files\Intel\WirelessCommon\. C:\Program Files\TortoiseSVN\bin
Here's my configuration details of Eclipse:
Date: Thursday, March 8, 2012 09:52:08 EST
Information on the platform:
System properties:
awt. Toolkit = Sun.awt.Windows.WToolkit
Eclipse.application = org. Eclipse.UI.IDE.Workbench
eclipse.buildId = M20110210-1200
Eclipse.Commands = - os
Win32
-ws
Win32
-arch
x 86
-showsplash
C:\EclipsePlugin\\plugins\org. Eclipse.platform_3.6.2.v201102101200\splash.bmp
-Launcher
C:\EclipsePlugin\eclipse.exe
-name
Eclipse
-launcher.library
C:\EclipsePlugin\\plugins/org. Eclipse.Equinox.Launcher.Win32.Win32.x86_1.1.2.R36x_v20101222\eclipse_1312.dll
-Start
C:\EclipsePlugin\\plugins/org. Eclipse.Equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-vm
C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
Eclipse.Home.Location=file:/C:/EclipsePlugin/
Eclipse.Launcher=C:\EclipsePlugin\eclipse.exe
Eclipse.Launcher.Name = Eclipse
[email protected]/... /P2/
Eclipse.P2.Profile = SDKProfile
Eclipse.Product = org. Eclipse.Sdk.IDE
eclipse.startTime = 1331218090367
Eclipse.VM = C:\Program files (x86)\Java\jre6\bin\client\jvm.dll
Eclipse.vmargs = - XX:MaxPermSize = 512 m
-Xms40m
-Xmx512M
-Djava.class.Path=C:\EclipsePlugin\\plugins/org. Eclipse.Equinox.launcher_1.1.1.R36x_v20101122_1400.jar
Equinox.use.DS = true
leader. Encoding = Cp1252
leader. Encoding.pkg = Sun.IO
leader. Separator =.
Java.awt.graphicsenv = Sun.awt.Win32GraphicsEnvironment
Java.awt.PrinterJob = Sun.awt.Windows.WPrinterJob
Java.class.Path=C:\EclipsePlugin\\plugins/org. Eclipse.Equinox.launcher_1.1.1.R36x_v20101122_1400.jar
Java.class.version = 50.0
Java.endorsed.dirs=C:\Program files (x 86) \Java\jre6\lib\endorsed
Java.ext.dirs=C:\Program files (x 86) \Java\jre6\lib\ext; C:\Windows\Sun\Java\lib\ext
Java.Home = C:\Program files (x 86) \Java\jre6
Java.IO.TMPDIR=C:\Users\sreid\AppData\Local\Temp\
Java.Library.Path=C:\EclipsePlugin; C:\Windows\Sun\Java\bin; C:\Windows\System32; C:\Windows; C:/Program Files (x 86) / Java jre6/bin/client /. C:/Program Files (x 86) / Java/jre6/bin; C:/Program Files (x 86) / Java/jre6/lib/i386; C:\oracle\product\11.2.0\Client_1\bin; C:\Windows\System32; C:\Windows; C:\Windows\System32\Wbem; C:\Windows\system32\WindowsPowerShell\v1.0\; C:\Program Files (x 86) \Common Files\Ulead Systems\MPEG; C:\Program Files (x 86) \QuickTime\QTSystem\; C:\Program Files\Intel\WiFi\bin\; C:\Program Files\Fichiers Files\Intel\WirelessCommon\. C:\Program Files\TortoiseSVN\bin; C:\EclipsePlugin;.
Java.Runtime.Name = Java (TM) SE Runtime Environment
Java.Runtime.version = 1.6.0_31 - b05
Java.Specification.Name = Java platform API specification
Java.Specification.Vendor = Sun Microsystems Inc.
Java.Specification.version = 1.6
Java.Vendor Sun Microsystems Inc. =.
Java.Vendor.URL =http://java.sun.com/
Java.Vendor.URL.bug =http://java.sun.com/cgi-bin/bugreport.cgi
Java.version = 1.6.0_31
Java.VM.info mode = Mixed
Java.VM.Name = Java VM Client
Java.VM.Specification.Name = Java Virtual Machine specifications
Java.VM.Specification.Vendor = Sun Microsystems Inc.
Java.VM.Specification.version = 1.0
Java.VM.Vendor = Sun Microsystems Inc.
Java.VM.version = 20.6 - b01
Line.Separator =org.eclipse.debug.ui.breakpoints.toggleFactoriesUsed = false
org. Eclipse.Equinox.Launcher.Splash.Location=C:\EclipsePlugin\\plugins\org. Eclipse.platform_3.6.2.v201102101200\splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl = filerg.eclipse.equinox.simpleconfigurator/bundles.info
org. Eclipse.Update.Reconcile = false
org. OSGi.Framework.ExecutionEnvironment=OSGi/minimum-1.0,OSGi/minimum-1.1,OSGi/minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,javase-1.6
org. OSGi.Framework.Language = in
org. OSGi.Framework.OS.Name = Windows7
org. OSGi.Framework.OS.version = 6.1.0
org. OSGi.Framework.Processor = x 86
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print, javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf, javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing, javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext, org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org. OSGi.Framework.Vendor = Eclipse
org. OSGi.Framework.version = 1.5.0
org. OSGi.supports.Framework.extension = true
org. OSGi.supports.Framework.fragment = true
org. OSGi.supports.Framework.requirebundle = true
OS. Arch = x 86
OS. Name = Windows 7
OS.version = 6.1
OSGi.Arch = x 86
OSGi.bundles = Reference:file: net. RIM.ejde.Preprocessing.hook_1.5.0.201112201607/,Reference:filerg.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar@1:start
osgi.bundles.defaultStartLevel = 4
OSGi.bundlestore=C:\EclipsePlugin\configuration\org. Eclipse.osgi\bundles
OSGi.Configuration.Area=file:/C:/EclipsePlugin/configuration/
OSGi.Framework=file:/c:/EclipsePlugin/plugins/org. Eclipse.osgi_3.6.2.R36x_v20110210.jar
OSGi.Framework.extensions = Reference:file: net. RIM.ejde.Preprocessing.hook_1.5.0.201112201607/
OSGi.Framework.Shape = jar
OSGi.Framework.version = 3.6.2.R36x_v20110210
osgi.frameworkClassPath =., file:c:/EclipsePlugin/plugins/net.rim.ejde.preprocessing.hook_1.5.0.201112201607/., file:c:/EclipsePlugin/plugins/net.rim.ejde.preprocessing.hook_1.5.0.201112201607/lib-ext/asm-3.1.jar, file:c:/EclipsePlugin/plugins/net.rim.ejde.preprocessing.hook_1.5.0.201112201607/lib-ext/asm-tree-3.1.jar
OSGi.Install.Area=file:/C:/EclipsePlugin/
OSGi.instance.Area=file:/C:/Users/sreid/documents/Workspace/
OSGi.instance.Area.default=file:/C:/Users/sreid/Workspace/
OSGi.LogFile=C:\Users\sreid\Documents\workspace\.metadata\.log
OSGi.manifest.cache=C:\EclipsePlugin\configuration\org. Eclipse.osgi\manifests
OSGi.nl = en_US
OSGi.OS = Win32
osgi.splashLocation=C:\EclipsePlugin\\plugins\org.eclipse.platform_3.6.2.v201102101200\splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
OSGi.syspath=c:\EclipsePlugin\plugins
OSGi.tracefile=C:\Users\sreid\Documents\workspace\.metadata\trace.log
OSGi.WS = Win32
Path.Separator =;
Sun.Arch.Data.Model = 32
Files Sun.Boot.class.Path=C:\Program (x86)\Java\jre6\lib\resources.jar; C:\Program Files (x86)\Java\jre6\lib\rt.jar; C:\Program Files (x86)\Java\jre6\lib\sunrsasign.jar; C:\Program Files (x86)\Java\jre6\lib\jsse.jar; C:\Program Files (x86)\Java\jre6\lib\jce.jar; C:\Program Files (x86)\Java\jre6\lib\charsets.jar; C:\Program Files (x86)\Java\jre6\lib\modules\jdk.boot.jar; C:\Program Files (x 86) \Java\jre6\classes
Sun.Boot.Library.Path=C:\Program files (x 86) \Java\jre6\bin
Sun.CPU.endian = Little
Sun.CPU.isalist = pentium_pro + MMX pentium_pro pentium + pentium mmx i486 i386 i86
Sun.Desktop = Windows
Sun.IO.Unicode.Encoding = UnicodeLittle
Sun.JNU.Encoding = Cp1252
Sun.Management.Compiler = hotspot Client compiler
Sun.OS.patch.Level = Service Pack 1
User country = US
User .dir = C:\EclipsePlugin
User.Home=C:\Users\sreid
User .language = in
User = sreid .name
User .TimeZone = America/New_York
User.Variant =Features:
net.rim.EclipseJDE (1.5.0.201112201607) BlackBerry Java plug-in»
NET.RIM.ejde.Feature.componentpack7.0.0 (7.0.0.33) "BlackBerry Java SDK version 7.0.0.
org. Eclipse.CVS (1.2.1.r362_v20101111 - 7B77FKv99HL0GvIAF99I8H14B7E) 'Eclipse CVS Client'
org. Eclipse.Help (1.2.1.r362_v20101111 - 7e7jEVFDr6xg-LSlC_z0w1D) "help system Base.
org. Eclipse.JDT (3.6.2.r362_v20101117 - 0800-7z8XFW6FLFlmjJcvz03jyeFBLS_F) "Eclipse Java development tools.
org. Eclipse.PDE (3.6.2.r362_v20110203 - 7b7mFL2FET3dhHalh1iNZtL) "EDP".
org. Eclipse.Platform (3.6.2.r362_v20110210 - 9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi) "Eclipse Platform.
org. Eclipse.RCP (3.6.2.r362_v20101104 - 9SAxFMKFkSAqi8axkv1ZjegmiBLY) "Eclipse RCP.
org. Eclipse.SDK (3.6.2.r362_v20100929 - 7Q7m7HD5cWlFgdCBHllpZMd2M468sbnm2RJvUWIbiJnWC) "Eclipse Project SDK.PS.
Do you know how to check if I'm using a 32-bit version of java?
Thanks for any help,
Steve
It is resolved, the problem was the level of compliance of the compiler, which unknown to me can be set in two places; a global (windows-> preferences-> compiler) and the other at the level of the project (right click on the folder of your project-> build path-> configure build path-> java compiler).
-
An internal error occurred during: "Packaging Blackberry Simulator."
Hello
When I run a simulator in the Blackberry Plugin for Eclipse, I get the following error:
'Packaging Blackberry Simulator' has encountered a problem.
An internal error occurred during: "Packaging Blackberry Simulator."
When I click on the 'Détails' button, I get the following error message:
An internal error occurred during: "packaging BlackBerry Simulator.
java.lang.NullPointerExceptionMy software installed on Windows 7 are:
Blackbery Java Plug-inc (core) 1.5.0.201112201607
BlackBerry Java SDK 7.0.0.33
Eclipse SDK 3.6.2.M20110210 - 1200In the Package Explorer, I use:
"[BlackBerry JRE 5.0.0] JRE System LibraryIn the preferences for the parameters of compiler, I put the
The compiler compliance level for: 1.3In Run Configurations, I got the JRE the value:
BlackBerry JRE 5.0.0My windows path is:
C:\oracle\product\11.2.0\Client_1\bin;%SystemRoot%\System32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\WindowsPowerShell\v1.0\; C:\Program Files (x 86) \Common Files\Ulead Systems\MPEG; C:\Program Files (x 86) \QuickTime\QTSystem\; C:\Program Files\Intel\WiFi\bin\; C:\Program Files\Fichiers Files\Intel\WirelessCommon\. C:\Program Files\TortoiseSVN\bin; C:\Program Files\Java\jdk1.6.0_25\bin
My CLASSPATH Windows is:
.; C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip
Thank you
Steve
Simon,
Thank you for responding, I managed to get rid of the error by changing the level of compliance of the compiler... I didn't know there are two ways to define the path to build for a project (in the projects pane when you right click on the project) and the other for a global setting in the preferences window.
I guess it's very obvious that I am still a beginner when it comes to Eclipse... lol
Thanks again,
Steve
-
error when compiling with jre 5.0 auditor
Hello
I have an application that has been developed with the JDK 6.0. It works fine on the Simulator as well as on the device.
I need to make it compatible 5.0.
I went to the jre 5.0 (installed with the plug-in in eclipse) and corrected all the errors of compilation (a few)
Now I get and error when trying to package the application:
Cannot open the C:\Users\MyUserName\eclipse_workspaces\Blacberry\AppName\bin/com.company.mobile.appname.AppNameL.crb/ dir
Error! : error: auditor failed: C:\Eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\bin\preverify.exe d C:\Users\...
Any tips?
Thank you
Alex
Thank you guys for all the kinks.
I managed to solve the problem by replacing the preverify.exe of 5.0 to 6.0.
Might want to check this thread as well:
http://supportforums.BlackBerry.com/T5/Java-development/problem-with-resource/TD-p/332908
-
compilation packages or procedures
Hello
I am compiling a package, procedures, etc. The query returns with invalids. I show error. How to retrieve more detailed information on why the package/procedure/view are invalid?
Here are the results.DECLARE v_status VARCHAR2(10); v_cmd VARCHAR2(150); Cursor rw_objects IS Select object_name,object_type,status,owner From dba_objects WHERE UPPER(object_type) IN ('VIEW','PROCEDURE','FUNCTION','PACKAGE', 'PACKAGE BODY','TRIGGER','SYNONYM') AND owner = UPPER('&&DW_SCHEMA') AND status = 'INVALID'; BEGIN FOR t IN rw_objects LOOP IF t.object_type ; IN ('SYNONYM','VIEW','TRIGGER','PROCEDURE','FUNCTION') THEN v_cmd := 'ALTER ' || t.object_type || ' ' || t.owner||'.'||t.object_name || ' COMPILE '; execute immediate v_cmd; ELSIF t.object_type ; = ('PACKAGE') THEN v_cmd := 'ALTER PACKAGE ' || ' ' || t.owner||'.'||t.object_name || ' COMPILE PACKAGE'; execute immediate v_cmd; ELSIF t.object_type ; = ('PACKAGE BODY') THEN v_cmd := 'ALTER PACKAGE ' || ' ' || t.owner||'.'||t.object_name || ' COMPILE BODY'; execute immediate v_cmd; dbms_output.put_line( rpad( t.object_type || ' ' || t.object_name, 50, ' ' ) || ' VALID '); END IF; END LOOP; END; / SELECT object_name, object_type, status FROM dba_objects WHERE STATUS = 'INVALID' AND UPPER(object_type) IN ('VIEW','PROCEDURE','FUNCTION','PACKAGE', 'PACKAGE BODY','TRIGGER','SYNONYM') AND owner = UPPER('&&DW_SCHEMA') ORDER by object_type; show errors;
OBJECT_NAME OBJECT_TYPE STATUS -------------------------------------------------------------------------------- ------------------- ------- PM206 PACKAGE BODY INVALID DW_BE_DFACT_TB_REFRESH_HANDLER PACKAGE BODY INVALID DW_BE_DFACT_TB_INITIAL_HANDLER PACKAGE BODY INVALID CHART_HANDLER PACKAGE BODY INVALID DW_CRS_HANDLER PACKAGE BODY INVALID DELETE_UPDATE_PROC PROCEDURE INVALID DW_CBS_PROC PROCEDURE INVALID DW_GL_DFACT_VW VIEW INVALID 8 rows selected. No errors.
What helps?
If you guessed it working you must post what the problem was and how you fixed it and give credit to those who have been helping you.
Then mark the ANSWERED thread.
-
What is the error in this package
Hi all
can you please tell me what is the error in this package please
SQL> CREATE OR REPLACE PACKAGE discounts 2 IS 3 g_id NUMBER := 7839; 4 discount_rate NUMBER := 0.00; 5 PROCEDURE display_price (p_price NUMBER); 6 END discounts; 7 / Package created. SQL> SQL> SQL> CREATE OR REPLACE PACKAGE BODY discounts 2 IS 3 PROCEDURE display_price (p_price NUMBER) 4 IS 5 BEGIN 6 DBMS_OUTPUT.PUT_LINE ( 'Discounted ' 7 ||TO_CHAR(p_price*NVL(discount_rate, 1))); 8 END ; 9 discount_rate:= 0.10; 10 END ; 11 / Warning: Package Body created with compilation errors. SQL> SQL> show errors; Errors for PACKAGE BODY DISCOUNTS: LINE/COL ERROR -------- ----------------------------------------------------------------- 9/1 PLS-00103: Encountered the symbol "DISCOUNT_RATE" when expecting one of the following: begin end function package pragma procedure form The symbol "begin" was substituted for "DISCOUNT_RATE" to continue. SQL>
Hello
To ensure that the assignment is supposed to be part of the initialization section, that should run when the package is called or the first time?
The initialization section starts with BEGIN:CREATE OR REPLACE PACKAGE BODY discounts IS PROCEDURE display_price (p_price NUMBER) IS BEGIN DBMS_OUTPUT.PUT_LINE ( 'Discounted ' ||TO_CHAR(p_price*NVL(discount_rate, 1))); END display_price; BEGIN -- required if there's an initialization section discount_rate:= 0.10; END discounts; /
Do you really need a section of initialization of the here? Discount_rate is already set to its initial value in the packet header?
-
Hi all
I get the error memory during the compilation of the form.
I tried with two commands.
I run these commands starting at $AU_TOP/forms/US
Initially, I tried with
f60gen $AU_TOP/forms/US/XXTEST.fmb apps/opopop123 output_file =$XXEEG_TOP/forms/US/XXTEST.fmx
and I got following error
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production
With partitioning, OLAP and Oracle Data Mining options
Release 9.2.0.8.0 - Production jserver
PL/SQL Version 8.0.6.3.0 (Production)
Oracle V6.0.8.21.0 Build #0 - Production procedure generator
Oracle virtual graphics system Version 6.0.5.39.0 (Production)
Oracle Multimedia Version 6.0.8.25.0 (Production)
Oracle tools integration Version 6.0.8.17.0 (Production)
Common tools Oracle zone Version 6.0.5.32.0
The basic Oracle 4.0.6.0.0 - Production version
Compilation of specifications package APP_CUSTOM...
No compilation errors.
Compilation of the package APP_CUSTOM body...
Fault memory
--------------------------------------------------------------------------------------------
Secondly, I tried with
f60gen Module=/opt/egapmdev/ebmdappl/au/11.5.0/forms/US/XXTEST.fmb Userid = apps/opopop123 Module_Type = batch FORM = yes Output_File = XXTEST.fmx
Now the error has come was only "for lack of memory" without any other messages.
Please you all a peek inside.Do you get the same error when you use the following command?
module f60gen $ =.
-
When I download itunes on my pc, I get an error of analysis package, any help?
"When I download itunes on my pc I get a parse error in the package, any help?
Hello xlAdrenaline,
Thank you for using communities of Apple Support.
If I understand your message that you receive a packet parse error when you try to install iTunes on your Windows PC. The following article has some great not to help solve this type of problem:
If you see an error message "Windows package install" when you try to uninstall iTunes from your PC
Best regards
-
Please help me for this problem "error starting compile step: make sure that a compatible version of Xilinx tools is installed in the location specified in the setup of LabVIEW FPGA.»
Look for the error on the Web site of or or on the forums. Take a look at the following links:
http://forums.NI.com/NI/board/message?board.ID=170&message.ID=381394&requireLogin=false
http://forums.NI.com/NI/board/message?board.ID=170&message.ID=205754&requireLogin=false
-
I get the following error message "error of compilation in the hidden module: autoexec.
Remember - this is a public forum so never post private information such as numbers of mail or telephone!
Messages of ideas: error
"error of compilation in the hidden module: autoexec.
- You have problems with programs
- Error messages
- Recent changes to your computer
- What you have already tried to solve the problem
Hi rsfin,
· When exactly do you get this error message?
· You did it all change hardware or software on your computer before this problem?
If you get the error message in Microsoft Word or Excel, you can follow this link.
You receive an error message "Error in the module hidden compilation" when you start Word or Excel
Hope the helps of information. Please post back and we do know.
Concerning
Joel S
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
original title: Itunes problem
my computer will not install itunes 10.5, it tells me "Setup has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330. "What should I do?
Contact the manufacturer (Apple) of the application (iTunes) you are having problems with.
Uninstall all previous versions, try to download (re-record not running) and then do a right click on it and RUN AS ADMINISTRATOR.
(Vista 32-bit or 64-bit)?
-
I got the error message error video compilation that follows? What should I do
I got the error message error video compilation that follows? What should I do
Export with the SOUL. Open Preview and watch the encoding until it fails.
This is the place on the timeline, you need to fix.
Maybe you are looking for
-
When I run a youtube video after a while, firefox crashes.Sometimes, it's when I change position video on youtube.Sometimes, it's after I close the youtube tab.This happens even in safe mode.
-
After updating iOS 9.3 my Apple ID has changed on IPhone *?
After updating iOS 9.3 my Apple ID has changed on IPhone *? I can't work on it!
-
Then a Apple Watch monitor my sleep?
Then a Apple Watch monitor my sleep?
-
VISA: (Hex 0xBFFF0015) timeout expired before the operation is complete.
Hello We use LabView to control a sequencer of high-voltage (HVS448LC 3000 D) LabSmith using LabView drivers from the manufacturer, power supply. Everything works well in our program (attached) until we try to use another program on the computer at t
-
Swann dvr4 undetected in 7 and windows xp
Original title: swann dvr 4 driver Surveillance Swann DVR4 Business package. Why my computer XP and Windows 7 cannot recognize the dvr when plugged into computers?