Someone help me pls!

iam trying to develop an aplication and i have to read from a file and i get this warning
C:\Program Files\Xinox Software\JCreator LE\MyProjects\evagoras\StarWars.java:236: warning: readLine() in java.io.DataInputStream has been deprecated
while((thisline=fin.readLine())!=null){
^
1 warning
and it reads the lines but in a point produces an exception and every time for a different line
can someone help please

>
Yeah, it's deprecated. Read the docs to find out the
details:
http://java.sun.com/j2se/1.4.1/docs/api/java/io/DataInp
tStream.html#readLine()
If something is deprecated, there's probably a very
good reason.
Maybe that good reason has something to do with the
runtime exception you allude to but don't actually
name.
I'd suggest reworking your code to remove usage of
deprecated methods.
It's good practice to do this anyway.
See if that fixes your problem.that it doesnt display the warning anymore thanxs
but i steel get the exception
my code to that point is
int a=0;
int num;
while((thisline=fin.readLine())!=null){
asteroidcoords[a]=thisline;
num=Integer.parseInt(thisline);
asteroids[a]=num;
System.out.println(asteroids[a]);
a++;
and i get
java.lang.NumberFormatException: For input string: "1 "
     at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
     at java.lang.Integer.parseInt(Integer.java:435)
     at java.lang.Integer.parseInt(Integer.java:476)
     at StarWars.main(StarWars.java:245)
Exception in thread "main"
Process completed.
that happens for that number in the file

Similar Messages

  • My app store wont let me download apps, says the card is expired and theres a problem with previous purchase can someone help me pls?

    My app store wont let me download apps, asks me to update my payment details then says theres a problem with previous purchase and card is expired which is untrue someone help me pls

    This is a User to User Forum...
    See Here for
    Mac Apps Store Customer Service
    http://www.apple.com/support/mac/app-store/contact.html?form=account
    iTunes Customer Service Contact
    http://www.apple.com/support/itunes/contact.html

  • Can someone help me pls.

    I have a problem in loading my text file. The following error occured. What do I need to do? What does it mean by "Select to upload the data without an erro? Pls. help me.
    len
    1 ERROR OCCURED
    * There are NOT NULL columns in HANDSONXE06.DATABASES. Select to upload the data without an error.
    Type and Method
    Down
    Schema
    Down
    Table Name
    Down
    Data
    Down
    Column Mapping
    Load Data      
    Schema:      HANDSONXE06
    Table Name:      DATABASES
    Define Column Mapping      
    Column Names     COLUMN_NAMES
    Format     FORMAT
    Upload     UPLOAD
    Row 1     db1,10.2.0.1,1
    Row 2     db2,9.2.0.7,1
    Row 3     db3,10.2.0.1,1
    Row 4     db4,10.2.0.1,1
    Row 5     db5,9.2.0.7,1
    Row 6     db6,9.2.0.7,1
    Row 7     db7,9.2.0.7,1

    It might help to diagnose the problem if we had more info on "how" you are loading your text file?
    - Is the text file a series of INSERT statements?
    - Are you using sqlloader to load the file?
    Offhand, I'd say you are trying to load a record from the text file onto a table and you have a null value (or nothing in the text file) for a column that has a NOT NULL restriction. Put another way, you can't load a NULL value into a column that has a NOT NULL restriction.
    hth,
    adym

  • It seems that my firefox hangs/freeze when I'm playing youtube vids, unable to surf at all. When i check task manager it seems to be a plugin container.exe problem? Can someone help me pls..

    My firefox sometimes totally hangs/freezes when i try to replay a youtube video. I click the play button but the whole firefox juz hangs. When i try to end task it, i noticed a firefox "plugin container.exe" process.. So i figure it might be a plugin problem? I hope someone can help me with this..
    Its getting very irritating and i love using firefox for web surfing.
    Thanks in advance for ur help

    YouTube videos use the Flash plugin. You can test your Flash plugin and see what version is installed by going to [http://www.adobe.com/software/flash/about/ Adobe's Flash Player test page]. To update Flash to the latest version, see [[Managing the Flash plugin]].
    Starting in Firefox 3.6.4, Flash is loaded in a separate plugin-container process. For the background, see the articles [[What is plugin-container]] and [http://kb.mozillazine.org/Plugin-container_and_out-of-process_plugins Plugin-container and out-of-process plugins (MozillaZine KB)].
    If Firefox hangs when playing Flash videos at YouTube, it could be a video driver issue, Try turning off hardware acceleration in your [http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html Flash Player display settings] (visit any page that uses Flash, such as [http://www.adobe.com/software/flash/about/ Adobe's test page], then right-click the Flash animation, select Settings, and uncheck "Enable hardware acceleration" on the Display panel). ...More information here:
    *[[Cannot view full screen Flash videos]]
    *[http://kb.mozillazine.org/Flash#Performance_or_display_issues_with_certain_Flash_videos Performance or display issues with certain Flash videos (MozillaZine KB)]

  • HT1689 I Live In Egypt, and Can not access Itunes Store from my Iphone or my Ipad, i get the message "can not connect to Itunes store", but i can access my app Store. Can someone help me pls.

    Please Help

    I also recently updated my Iphone to ios 6, And Some of my artwork is missing from my iphone. They r there on my Itunes but don't sync. Can you help me?

  • I have money on my account but it will not let me purchase music can someone help? pls

    I have loaded an itunes gift card to my itunes account and it will not let me purchase any music can anyone help with this

    What exactly happens when you try to buy something ? If you've already removed the card from your account then iTunes shouldn't be asking for any details about it.
    If you log into into your account is the card still shown . On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your phone then tap on your id in Settings > iTunes & App Store and tap on 'View Apple ID' on the popup and log into your account  - that should also give you a payments link on your account's page.
    Changing payment info : Change or remove your payment information from your iTunes Store account (Apple ID) - Apple Support

  • Cant install after effect cs6 someone help me pls!!!  this is what it shows

    Exit Code: 34  -------------------------------------- Summary --------------------------------------  - 1 fatal error(s), 0 error(s), 0 warning(s)    FATAL: Payload '{85AC9E45-07D4-4964-AC09-F320CD65524D} Adobe After Effects CS6_11.0.2_AdobeAfterEffects11AllTrial 6.2.10.0' information not found in Media_db.  -------------------------------------------------------------------------------------
    Exit Code: 34  -------------------------------------- Summary --------------------------------------  - 1 fatal error(s), 0 error(s), 0 warning(s)    FATAL: Payload '{85AC9E45-07D4-4964-AC09-F320CD65524D} Adobe After Effects CS6_11.0.2_AdobeAfterEffects11AllTrial 6.2.10.0' information not found in Media_db.  -------------------------------------------------------------------------------------

    i am trying to install from adobe
    i have windows vista 64-bit with 4GB RAM .
    I installed it before on my com it works, but after i format my computer and want to install it back it shows this kind of message
    i have installed premiere pro, flash, photoshop all in cs5.5

  • Can someone help me pls? Im struggling here

    I have created a website with iweb (its for a good friend of mine) and Im trying to publishing online but without any success.
    I use filezilla FTP to transfer it and then hopefully, but without any luck so far, publish it online
    What am I doing wrong? i follow every single steps and yet it doesnt come out
    have at a look yourself: http://www.abecounsellingworks.co.uk

    notclever wrote:
    I use filezilla FTP to transfer it...
    Is there a reason you're not using iWeb 09's built-in FTP?...
    http://www.apple.com/findouthow/web/#ftp

  • HT3702 I'm trying to open an iTunes account and was asked to provide one of each:credit card details or gift card details.i provided a gift card details and yet I'm being asked to contact the support team!!! Pls can someone help me out on this..thanx. Bre

    I'm trying to open an iTunes account and was asked to provide one of each:credit card details or gift card details.i provided a gift card details and yet I'm being asked to contact the support team!!! Pls can someone help me out on this as I cant enjoy my new iPad 3 without buying apps

    Brenda, the easiest way to contact the support team is thru the iTunes Customer Service website:
    http://www.apple.com/support/itunes/contact/

  • I have Firefox 10.0.2. and OSX 10.6.8. and the latest PDF adobe reader, and still can not open with the browser PDF files.Can someone help,pls?Thanx

    Dear Ones,
    I have Firefox 10.0.2. and OSX 10.6.8. and the latest PDF adobe reader, and still can not open with the browser PDF files.Can someone help,pls?Thanx

    see if this is helpful : [http://support.mozilla.org/en-US/kb/Opening%20PDF%20files%20within%20Firefox Opening PDF files within Firefox]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Vivado 2015.1 unattended installation - Can someone help pls

    i tried installing Vivado 2015.1 in batch mode
    After running app at command prompt %~dp0"xsetup2.bat" -b ConfigGen it came up with 4 options to choose from, i selected option 2 Vivado Design Edition then the dialog box Disappeared without prompting for a location/filename for
    configuration file  to be stored.
    Can someone help pls.

    Thanks Vinay...
    Have checked the root of C and the App folder but i can't find any changes..
    below is the command in the batch file.... could this make any diff please?
    @echo off
    REM store the original image dir into a variable
    set INSTALLER_ROOT_DIR=%~dp0\..
    rem resolve UNC path
    pushd %~dp0
    set root="%cd%"
    rem xsetup.bat is in <root>\bin, get the parent directory (<root>)
    set parent=%cd%\..
    @setlocal enableextensions enabledelayedexpansion
    rem Check for exclamation point
    rem Remove exclamation point if any in the parent folder path and check if the folder exists
    set parent_fixed=%parent:!=%
    IF NOT EXIST "%parent_fixed%" (
    start cmd /c "echo ERROR: The character '^!' is not allowed in path. Please correct the problem and try again. && pause"
    endlocal
    goto :end
    endlocal
    CALL %root%\setup-boot-loader.bat %*
    set ARGS=%ARGS% -DINSTALLER_ROOT_DIR="%INSTALLER_ROOT_DIR%"
    REM if the argument -Uninstall was specified, run the uninstaller
    IF NOT [%1]==[] (
    IF [%1]==[-Uninstall] (
    set ARGS=%ARGS% -DINSTALLATION_MODE=Uninstall
    set ARGS=%ARGS% -Dlog4j.configuration="%parent%/data/log4j.xml"
    IF NOT "%DEBUG_ARGS%" == "" (
    echo adding %DEBUG_ARGS% to %ARGS%
    set ARGS=%DEBUG_ARGS% %ARGS%
    set ARGS=%ARGS% -DHAS_DYNAMIC_LANGUAGE_BUNDLE=true
    IF [%X_BATCH%] == [1] (
    rem Check if it is a 32-bit platform and exit if 32 libraries are not available.
    IF [%ARCH%] == 32 (
    set libDir=%parent%\lib\win32.o
    IF NOT EXIST "%libDir%" (
    echo ERROR: This installation is not supported for 32 bit platforms
    goto :end
    %X_JAVA_HOME%\bin\java.exe %ARGS% -cp "%X_CLASS_PATH%;%parent%\lib\classes\commons-cli-1.2.jar" com.xilinx.installer.api.InstallerLauncher %*
    ) ELSE (
    %X_JAVA_HOME%\bin\java.exe %ARGS% -splash:"%parent%\data\images\splash.png" -jar "%parent%\lib\classes\xinstaller.jar"
    goto :checkCanceled
    goto :end
    :checkCanceled
    IF EXIST %TEMP%\xinstall-delete.bat (
    call %TEMP%\xinstall-delete.bat
    del %TEMP%\xinstall-delete.bat
    :end
    IF NOT [%TEMP_NATIVE_LIB%] == [] (
    IF EXIST [%TEMP_NATIVE_LIB%] (
    RMDIR /Q /S [%TEMP_NATIVE_LIB%]
    popd

  • My itunes is not working at all, wont read my iphone, ipod, and when i click on itunes store it says unkown error -3212 pls someone help me?

    when i plug my iphone or ipod in they do not show up, when i click on itunes store it says unkown error -3212
    someone please help me i tried just about everything

    Macafee security center is may be the culprit.
    Open Macafee then: select;
    Internet & Network > configure
    Firewall > Advanced
    Programm Permissions > scroll down to Itunes
    Highlight (click on)
    Then Grant full access to Itunes.
    APPLY then OK
    When you select store from Itunes you will need to register with Itunes.
    Try that or:
    Disable your firewall.
    I Hope I Was Able To Help You Or Solve Your Question.
    Simmm
    3/12/2012
    If Someone Helped You, Click
    "This Helped Me"
    If Someone Solved Your Question, Click
    "This Solved My Question"

  • TS1398 help!!!  i am unable to connect to a wifi network and ive tried everything but nothing seems to work!!! can someone help pls

    help!!!  i am unable to connect to a wifi network and ive tried everything but nothing seems to work!!! can someone help pls

    try connecting to another wifi network to isolate the issue. at this point it's impossible to tell if it's your phone or your network

  • What kind of community is this...pls someone help

    Please someone help me through the activation process....currently stuck on that since yesterday...

    Tanish,
    I should rephrase my link, since you asked about India.  The place to find Apple resellers in India is
    http://www.apple.com/in/buy/
    One of them which lists the iPhone should be able to help you find how to activate the the phone.
    For anyone else in any other country, use:
    http://www.apple.com/choose-your-country/
    to find the country link, and go to the address field in the browser window and tack on at the end of the address a
    /buy/
    to find out where to call Apple resellers in that country.

  • Pl. help debug - PLS-00306: wrong number or types of arguments in call

    Hi,
    I am trying to create a wrapper function to all a procedure in Oracle EBusiness Suite 11i.
    When I compile the following code
    ==========
    CREATE OR REPLACE PROCEDURE gme.KIL_ProcessAlloc IS
    vFileName VARCHAR2(30) := '1006251.csv';
    vLoc VARCHAR2(20) := '/u041/applmgr/opm/opmappl/utllog';
    v_InHandle utl_file.file_type;
    vNewLine VARCHAR2(1000);
    vLineNo PLS_INTEGER;
    c1 PLS_INTEGER;
    c2 PLS_INTEGER;
    c3 PLS_INTEGER;
    c4 PLS_INTEGER;
    c5 PLS_INTEGER;
    c6 PLS_INTEGER;
    c7 PLS_INTEGER;
    c8 PLS_INTEGER;
    c9 PLS_INTEGER;
    c10 PLS_INTEGER;
    c11 PLS_INTEGER;
    c12 PLS_INTEGER;
    c13 PLS_INTEGER;
    c14 PLS_INTEGER;
    c15 PLS_INTEGER;
    c16 PLS_INTEGER;
    c17 PLS_INTEGER;
    c18 PLS_INTEGER;
    c19 PLS_INTEGER;
    c20 PLS_INTEGER;
    c21 PLS_INTEGER;
    c22 PLS_INTEGER;
    c23 PLS_INTEGER;
    c24 PLS_INTEGER;
    c25 PLS_INTEGER;
    c26 PLS_INTEGER;
    c27 PLS_INTEGER;
    c28 PLS_INTEGER;
    c29 PLS_INTEGER;
    c30 PLS_INTEGER;
    c31 PLS_INTEGER;
    c32 PLS_INTEGER;
    c33 PLS_INTEGER;
    c34 PLS_INTEGER;
    TYPE AllocArray IS TABLE OF GME_INVENTORY_TXNS_GTMP%ROWTYPE
    INDEX BY BINARY_INTEGER;
    l_Allocdata AllocArray;
    TYPE MtlDetailArray IS TABLE OF gme_material_details%ROWTYPE
    INDEX BY BINARY_INTEGER;
    l_MtlDetaildata MtlDetailArray;
    TYPE xTranArray IS TABLE OF GME_INVENTORY_TXNS_GTMP%ROWTYPE
    INDEX BY BINARY_INTEGER;
    l_xtrandata xTranArray;
    TYPE defTranArray IS TABLE OF GME_INVENTORY_TXNS_GTMP%ROWTYPE
    INDEX BY BINARY_INTEGER;
    l_deftrandata defTranArray;
    t_messagecount number;
    t_messagelist varchar2(10000);
    t_returnstatus varchar2(1);
    BEGIN
    v_InHandle := utl_file.fopen(vLoc, vFileName, 'r');
    vLineNo := 1;
    LOOP
    BEGIN
    utl_file.get_line(v_InHandle, vNewLine);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    EXIT;
    END;
    vNewLine := TRANSLATE(vNewLine, 'A''', 'A');
    c1 := INSTR(vNewLine, ',', 1,1);
    c2 := INSTR(vNewLine, ',', 1,2);
    c3 := INSTR(vNewLine, ',', 1,3);
    c4 := INSTR(vNewLine, ',', 1,4);
    c5 := INSTR(vNewLine, ',', 1,5);
    c6 := INSTR(vNewLine, ',', 1,6);
    c7 := INSTR(vNewLine, ',', 1,7);
    c8 := INSTR(vNewLine, ',', 1,8);
    c9 := INSTR(vNewLine, ',', 1,9);
    c10 := INSTR(vNewLine, ',', 1,10);
    c11 := INSTR(vNewLine, ',', 1,11);
    c12 := INSTR(vNewLine, ',', 1,12);
    c13 := INSTR(vNewLine, ',', 1,13);
    c14 := INSTR(vNewLine, ',', 1,14);
    c15 := INSTR(vNewLine, ',', 1,15);
    c16 := INSTR(vNewLine, ',', 1,16);
    c17 := INSTR(vNewLine, ',', 1,17);
    c18 := INSTR(vNewLine, ',', 1,18);
    c19 := INSTR(vNewLine, ',', 1,19);
    c20 := INSTR(vNewLine, ',', 1,20);
    c21 := INSTR(vNewLine, ',', 1,21);
    c22 := INSTR(vNewLine, ',', 1,22);
    c23 := INSTR(vNewLine, ',', 1,23);
    c24 := INSTR(vNewLine, ',', 1,24);
    c25 := INSTR(vNewLine, ',', 1,25);
    c26 := INSTR(vNewLine, ',', 1,26);
    c27 := INSTR(vNewLine, ',', 1,27);
    c28 := INSTR(vNewLine, ',', 1,28);
    c29 := INSTR(vNewLine, ',', 1,29);
    c30 := INSTR(vNewLine, ',', 1,30);
    c31 := INSTR(vNewLine, ',', 1,31);
    c32 := INSTR(vNewLine, ',', 1,32);
    c33 := INSTR(vNewLine, ',', 1,33);
    c34 := INSTR(vNewLine, ',', 1,34);
    -- l_allocdata(vLineNo).sourceno := SUBSTR(vNewLine,1,c1-1);
    -- l_allocdata(vLineNo).sizeno := SUBSTR(vNewLine,c1+1,c2-c1-1);
    -- l_allocdata(vLineNo).status := SUBSTR(vNewLine,c2+1,c3-c2-1);
    -- l_allocdata(vLineNo).latitude := SUBSTR(vNewLine,c3+1,c4-c3-1);
    -- l_allocdata(vLineNo).longitude := SUBSTR(vNewLine,c4+1,c5-c4-1);
    -- l_allocdata(vLineNo).testfor := SUBSTR(vNewLine,c5+1);
    l_allocdata(vLineNo).trans_id := SUBSTR(vNewLine,1,c1-1);
    l_allocdata(vLineNo).item_id := SUBSTR(vNewLine,c1+1,c2-c1-1);
    l_allocdata(vLineNo).co_code := SUBSTR(vNewLine,c2+1,c3-c2-1);
    l_allocdata(vLineNo).orgn_code := SUBSTR(vNewLine,c3+1,c4-c3-1);
    l_allocdata(vLineNo).whse_code := SUBSTR(vNewLine,c4+1,c5-c4-1);
    l_allocdata(vLineNo).lot_id := SUBSTR(vNewLine,c5+1,c6-c5-1);
    l_allocdata(vLineNo).location := SUBSTR(vNewLine,c6+1,c7-c6-1);
    l_allocdata(vLineNo).doc_id := SUBSTR(vNewLine,c7+1,c8-c7-1);
    l_allocdata(vLineNo).doc_type := SUBSTR(vNewLine,c8+1,c9-c8-1);
    l_allocdata(vLineNo).doc_line := SUBSTR(vNewLine,c9+1,c10-c9-1);
    l_allocdata(vLineNo).line_type := SUBSTR(vNewLine,c10+1,c11-c10-1);
    l_allocdata(vLineNo).reason_code := SUBSTR(vNewLine,c11+1,c12-c11-1);
    l_allocdata(vLineNo).trans_date := SUBSTR(vNewLine,c12+1,c13-c12-1);
    l_allocdata(vLineNo).trans_qty := SUBSTR(vNewLine,c13+1,c14-c13-1);
    l_allocdata(vLineNo).trans_qty2 := SUBSTR(vNewLine,c14+1,c15-c14-1);
    l_allocdata(vLineNo).qc_grade := SUBSTR(vNewLine,c15+1,c16-c15-1);
    l_allocdata(vLineNo).lot_status := SUBSTR(vNewLine,c16+1,c17-c16-1);
    l_allocdata(vLineNo).trans_stat := SUBSTR(vNewLine,c17+1,c18-c17-1);
    l_allocdata(vLineNo).trans_um := SUBSTR(vNewLine,c18+1,c19-c18-1);
    l_allocdata(vLineNo).trans_um2 := SUBSTR(vNewLine,c19+1,c20-c19-1);
    l_allocdata(vLineNo).completed_ind := SUBSTR(vNewLine,c20+1,c21-c20-1);
    l_allocdata(vLineNo).staged_ind := SUBSTR(vNewLine,c21+1,c22-c21-1);
    l_allocdata(vLineNo).gl_posted_ind := SUBSTR(vNewLine,c22+1,c23-c22-1);
    l_allocdata(vLineNo).event_id := SUBSTR(vNewLine,c23+1,c24-c23-1);
    l_allocdata(vLineNo).text_code := SUBSTR(vNewLine,c24+1,c25-c24-1);
    l_allocdata(vLineNo).transaction_no := SUBSTR(vNewLine,c25+1,c26-c25-1);
    l_allocdata(vLineNo).action_code := SUBSTR(vNewLine,c26+1,c27-c26-1);
    l_allocdata(vLineNo).material_detail_id := SUBSTR(vNewLine,c27+1,c28-c27-1);
    l_allocdata(vLineNo).organization_id := SUBSTR(vNewLine,c28+1,c29-c28-1);
    l_allocdata(vLineNo).locator_id := SUBSTR(vNewLine,c29+1,c30-c29-1);
    l_allocdata(vLineNo).subinventory := SUBSTR(vNewLine,c30+1,c31-c30-1);
    l_allocdata(vLineNo).alloc_um := SUBSTR(vNewLine,c31+1,c32-c31-1);
    l_allocdata(vLineNo).alloc_qty := SUBSTR(vNewLine,c32+1,c33-c32-1);
    l_allocdata(vLineNo).def_trans_ind := SUBSTR(vNewLine,c33+1,c34-c33-1);
    vLineNo := vLineNo+1;
    END LOOP;
    utl_file.fclose(v_InHandle);
    FOR i IN 1..vLineNo-1 loop
    GME_API_PUB.insert_line_allocation (
         1,
         100,
         FALSE,
         True,
         l_allocdata(i),
         null,
         null,
         false,
         false,
         false,
         l_MtlDetailData,
         l_xtrandata,
         l_deftrandata,
         t_messagecount,
         t_messagelist,
         t_returnstatus);
    end loop;
         IF (t_returnstatus <> 'S') THEN
    for i IN 1 .. t_messagecount LOOP
    dbms_output.put_line('The text is '||FND_MSG_PUB.get(i,t_messagelist));
    END LOOP;
    END IF;
    -- COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE;
    END KIL_ProcessAlloc;
    ===============
    I get this
    Warning: Procedure created with compilation errors.
    SQL> sho err
    Errors for PROCEDURE GME.KIL_PROCESSALLOC:
    LINE/COL ERROR
    145/8 PLS-00306: wrong number or types of arguments in call to
    'INSERT_LINE_ALLOCATION'
    145/8 PL/SQL: Statement ignored
    =================
    The package specs of GME_API_PU is under:
    ===============
    PROCEDURE insert_line_allocation (
    p_api_version IN NUMBER := gme_api_pub.api_version
    ,p_validation_level IN NUMBER := gme_api_pub.max_errors
    ,p_init_msg_list IN BOOLEAN := FALSE
    ,p_commit IN BOOLEAN := FALSE
    ,p_tran_row IN gme_inventory_txns_gtmp%ROWTYPE
    ,p_lot_no      IN     VARCHAR2 DEFAULT NULL
    ,p_sublot_no      IN     VARCHAR2 DEFAULT NULL
    ,p_create_lot     IN BOOLEAN DEFAULT FALSE
    ,p_ignore_shortage     IN BOOLEAN DEFAULT FALSE
    ,p_scale_phantom     IN BOOLEAN DEFAULT FALSE
    ,x_material_detail     OUT gme_material_details%ROWTYPE
    ,x_tran_row     OUT gme_inventory_txns_gtmp%ROWTYPE
    ,x_def_tran_row     OUT gme_inventory_txns_gtmp%ROWTYPE
    ,x_message_count OUT NUMBER
    ,x_message_list OUT VARCHAR2
    ,x_return_status     OUT VARCHAR2);
    GME_API_PUB.insert_line_allocation
    ===========
    What am I doing wrong...why am I getting PLS-00306.
    Can someone help?
    Thank you
    Sundar
    [email protected]

    Hi John,
    Thanks a ton - a nice Christmas gift. Thank you for being a Santa :-).
    I used the same subscript as the one used for in parameter and the procedure compiled without errors.
    A corollary: If (any of the) Out parameter is null (all columns of the row/array), will the array row element still be stored ? May be I cross the bridge when I come to it.
    Merry Christmas.
    Sundar

Maybe you are looking for

  • Howto send outsream to more than one connected socket at the same time?

    Hi, I have a Serversocket socket class which is waiting for connections at a static port. The following code creates the ServerSocket: ServerSocket servsock = new ServerSocket(port); Then Im wating for clients to access to the server. I do it in a wh

  • How to Read payload..?

    Hello, I am not satisfied with the display of the messages in SXMB_MONI. I want to write a program that reads table SXMSPMAST (holding all processed messages) with selection criteria = application error. For those entries I want to read the correspon

  • Need help getting personal web sharing working again

    I've somehow managed to hose my apache web server and am hoping someone can offer some advice to get it running correctly again: my problem: I can no longer access my website files running on my mini server computer, and even when I run a simple loca

  • Regarding function module

    hi all, could u pls help me on my thread. in my program data:p_molga type molga. select-options:s_molga for p_molga. in function module source code select         pernr         jobseq         docnum         molga         bukrs         jobname        

  • I made a design in photoshop cs 5 and i wanted to print on vinyl, how it would possible using CorelDRAW?

    I made a design in photoshop cs 5 and i wanted to print on vinyl/ Guy who is with printing department said that we need CorelDRAW file and I think it support vector, so how it can be possible to Print my file on Vinyl Using CorelDRAW? and also CorelD