Error in the package

Hi gurus

Need your help to solve one of the error, I have the following code:

Code

CREATE or REPLACE PACKAGE ppplch_pkg

IS

g_names plch_names_t;

END ppplch_pkg;

----------

CREATE or REPLACE PACKAGE ppplch_pkg BODY
IS
-g_names plch_names_t;
g_names plch_names_t: = plch_names_t ('Blueberry', 'Raspberry');
BEGIN

BECAUSE me IN 1.g_names.count
loop
dbms_output.put_line (g_names (i));
END loop;
end ppplch_pkg;

Error

Error (7,13): PLS-00371: more than a declaration for "G_NAMES" is allowed.

Grateful if someone explain why I get this error message. Thank you

Concerning

Shu

You cannot declare a global variable of package in the package specification and package body. Declare once in the specification of the package if you want it to be a global variable or in the package body if you like private global variable.

SY.

Tags: Database

Similar Questions

  • Error: "ORE" the package was built before R 3.0.0: Please re - install

    Hello

    I'm new in the case R, R, I installed version of website of notch 3.0.1

    Then installed the server of ore. client, supported client version 1.3.1

    now all by running the command from the console of R > library ('ORE')

    The error comes that:

    Error: "ORE" the package was built before R 3.0.0: Please re - install

    I use windows 7, so any help in this regard will be highly appreciated.

    Kind regards

    Rajib

    Rajib,

    Distribution of R Oracle 3.0.1 will be compatible with a future version of Oracle Enterprise R.  You must first uninstall Oracle R Distribution 3.0.1 and then install Oracle R Distribution 2.15.3 for use with Oracle Enterprise R 1.3.1.les Oracle Enterprise R Installation and Administration Guide contains instructions on the installation/uninstallation of Oracle R Distribution:

    Installation of R

    See this blog for more details:

    https://blogs.Oracle.com/R/entry/updating_ord

    Sherry

  • Error in the package while deploying in jDev 11g

    Hello

    I'm following tutorial at http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html. I use jDev 11g as IDE and its weblogic integrated as a server.
    I did fact index.jsp and web.xml, as stated in the tutorial. In step * '1.8. Create the controller "* where HelloController.java is created, I am getting following error."

    Project: C:\JDeveloper\mywork\springapp\NewProj\NewProj.jpr
    C:\JDeveloper\mywork\springapp\NewProj\src\springapp\web\HelloController.Java
    Error (3.43): package org.springframework.web.servlet.mvc does not exist
    Error (4.39): package org.springframework.web.servlet does not exist
    Error (11,34): there is no package org.apache.commons.logging
    Error (12.34): there is no package org.apache.commons.logging
    Error (16.41): cannot find symbol
    Error (18,21): could not find the Log class
    Error (20,12): could not find class ModelAndView
    Error (18.34): cannot find variable LogFactory
    Error (25.20): could not find class ModelAndView


    But I hv included jar files in library by tools-> manage libraries. Also deploy default is checked.

    Please click the link below to see the screenshots included libraries and error.

    https://docs.Google.com/open?ID=0B1QmVEE-TXMpYTc1NTE2NDItYWQ5NC00NGZkLWJjMTAtMTJiZmNkMTE4Zjg5

    https://docs.Google.com/open?ID=0B1QmVEE-TXMpODAyMWM3YjItMTZjMC00NGMzLTkyN2MtMDMxNDE4ZGM5YWQ1

    https://docs.Google.com/open?ID=0B1QmVEE-TXMpZDIyZjYyM2YtYzZkMy00NzJmLTliMDQtMjQzYWE5NTllODE2

    Please guide me.

    Check what browser is set in your toole-> preferences-> Web browser and proxy.

    Insofar as the log files - depends on where you are looking for. The embedded WebLogic Server is usually in a directory such as:
    C:\Users\yourname\AppData\Roaming\JDeveloper\system11.1.2.0.38.60.17\DefaultDomain\servers\DefaultServer\logs

  • How to fix the error of the package not found?

    Hi all

    I am a newbie to OFA.
    According to our condition, I use the following code in my controller file.

    DocumentHelper.exportDocument (pageContext, arraylist.get (0) m:System.NET.SocketAddress.ToString (), arraylist.get (1) m:System.NET.SocketAddress.ToString (), arraylist.get (2) m:System.NET.SocketAddress.ToString (), arraylist.get (3) m:System.NET.SocketAddress.ToString (), inputstream, "PDF", properties);

    To do this, I imported the following package:
    Import oracle.apps.xdo.oa.common.DocumentHelper;


    But shows that the package is not found.
    How can I fix the error?
    Can someone please help with that?

    you don't have this oracle.apps.xdo.oa.common.DocumentHelper of the class in your classpath.
    Copy this class and its classes package of any directory of unix the oracle apps instance in your folder myclasses.
    This will solve your problem.

  • Error on the packaging: error 103: application.qnx is an unexpected element/attribute

    Hi all

    A week ago, I sent my application the second time signed, now I do this third time because accidentally I sent the request with the word "debug" on the icon.

    I'm trying to do anything with the process of signing using the excellent How - to's here here , but unfortunately I'm stuck on the first step, when I try to package I have strange error "error 103: application.qnx is an unexpected element/attribute" on the file my - app.xml.

    What is c? What should do?

    Thank you very much

    Because you have qnx tag in the file. Remove and everything in it - this tag and content belongs to blackberry - tablet.xml. Validator of Adobe (which gives you an error) air does not recognize as a first class citizen, then put all of the additional tags in the additional xml file.

  • Error in the Package that contains the function

    Hi, here is my package I get error - "PLS-00103: encountered the symbol"="when waiting for one of the following.

    create or replace package pre_pkg
    is

    FUNCTION FUN_DATE (date a_date)
    RETURN number;

    end pre_pkg;

    create or replace package body pre_pkg
    is

    function FUN_DATE (date a_date)
    Return number
    is

    BEGIN

    IF REGEXP_LIKE (a_date,'^ \d {1} | d {2} / {1} \d | d {2} / \d {4} \d{2}:\d{2}:\d{2}.\d{3}$ "")
    AND (REGEXP_INSTR (a_date, "[AP] me, 1") = 0)
    AND LENGTH (a_date) > 11
    AND LENGTH (TRUNC (to_char (TO_TIMESTAMP (a_date, ' MM/DD/YYYY HH24: PUT. ")))) FF'), "YYYY"))) = 4)
    THEN
    back: = 0;

    ELSIF REGEXP_LIKE(a_date,'^\d{1}|d{2}/\d{1}|d{2}/\d{4} \d{2}:\d{2}:\d{2} [AP]M$')
    AND (REGEXP_INSTR(a_date,'[AP]M',1) > 0)
    AND LENGTH (TRUNC (to_char (TO_DATE (a_date, ' MM/DD/YYYY HH: MIS AM' "),"YYYY"))) = 4)
    THEN
    back: = 0;

    ELSIF REGEXP_LIKE(a_date,'^\d{1}|d{2}/\d{1}|d{2}/\d{4}$')
    AND (REGEXP_INSTR (a_date, "[AP] me, 1") = 0)
    AND LENGTH (TRIM (a_date)) < 11
    AND LENGTH (TRUNC (to_char (TO_DATE(a_date,'MM/DD/YYYY'), 'YYYY'))) = 4)
    THEN
    back: = 0;
    ON THE OTHER
    back: = 1;

    END IF;

    EXCEPTION
    WHILE OTHERS THEN
    back: = 1;

    END FUN_DATE;

    END pre_pkg;
    /

    Can someone help me in this regard. I use oracle 10g.

    All your RETURN statements should not have the: = sign. Just RETURN x;

  • Error in the package declaration

    Hey all, when I am trying to create a package that I get an error message PLS-00410: fields duplicated in the FILE list, TABLE or argument may not
    CREATE OR REPLACE PACKAGE plsql101_pack IS
       DATE_LOADED DATE;
    
    TYPE pkg_perform_type IS RECORD
         (person_code     plsql101_person.person_code%TYPE,
          person_name     CHAR(12),
          current_sales   NUMBER(8,2),
          perform_percent NUMBER(8,1),
          status          CHAR(30)
          );
    CURSOR PKG_PER_CUR RETURN plsql101_person%ROWTYPE;
    
    FUNCTION pkg_comp_discounts (order_amt NUMBER) RETURN NUMBER;
    
    
    PROCEDURE pkg_compute_perform
        (a_perform plsql101_person%ROWTYPE,
         a_perform OUT pkg_perform_type);
    END plsql101_pack;
    /
    
    SQL> @plsql101_pack
    
    Warning: Package created with compilation errors.
    
    SQL> SHO ERROR
    Errors for PACKAGE PLSQL101_PACK:
    
    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    18/1     PL/SQL: Declaration ignored
    18/1     PLS-00410: duplicate fields in RECORD,TABLE or argument list are
             not permitted
    can I know why I get the error...
    Thanks in advance!

    Hello

    The two arguments of the procedure with the same name:

    Sandy wrote:

    PROCEDURE pkg_compute_perform
    (a_perform plsql101_person%ROWTYPE,
    a_perform OUT pkg_perform_type);
    

    Argument names must be unique within the list of arguments.

    You can have several procedures or functions all have an argument called a_perform, but for any function or a procedure given, only one argument can be called a_perform. Think about it. If you could have two (or more) l arguments in the same procedure who all called a_perform, then, when you referenced a_perform in the procedure, how the compiler (or you or anyone else) know than the one you did?

  • Download of AIR for IOS via the Application Loader I get the following error - the package does not contain a file Info.plist.

    I publish a .fla in the AIR for IOS.

    I'm in 2014 CC, so first I need to know what AIR I should publish in?

    more recent is AIR 14.0.0.178 for IOS

    IOS deployment type is App Store

    published with no error.

    I see that the following files included app.xml and .swf

    I converted the .ipa to a zip file

    Download through the Application Loader, I get the following error

    The package does not contain a file Info.plist.

    Here is the infoplist for that and convert the .ipa and the info in a zip file?

    I converted the .ipa in a zip file and the intoplist file is NOT THERE how to generate this?

    Any help here?

    the most recent is 16 +, Download Adobe AIR SDK

  • 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

  • How to fix the error on the packets to the PCI DDK program - 7358

    Hello world

    I'm trying the RTX driver for motion NI PCI-7358.

    I would like to achieve the same function as flex_load_dac(). According to the DDK, I have to manually send the order via the package. The flex_load_dac() format is:

    Load CAD
    CommandID: 61
    Valid resource type: DAC
    Vector type: entry
    (Send) packet data
    Word Count: 1
    The data passed to: i16 outputValue

    So I write my code like:

    //////////////////////////////////

    #define CB 0
    #define CSR 8

    x = *(BaseAddress+CSR);
    While (!) (x & 0x01)) {}
    printf("%X\n",x);
    x = *(BaseAddress+CSR);
    } //wait for the RTR
    printf ("%X\n",x Heading1);
    * BaseAddress + BC = (u16) 0 X 0131; Number of words< 8="" |="" resource="">

    x = *(BaseAddress+CSR);
    While (!) (x & 0x01)) {}
    printf("%X\n",x);
    x = *(BaseAddress+CSR);
    } //wait for the RTR
    printf ("%X\n",x HEAD2);
    * BaseAddress + BC = (u16) 61; Command ID

    x = *(BaseAddress+CSR);
    While (!) (x & 0x01)) {}
    printf("%X\n",x);
    x = *(BaseAddress+CSR);
    } //wait for the RTR
    printf ("DATA %X\n",x);
    * BaseAddress + BC = (i16) 0 x 1111; write a value to the DAC output

    x = *(BaseAddress+CSR);
    While (!) (x & 0x01)) {}
    printf("%X\n",x);
    x = *(BaseAddress+CSR);
    } //wait for the RTR
    printf ("%X\n",x FOOT);
    * BaseAddress + BC = (u16) 0XFF0A; vector = 0XFF
     
    The print output is:

    HEADING1 1
    0
    0
    0
    HEAD2 1
    8
    10
    DATA 11
    10
    10
    10
    10
    10
    10
    FOOT 11

    It seems that after the command ID is sent to the card, a mistake on packages is completed.

    I've read all the related document on motion control card, but none speak the detailed explanation of the error on the packages and how to cope.

    Can any body help me with this problem or point out what's not in my package?

    It is a very urgent project. I wish I can get help on you!

    Thank you in advance!

    Rick

    Rick,

    Attached a few old files are used to create driver linux for the x 733 and 734 x cards.  The control interface is the same for the boards of 735 x.  They are provided AS IS, but I think they'll give you a very useful overview of what you need to do.  For example to remove the error command you send the terminator of value package several times the error is cleared.

    Rodger

  • iTunes update errors with the following message appears: there is a problem with this Windows Installer package. A program run as part of the set up did not complete as expected.

    iTunes error update

    I am trying to install an update to iTunes on my laptop and find the folowing part-way through the installation error:

    "There is a problem with this Windows Installer package. A program run as part of the set up did not complete as expected. Contact your provider to support personal or package. »

    I got iTunes for 3-4 years now and have always been able to install updates successfully, so don't not sure what is the problem.

    I tried msconfig and changed the boot process, so it includes all of the non-Windows elements, as suggested on the Microsoft Web site, but that has not worked.

    Can anyone help?

    Thank you

    The instructions were to contact the vendor of the package. This isn't iTunes, Microsoft.

    Ask the question in the Apple Forums:
    https://discussions.Apple.com/index.jspa

  • 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.

    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)?

  • Error: There is a problem with this windows package install. A program required for this install to complete could not be run. Contact your supplier of staff or the package of support ".

    I tried to update my iPhone to the latest version, but when I tried to download the latest version of iTunes, it gives me an error in the middle of the download, which says:
    "There is a problem with this windows package install." A program required for this install to complete could not be run. Contact your supplier of staff or the package of support ".

    Then I opened my old iTunes again and tried to update my iPhone once again and then he started to back up my iPhone and delete the existing version if it might update the last being but then I got an error saying he needs the iTunes 9.2 update my iPhone. So I'm stuck with my iPhone can not be used and I can't download the new iTunes also. Please, need help on this issue?

    Thanks in advance.

    Now iTunes10 is underway, I downloaded and everything seems to work very well.

    Thank you.

  • Error Protocol in the package received from the initiator

    I have a Windows 2008 R2 virtual machine connected to a PS of the Group (6210xs and 6000). I have 4 volumes iscsi LUNS for Windows data, two on the 6210 and two on the 6000. The vm is on the 6210. We have implemented the 6210 back towards the beginning of the year, and all volumes of data have been implemented with MPIO 5 or 6 months ago.

    This morning, one of the 2 data on the 6210 disappeared. Windows Disk Mgmt did not show it online or offline, but the windows iscsi initiator showed as connected LUNs. I disconnected the lun and reconnected and immediately handed volume online and has been fully accessible. The monitor EQ had a message to info about the disconnect with "error Protocol in the package received from the initiator" at the end of the message. 2 seconds later, the logical unit number reconnected.

    It sounds like a problem with the initiator of windows rather than a problem of EQ, but I thought I'd check here in any case. It is interesting that it happened only to 1 volume of 4. This volume has been connected since May with no problems until today, and I do not have no changes to configuration since May. Are both the vNIC multichannel vmxnet3 with all the same settings (jumbo frames enabled, unloading of the disabled, numbers for Rx rings, etc.)

    Any ideas on all the settings should I check or change, especially with the network cards for?  I'll probably post this on technet, too.

    Thank you.

    Tim

    Hello

    The problem with iSCSI optimization is that it keeps track of connections.  However, the table moves periodically as you have noticed, the connections.  The switch fw does not understand that.  With each stroke he follows the new session and retains the old.   The buffer allocated for it is rather low.  According to FW versions on the switches, this could be as little as 256 connections.  Over time, this buffer is overrun.  The older of the switch that made to block any new connection iSCSI on port 3260.   So turn it off is the best option.

    Re: trunk. In general the ISCSI traffic is burst, so when you look at the history of the traffic it appears wrong, because he gets on average over time.  So, I would add at least two additional ports to be sure.

    Kind regards

    Don

  • Cannot install iTunes. Get the error, "this installation package cannot be opened. Verify that the package exists and that you can access.

    I can't download itunes on my computer its gives me an error saying "this installation package cannot be opened. "Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid windows installer package" can anyone help

    Remove and reinstall iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.Apple.com/kb/HT1923

    Uninstall software, remove programs and solve uninstalling problems
    http://www.revouninstaller.com/

    Remove and reinstall iTunes, QuickTime, and other software components for Windows XP
    http://support.Apple.com/kb/ht1925

    Hello questions, see if that helps: http://www.raymond.cc/blog/archives/2008/02/10/how-to-uninstall-or-remove-bonjour-mdnsresponderexe/

    Problem installing iTunes or QuickTime for Windows
    http://support.Apple.com/kb/HT1926

    Turn on Windows 7 'Compatibility Mode' to iTunes:
    http://www.PCWorld.com/article/188534/turn_off_windows_7_compatibility_mode_for_itunes.html

    Windows reports that iTunesSetup.exe is not a valid Win32 program
    http://support.Apple.com/kb/TS1406

    First of all check if you have a version of 32 or 64-bit Windows:
    1) click the Start button, right-click computer and then click Properties.
    (2) in the system, see the system type - it will say either 32 or 64 bits.
    (3) download the appropriate version using the links.

    ITunes download (32-bit):
    http://www.Apple.com/iTunes/download/

    Download 64 - bit:
    http://support.Apple.com/kb/DL1037

    Make sure that the "Windows Installer" service is running, or force start to begin.

    (1) open run, and type services.msc, and then press ENTER. You can also go
    Control Panel/Admin Tools/Services.

    (2) locate the Windows Installer in the list of installed services.

    (3) check that the status is "started".
    If the condition column is empty, right-click Windows Installer, and then select start.

    (4) If you get the error trying to force start the Windows Installer service,
    and then change the Startup Type to automatic (the default value is 'Manual').
    and then restart the computer.

    (5) very Installation Service runs after you restart the system.

    Also:
    Forum of Apple's Itunes: you can find a solution (if none of the above is of no help) to your problem when you post on their forum.

    http://discussions.Apple.com/category.jspa?categoryID=150

    J W Stuart: http://www.pagestart.com

Maybe you are looking for