Collection compilation erroe

I am using a process which creates and loads and then updates 2 collections.
The very last step in 100 or so lines of code before an end loop/end is this line:
APEX_COLLECTION.UPDATE_MEMBER_ATTRIBUTE (tip, seqnum, days, thetip);
which gives this error
ORA-06550: line 112, column 5: PLS-00307: too many declarations of 'UPDATE_MEMBER_ATTRIBUTE' match this call ORA-06550:
I have updated another collection with an identical structure (but different name) earlier in the loop, using the same syntax without a problem
Variables are defined thus:
tip varchar2(20) := 'TOOLTIP';
thetip varchar2(400);
day INTEGER;
seqnum INTEGER;
Previously I had only 1 collection in the process and this compiled and executed perfectly; I added another collection to store tooltips for each cell, and now I have this compilation error, which I cannot make sense of.
Any ideas?
Regards
CS

Sorry Andy, that was a typo; the variable was declared correctly in the process.
Thanks a tip from Denes, the problem has been solved by using the syntax:
apex_collection.update_member_attribute (p_collection_name => occ,
p_seq => seqnum,
p_attr_number => days,
p_attr_value => r
apex_collection.update_member_attribute (p_collection_name => tip,
p_seq => seqnum,
p_attr_number => days,
p_attr_value => thetip
His theory is that it was an overloading problem. r is an integer while thetip is a varchar2; anyway at least it parses properly now.
Thanks all!
CS

Similar Messages

  • Question about compiling erros i got

    here is the program i wrote
    import java.io.*;
    public class binConverter
    public static void main(String[] args)
    //next 2 lines are the setup for reading stuff in from the user
    InputStreamReader input = new InputStreamReader(System.in);
    BufferedReader console = new BufferedReader(input);
    String line = "s";
    if (isbinary (s))
    int num= toDecimal(s);
    system.out.println(num);
    string answer=toBinary (num);
    system.out.println (answer);
    else
    system.out.println("Not Binary");
    static bolean isBinary (string s)
    for (int i=0; i<number.length(); i++)
    if (number.charAt(i)==0 || number.charAt(i)==1)
    return true;
    else
    return false;
    static int toDecimal (String s)
    static String toBinary (int s)
    if (s % 2==0)
    return 0;
    s--;
    else
    return 1;
    s--;
    s % 2;
    while (s>0)
    i dont understand what the errors mean. here are the erros i got
    /tmp/25896/BinConverter.java:1: 'class' or 'interface' expected
    ^
    /tmp/25896/BinConverter.java:23: illegal start of expression
    static boolean isBinary (string s)
    ^
    /tmp/25896/BinConverter.java:51: ';' expected
    ^
    /tmp/25896/BinConverter.java:51: '}' expected
    ^
    4 errors
    can someone please explain what the errors are and how i can change them thank you

    Please use the code tages when posting code. Click on "Formatting tips" to see them.
    i dont understand what the errors mean. here are the
    erros i got
    /tmp/25896/BinConverter.java:1: 'class' or
    'interface' expected
    */The compiler is telling you not to start a source file with a close comment token ("*/").

  • Compilation erros when tld in jar

    Running Jdev 11g 11.1.1.0.2 I am unable to compile a simple struts2 web application because of this jsp taglibrary issue:
    No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.I have added the struts2 tag lib in the Project Properites-->JSP Tag Libraries section pointing to tld within the struts2 jar:
    jar:file:/C:/development/lib/struts-2.1.6/lib/struts2-core-2.1.6.jar!/META-INF/struts-tags.tldThe jsp editor understands the struts tags and provides hints but the compilation fails. I can get this to work if I extract the tld file, place it locally, and explicitly map to it in my web.xml:
    <jsp-config>
        <taglib>
          <taglib-uri>/struts-tags</taglib-uri>
          <taglib-location>/WEB-INF/struts-tags.tld</taglib-location>
        </taglib>
      </jsp-config>But I shouldn't have to do this! Any help would be greatly appreciated. Thanks!

    Thanks BalusC,
    I tried version 2.4 already but I still got the same problem.
    Any other possible reason?
    My web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <taglib>
    <taglib-uri>http://www.myTags.com/tags/util</taglib-uri>
    <taglib-location>/WEB-INF/lib/util.jar</taglib-location>
    </taglib>
    I can make it work if I take the tld out and put it under WEB-INF, and changed the web.xml tablib-location to /WEB-INF/util.tld. I just don't know why it doesn't work if it is in a jar.
    Thanks.

  • Can someone please help on a compiling erroe

    When I try to compile "HelloWorld.java" i get an error message saying
    "error: cannot read: HelloWorld.java
    1 error"
    Someone please help me solve this ?? please.......

    I'm taking you saved your text file in notepad. Well, by default notepad saves your files as TXT files, regardless of whether you put an extension or not. To work around this problem (for future Java projects):
    1. Select File-Save As
    2. In Save As Type, make sure you select All Files
    3. Enclose your filename in quotation marks ("") like "HelloWorld.java"
    not sure if you need step 2, though...
    -Kiel

  • SERVLET COMPILATION ERRO

    HI everyone,
    i get a very weird compilation error when trying to compile any servlet in a J2SDK v 1.4.2_03.
    It is a very weird error and i only get it when i try to compile servlets on a machine that uses WIN2000 Server OS. I have a different machine that uses WINXP and the same version JSDK and i have never encountered such an error at compilation time.
    The error i get is:
    ViewServlet.java:1 : package javax.servlet does not exist
    import javax.servlet.*;
    I do import this package though. What do you think might be the problem???

    Duffymo is right. If the error message is "ViewServlet.java:1 : package javax.servlet does not exist" then it is a classpath problem with the compiler.
    It may be that you have CLASSPATH set on your old machine, and not on this one, causing it to fail.
    You need to add a jar file with the javax.servlet.* classes into your classpath - preferably using the command line switch if compiling via javac.
    One version of this file is distributed with Tomcat and is found in TOMCAT_HOME/common/lib/servlet.jar
    Also, from Java1.4 onwards, Tomcat has trouble finding servlets that are in the "default" package (ie not in a package) As a matter of course, all your java classes should now be in a package.
    http://developer.java.sun.com/developer/bugParade/bugs/4361575.html
    Hope this helps,
    evnafets

  • Installing Master Collection trial Error -4960

    I am having trouble downloading the trial Master Collection to my MacBook Pro running Mac OSX 10.6.8. I keep getting the error "The following disk images couldn't be opened, Master Collection CS4 erro -4960." I keep deleting the Adobe Download Assistant and trying again. When it opens, its stuck on Extracting...this may take a while.
    Any help on how I can get this downloaded with out these errors?
    Thanks,
    Ange

    I would recommend initiating the download in a different web browser.  Also if you are using Wifi you may want to try connecting to the internet via Ethernet.  If you are already using an Ethernet connection then you may want to look into trying to download from a location with a different Internet Service Provider.

  • Compiling pl/sql

    I think this area needs to be improved.
    I open an sql worksheet and run the following :
    create or replace package my_test_pkg
    as
    v_test number := t est;
    end;
    I get a reponse saying :
    package my_test_pkg compiled.
    The compiler erros should be show in the compiler log or on the sql worksheet window.

    It has already been mentioned in this forum and has been logged that the tool does not report "with errors".
    -kris

  • The mxmlc compiler displays the compilation errors in Japanese - and I want them in English!

    Working in a Japanese company I have to use a machine with
    Windows XP in Japanese. The thing is that I can barely read this
    language so it's really depressing when most Java apps (and Flex,
    through Eclipse, is one of them) outsmart themselves and default to
    displaying their UI strings/messages in Japanese
    without giving the user the ability to select another
    language.
    When compiling Flex apps using Flex Builder 2, the mxmlc
    compiler is internally called by the IDE to perform the compilation
    and then its output is displayed in the Problems View.
    Well, the English version of mxmlc, has all its messages
    (compilation warnings, errors etc) translated into Japanese (as far
    as I can tell, they are hardwired into the exe). So although I'm
    using the English version of the FB2,
    with -locale en_US specified as an argument for the
    compiler, all the compilation erros are reported in Japanese!
    Even after changes in "flex-config.xml" and "jvm.config" as
    you can see below, the compilation errors are still in Japanese. I
    started to doubt that there's a solution to this problem but I
    really hope there is one.
    TIA,
    .x.
    Here are the relevant portions of my config files and an
    example of mxmlc's output (Japanese might not display correctly):
    -- C:\Program Files\Adobe\Flex Builder 2\Flex SDK
    2\frameworks\flex-config.xml --
    <flex-config>
    <compiler>
    <!-- Turn on generatation of accessible swfs. -->
    <accessible>false</accessible>
    <!-- Specifies the locale for internationalization.
    -->
    <locale>en_US</locale>
    </compiler>
    </flex-config>
    -- C:\Program Files\Adobe\Flex Builder 2\Flex SDK
    2\bin\jvm.config --
    # Arguments to VM
    java.args=-Xmx384m -Dsun.io.useCanonCaches=false
    -Duser.language=en
    -- mxmlc invoked on the command line --
    mxmlc -o ASCIIArt -locale en_US ASCIIArt.mxml
    Loading configuration file C:\Program Files\Adobe\Flex
    Builder 2\Flex SDK 2\frameworks\flex-config.xml
    ASCIIArt\AsciiArtBuilder.as(7): col: 45 Error:
    定義
    com.example.programmingas3.asciiArt:BitmapToAsciiConverter
    が見つかりません。
    import
    com.example.programmingas3.asciiArt.BitmapToAsciiConverter;
    ^
    ASCIIArt\AsciiArtBuilder.as(8): col: 45 Error:
    定義 com.example.programmingas3.asciiArt:Image
    が見つかりません。
    import com.example.programmingas3.asciiArt.Image;

    inlineblue you are right about the "-locale" switch. I've
    just found this page on live docs:
    http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=L iveDocs_Parts&file=00001500.html
    with all the compiler options
    I thought that "-metadata.language <code>" (alias
    "-language") sets the language, but it seems that it's only for
    metadata.
    So -locale is out. Thanks for clearing this for me. There's
    one more path left...
    As I wrote in my first message, besides the "-locale en_US"
    compiler option, I am also setting the "user.language" flag in
    jvm.config to "en":
    -- C:\Program Files\Adobe\Flex Builder 2\Flex SDK
    2\bin\jvm.config --
    # Arguments to VM
    java.args=-Xmx384m -Dsun.io.useCanonCaches=false
    -Duser.language=en
    According to the docs:
    http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=L iveDocs_Parts&file=00001462.html
    this is the standard (only?) way to pass arguments to the JVM. And
    AFAIK "-Duser.language=en" is supposed to set the user language to
    English. But it does not happen... I have to investigate this
    more...

  • Error while inserting attachements data into  FND_LOBS

    Hi,
    I m trying to insert data into fnd_lobs using below, I didn't declare any variables for below.
    I m getting many compilation erros for below insert, Could you let me know if i have to declare any of below values.
    INSERT INTO fnd_lobs
               (file_id, file_name, file_content_type, upload_date,expiration_date, program_name, program_tag, file_data,LANGUAGE, oracle_charset, file_format)
        VALUES (l_media_id, l_filename,p_file_content_type,SYSDATE,NULL, 'FNDATTCH', NULL, EMPTY_BLOB (),'US', 'UTF8', 'binary')
               RETURNING file_data
               INTO x_blob;
    -- Load the file into the database as a BLOB
        DBMS_LOB.OPEN (fils, DBMS_LOB.lob_readonly);
        DBMS_LOB.OPEN (x_blob, DBMS_LOB.lob_readwrite);
        DBMS_LOB.loadfromfile (x_blob, fils, blob_length);   -- Close handles to blob and file
        DBMS_LOB.CLOSE (x_blob);
        DBMS_LOB.CLOSE (fils);
    Thanks.

    Could you explain what your procedure does, please. I also tried to compile it but always got error message:
    PL/SQL: SQL Statement ignored
    PLS-00385: type mismatch found at 'FIL' in SELECT...INTO
    statement
    SQL> CREATE OR REPLACE PROCEDURE loadxml12 AS
    2 fil BFILE;
    3 buffer RAW(32767);
    4 len INTEGER;
    5 insrow INTEGER;
    6 BEGIN
    7 SELECT f_lob INTO fil FROM xml_temp12 WHERE key = 1;
    8 DBMS_LOB.FILEOPEN(fil,DBMS_LOB.FILE_READONLY);
    9 len := DBMS_LOB.GETLENGTH(fil);
    10 DBMS_LOB.READ(fil,len,1,buffer);
    11 xmlgen.resetOptions;
    12 insrow := xmlgen.insertXML('xml_doc',UTL_RAW.CAST_TO_VARCHAR2(buffer));
    13 DBMS_OUTPUT.PUT_LINE(insrow);
    14 IF DBMS_LOB.FILEISOPEN(fil) = 1 THEN
    15 DBMS_LOB.FILECLOSE(fil);
    16 END IF;
    17 EXCEPTION
    18 WHEN OTHERS THEN
    19 DBMS_OUTPUT.PUT_LINE('In Exception');
    20 DBMS_OUTPUT.PUT_LINE(SQLERRM(SQLCODE));
    21 IF DBMS_LOB.FILEISOPEN(fil) = 1 THEN
    22 DBMS_LOB.FILECLOSE(fil);
    23 END IF;
    24 end;
    25 /
    Bober
    null

  • Using TLF with SDK 3.5 - 1014 error

    Hi
    I have followed the steps outlined at http://opensource.adobe.com/wiki/display/tlf/Using+TLF+with+Flex+3.2 to import TLF to user with SDK 3.5. I have verified that I have the latest swc. I get no compile erros but at runtime I get
    VerifyError: Error #1014: Class flashx.textLayout.elements::TextFlow could not be found
    Any help would be greatly appreciated.

    I have never use TLF with SDK 3.5.
    After reading what you have said, I guess you are setting SWCs in your project as "runtime shared Library", but there is not a RSL link( or not a correct RSL link) in the configuration file named flex-config.xml in SDK 3.5, to download the SWF or SWZ successfully in the runtime. You may solve the problem by setting libraries as "merge into code"

  • Checking dynamic query at run time

    i need to check whether the query is valid or not at run time. The query will be formed based on the column name, table name, and where clause. this query is purely a select statement. if column name and table names are diff then system should display an error msg. i have more than 10 tables and the table name will be selected from LOV. i should be allowed to enter the condition for where clause also ar run time and this condition column should also be validated.

    Hi,
    I think you only want to see if your select statement has compilation error or not because when you use dynamic statement it doesnt show the compilation erro if the statement has it or not. What you can do is add an item say "stmt" in your control block. change the property to multi record so that you can see multiple lines in that item and make the lenght say 2000. Now assign your statement into "stmt" for example
    :control_block.stmt := 'select ' || col1
                        || ','
                        || col2
                        || ','
                        || col3
                        || ' FROM '
                        || table
                        || ' where ' || conditionput this statement on any button on when-button-pressed trigger. When you will press the button on run time you will see the statement. Run that statement on sql*plus or toad and check if there is any problem in the statement.
    Hope this helps
    Ghulam

  • IPhone 5 won't hold Date & Time "set automatically."

    Date &amp; Time, when "set automatically," arbitrarily resets itself to a date and time in August.
    Setting Date &amp; Time manually works fine.
    There is a thread on this glitch on the Apple Forums. It's happening in all time zones.
    Apple says it's a Verizon issue.
    Verizon claims it's an Apple software problem.
    Anyone got a definitive answer for this?

    This is the same info I posted in the Apple forum about my attempts to resolve this issue so far...
    So this is what I have tried...
    Turn off Auto Time and set time manually.... Fail
    Reset All Settings (under General menu).... Fail
    Leave disconnected from Wi-Fi.... Fail
    Restore software and set up from back up.... Fail
    Restore and set up as new phone... Fail
    Replace phone at Apple Store... Fail
    Replace sim card at Verizon store.... Fail
    Restore firmware using a fresh downloaded file... Fail
    Restore firmware and set up from scratch with a new iTunes account without downloading any apps, contacts or anything.... Fail
    I have verified the date/time settings on my 2 month old MacBook Pro I use to sync phones
    I have verified the date/time settings on my Linksys router (not that that matters because the time changes when its not connected to the router)
    All of the above has been done on both a white and a black 16gig iPhone 5 on Verizon...
    The date/time for both is always behind 14 days 18 hours 48 minutes and 19 seconds so that tells me it is keeping time with something... Lets collectively compile all this info so we can get to the bottom of this problem and get it worked out quickly

  • How to read content between xml tags?

    is there any way to read the content between xml tag

    > is there any way to read the content between xml tag
    Yes. Are you having some sort of problem? If so, please be a little more explicit about what you're doing, what you expect to happen, and what you actually observe.
    Please post a short, concise, executable example of what you're trying to do. Don't post the actual code you are using (I can't emphasize this strongly enough). Just write a small example that demonstrates the problem, and only that. Wrap the code in a class and give it a main method that runs it - if we can just copy and paste the code into a text file, compile it and run it without any changes, then we can be sure that we haven't made incorrect assumptions about how you are using it.
    Post your code between [code] and [/code] tags. Cut and paste the code, rather than re-typing it (re-typing often introduces subtle errors that make your problem difficult to troubleshoot). Please preview your post when posting code.
    Please assume that we only have the core API. We have no idea what SomeCustomClass is, and neither does our collective compiler.
    If you have an error message, post the exact, complete error along with a full stack trace, if possible. Make sure you're not swallowing any Exceptions.
    Help us help you solve your problem.
    ~

  • Importing custom Widgets problem

    hi everyone.  I'm new to the forum, so I hope I'm posting in this in the correct area.  Here's my issue:  I am making custom widgets for an interactive tutorial for my work using Flash CS4.  When I try to import or open the widget in Captivate 4 I receive the following error: "Not a valid Widget".  I'm not sure if there is a specific setting that I am unaware of that I need to do in Flash before I publish it into a .swf or something.  If anyone could help it would be greatly appreciated 
    PS: i made sure that all files were using AS3, and that both were set to use the Flash Player 9.

    nevermind.. i figured out that there were some compiling erros when I published my .swf  ....  lol.. all fixed and got my widget functioning in captivate

  • Please help with the GUI quiz question!

    Hi Folks,
    Please help me with the code for the following GUI.
    The display window of the application should have two panels at the top level (you could have multiple panels contained within a top-level panel). The first top level panel should have a grid or a border layout and should include apart from various label objects: 1) a textfield to store the info entered, 2) a combobox 3) a combobox or a list box , 4) a radio-button group , 5) a combo box 6) checkboxes for additional accessories, and 7) checkboxes .
    The second top-level panel that is placed at the bottom of the window should have a submit button, a clear button and a textarea for output.
    Thanks a lot.

    Please be a little more explicit about what you're doing, what you expect to happen, and what you actually observe.
    Please post a short, concise, executable example of what you're trying to do. This does not have to be the actual code you are using. Write a small example that demonstrates your intent, and only that. Wrap the code in a class and give it a main method that runs it - if we can just copy and paste the code into a text file, compile it and run it without any changes, then we can be sure that we haven't made incorrect assumptions about how you are using it.
    Post your code between [code] and [/code] tags. Cut and paste the code, rather than re-typing it (re-typing often introduces subtle errors that make your problem difficult to troubleshoot). Please preview your post when posting code.
    Please assume that we only have the core API. We have no idea what SomeCustomClass is, and neither does our collective compiler.
    If you have an error message, post the exact, complete error along with a full stack trace, if possible. Make sure you're not swallowing any Exceptions.
    Help us help you solve your problem.

Maybe you are looking for

  • Several EAS/Essbase problems after 11.1.2.1 - 11.1.2.2 upgrade

    After an upgrade of EPM 11.1.2.1 to 11.1.2.2 maintenance release on Windows 2008R2, EAS seems to be broken in several ways: 1. Server won't start correctly (even though weblogic says it is up). The easserver.log has an error "no environmentjni in jav

  • How to design templates with Microsoft Excel

    Hi When creating a new template in EBS, we have "Microsoft Excel" as one of the the template types (just like RTF). How to design the template if Excel is selected as the template type. I uploaded a blank EXCEL file and the concurrent program errors

  • My macbook air freezes all the time lately... any hints?

    I had this Macbook air for a week now and is running on Lion. Everything was fine until yesterday when it started freezing several times a day for no reason. Any clues?

  • Break a dependency of a running process on the X session

    Is it possible to break a dependency of a running process that was started on an X session such that I can exit the X session and the process still runs?  Example: *Login to X *Start an application, for example a file transfer that will take several

  • Intial/Default Business Place in F-32

    Hi, While doing F-32 transaction in the "Clear Customer Correct Customer Item", how do i change the default (initial) values populated in 'Business Place". Where can i change the intial/default values in the img. Please advise. Thanks, Safi