Why is the compilation error

Hi there,
Can you pls help why this error is coming?
code in post query (previous state it was working):
GET_CAUSAL_FACTOR_DESCRIPTION;
GET_SUPPLIER_NAME;
SETTLEMENT_STATUS_AMOUNTS;
New code in Post query:
DECLARE
cur_itm VARCHAR2(80);
cur_block VARCHAR2(80) := :System.Cursor_Block;
BEGIN
cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
WHILE ( cur_itm IS NOT NULL )
LOOP cur_itm := cur_block||'.'||cur_itm;
Set_Item_Instance_Property( cur_itm, CURRENT_RECORD, VISUAL_ATTRIBUTE,'OLD_RECORD_INDICATOR');
cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
END LOOP;
END;
GET_FACTOR_DESCRIPTION;  -- This is cal to function
GET_NAME; -- call to function
AMOUNTS; -- call to functionWhen I compile i am getting
Error 0 at line 1, column 1
statment ignored like this..

i don't know the reason, but this happens from time to time.
sometimes it's a simple connection error on the network adapter.
closing and reopening forms builder is also my workaround.

Similar Messages

  • How can I read ALL the compilation errors in a DOS window?

    On compilation using a DOS window, if the number of errors exceeds the window size, some of the errors disappear off the top of the window and I cannot read them.
    Is there an effective solution to somehow use scrolling of the DOS window or transfer the compilation errors to a file?

    Hey buddy,
    When I first started programming with Java, I wondered the same thing. I have the very best solution for you. This one is waaay easy!!!!
    There is a text editor which will not only color code your text for you, but you can easily configure it to give you the compiler /DOS output for Java. Just go to this website and download the program. Enjoy!
    http://www.textpad.com/

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

  • JAR file needed to solve the compilation error

    Hi ,
       I am getting the compilation error when i tried to access the "<b>com.sapportals.wcm.service.scheduler.ISchedulerTask</b>" interface.
    Where can i find the corresponding JAR file ?
    can anyone send this JAR to my mail iD ?
    [email protected]
    Thanks and Regards,
    Saravanan

    Hi Saravanan,
    Try this weblog <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2951">Using JAR Class Finder</a>.
    Regards,
    Abhishek.

  • Why are the compiled SWF colors brighter than in Flash CC while programming

    Just a quick question, when I open the SWF with FlashPlayer the colors are brighter than in Flash CC while programming, why is that?
    Left part is in Flash CC right side is the compiled SWF opened with FlashPlayer.

    Flash uses the sRGB color space. If your original art was created using a different color space then the colors will look shifted.
    This article may help: http://www.adobe.com/devnet/flash/quickstart/color_correction_as3.html

  • Fixing the "compile error in hidden module: DistMon"

    Our computer images are WinXP SP2, with Office XP SP3. Some people have Acrobat 8.12 Pro installed, and 2 of them were getting the above error.
    I found some help in the forums about exporting a registry key, etc. On the 1st person, I did all of that and the error was still there. I went into the VBE and saw a PDFMaker.xla module that could not be deleted. So I went to %user profile%\Application Data\Microsoft\Excel\XLSTART\ and deleted the PDFMaker.xla. No more error.
    I tested on the 2nd person by just deleting that file, and no more error. They still have the Acrobat toolbar, so it didn't disable that.
    I wanted to share this easy fix in case it works for anyone else.
    E Powell
    Austin, TX

    re: Install error PDFX1aSet_PSR_ gravure
    Greetings,
    My installation of Acrobat Pro 6.0 hangs when it can't find the file PDFX1aSet_PSR_ gravure.pdf. Any ideas about how to fix?
    Context clues:
    - Acrobat was running fine (as would have the install CD, I believe) until I removed Acrobat due to an unrelated issue using the Windows Install Cleanup program.
    - I've uninstalled and reinstalled Reader 8.0; no effect
    - The error is also temporally related to getting the following error when opening and closing Excel: "..compile error.. autoexecnew," then "distmon," respectively. I attempted this solution, but failed:
    http://www.adobeforums.com/cgi-bin/webx/.3bc307c7
    http://support.microsoft.com/?id=307410
    - I've uninstalled and reinstalled Office 2003; run repair w/in Excel; no effect
    - In Internet Explorer, I can open a PDF successfully, but the following error also appears: "One or more Adobe PDF extensions are disabled. This may impact how PDFs are displayed... enable add-ons [in IE]." However, all the Adobe add-ons are already enabled in IE.
    Thanks very much for your ideas.

  • Flash Professional Question: About the compiler error window

    Sorry if this is the wrong forum however I was unable to post a question to the Flash Professional forum for some wierd reason. Basically my question is, when I get an error in my console in Flash Professional is there an elegant way of zooming to my intended editor, Flash Builder? The built in code viewer is useless and a hassle to use.

    Launch the movie Flash Builder:
    Run > Test Movie will launch in Flash Pro and give compile errors in Flash Builder
    Run > Debug As.. will start a debug session (in browser or AIR) and you can debug it from Flash Builder (runtime errors, breakpoints, etc.)
    -Aaron

  • Get the compilation error

    How can i get the object error in after create trigger???
    To get the source code i use ora_sql_text funcion, but to compilation error i don't know...
    Thanks,
    Renato Rodrigues

    It too has some limitation. It cannot trap anonymous block's error.
    Here is one way ->
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Elapsed: 00:00:00.58
    satyaki>
    satyaki>
    satyaki>select * from user_errors;
    NAME                           TYPE           SEQUENCE       LINE   POSITION TEXT                                                                                              
    P                              PROCEDURE             1          1          1 PLS-00410: duplicate fields in RECORD,TABLE or argument list are not permitted                    
    P                              PROCEDURE             2          0          0 PL/SQL: Compilation unit analysis terminated                                                      
    NUM_ARRAY_REC                  TYPE                  1          1         23 PLS-00355: use of pl/sql table not allowed in this context                                        
    NUM_ARRAY_REC                  TYPE                  2          0          0 PL/SQL: Compilation unit analysis terminated                                                      
    SPLIT                          FUNCTION              2         45          1 PLS-00103: Encountered the symbol "SELECT"                                                        
    LOGID_TRIGGER                  TRIGGER               1          2         23 PLS-00357: Table,View Or Sequence reference 'LOGID.NEXTVAL' not allowed in this context           
    TEST_VV                        PROCEDURE             1          1         19 PLS-00230: OUT and IN OUT formal parameters may not have default expressions                      
    CLOB_OBJ                       TYPE                  1          3         18 PLS-00103: Encountered the symbol ";" when expecting one of the following:                        
                                                                                    := . ( ) , @ % not null range default external character
                                                                                 The symbol ";" was ignored.
    NAME                           TYPE           SEQUENCE       LINE   POSITION TEXT                                                                                              
    LOGID_TRIGGER                  TRIGGER               2          2          2 PL/SQL: Statement ignored                                                                         
    EMPLOYEE                       TYPE BODY             1          1         11 PLS-00201: identifier 'EMPLOYEE' must be declared                                                 
    TEST_PRIVS                     PROCEDURE             1          6         10 PL/SQL: ORA-00942: table or view does not exist                                                   
    EMPLOYEE                       TYPE BODY             2          1         11 PLS-00304: cannot compile body of 'EMPLOYEE' without its specification                            
    EMPLOYEES_VIEW                 VIEW                  1          0          0 ORA-01730: invalid number of column names specified                                               
    EMPLOYEE                       TYPE BODY             3          0          0 PL/SQL: Compilation unit analysis terminated                                                      
    SPLIT                          FUNCTION              1         28          1 PLS-00103: Encountered the symbol "DECLARE"                                                       
    TEST_PRIVS                     PROCEDURE             2          5          5 PL/SQL: SQL Statement ignored                                                                     
    TEST_PRIVS                     PROCEDURE             3          3         10 PLS-00341: declaration of cursor 'C1' is incomplete or malformed                                  
    TEST_PRIVS                     PROCEDURE             4          9          6 PL/SQL: Item ignored                                                                              
    NAME                           TYPE           SEQUENCE       LINE   POSITION TEXT                                                                                              
    TEST_PRIVS                     PROCEDURE             5         13         42 PLS-00364: loop index variable 'R1' use is invalid                                                
    TEST_PRIVS                     PROCEDURE             6         13          5 PL/SQL: Statement ignored                                                                         
    20 rows selected.
    Elapsed: 00:00:00.30
    satyaki>
    satyaki>
    satyaki>
    satyaki>declare
      2       str varchar2;
      3     begin
      4      nul;
      5     end;
      6  /
         str varchar2;
    ERROR at line 2:
    ORA-06550: line 2, column 10:
    PLS-00215: String length constraints must be in range (1 .. 32767)
    ORA-06550: line 4, column 5:
    PLS-00201: identifier 'NUL' must be declared
    ORA-06550: line 4, column 5:
    PL/SQL: Statement ignored
    Elapsed: 00:00:00.42
    satyaki>
    satyaki>
    satyaki>select * from user_errors;
    NAME                           TYPE           SEQUENCE       LINE   POSITION TEXT                                                                                      
    P                              PROCEDURE             1          1          1 PLS-00410: duplicate fields in RECORD,TABLE or argument list are not permitted            
    P                              PROCEDURE             2          0          0 PL/SQL: Compilation unit analysis terminated                                              
    NUM_ARRAY_REC                  TYPE                  1          1         23 PLS-00355: use of pl/sql table not allowed in this context                                
    NUM_ARRAY_REC                  TYPE                  2          0          0 PL/SQL: Compilation unit analysis terminated                                              
    SPLIT                          FUNCTION              2         45          1 PLS-00103: Encountered the symbol "SELECT"                                                
    LOGID_TRIGGER                  TRIGGER               1          2         23 PLS-00357: Table,View Or Sequence reference 'LOGID.NEXTVAL' not allowed in this context   
    TEST_VV                        PROCEDURE             1          1         19 PLS-00230: OUT and IN OUT formal parameters may not have default expressions              
    CLOB_OBJ                       TYPE                  1          3         18 PLS-00103: Encountered the symbol ";" when expecting one of the following:                
                                                                                    := . ( ) , @ % not null range default external character
                                                                                 The symbol ";" was ignored.
    NAME                           TYPE           SEQUENCE       LINE   POSITION TEXT                                                                                      
    LOGID_TRIGGER                  TRIGGER               2          2          2 PL/SQL: Statement ignored                                                                 
    EMPLOYEE                       TYPE BODY             1          1         11 PLS-00201: identifier 'EMPLOYEE' must be declared                                         
    TEST_PRIVS                     PROCEDURE             1          6         10 PL/SQL: ORA-00942: table or view does not exist                                           
    EMPLOYEE                       TYPE BODY             2          1         11 PLS-00304: cannot compile body of 'EMPLOYEE' without its specification                    
    EMPLOYEES_VIEW                 VIEW                  1          0          0 ORA-01730: invalid number of column names specified                                       
    EMPLOYEE                       TYPE BODY             3          0          0 PL/SQL: Compilation unit analysis terminated                                              
    SPLIT                          FUNCTION              1         28          1 PLS-00103: Encountered the symbol "DECLARE"                                               
    TEST_PRIVS                     PROCEDURE             2          5          5 PL/SQL: SQL Statement ignored                                                             
    TEST_PRIVS                     PROCEDURE             3          3         10 PLS-00341: declaration of cursor 'C1' is incomplete or malformed                          
    TEST_PRIVS                     PROCEDURE             4          9          6 PL/SQL: Item ignored                                                                      
    NAME                           TYPE           SEQUENCE       LINE   POSITION TEXT                                                                                      
    TEST_PRIVS                     PROCEDURE             5         13         42 PLS-00364: loop index variable 'R1' use is invalid                                        
    TEST_PRIVS                     PROCEDURE             6         13          5 PL/SQL: Statement ignored                                                                 
    20 rows selected.
    Elapsed: 00:00:00.45
    satyaki>Regards.
    Satyaki De.

  • I do not understand the compiler error message

    The code below is supposed to get multiple integer inputs from the console, place them on an array, and check for the NumberFormatException. When I compile it, it is giving an error message that I do not understand.
         A console program that accepts integer input from the user and throws a NumberFormatException if the entry is not an integer.
         Created on: August 20, 2003
    import javax.swing.*;
    import java.util.*;
    public class ArgstoNumbers2
         public static void main(String[] args)
              //Prompt user for input
              System.out.print("Enter a number: ");
              //Create and array to accept the user's input
              int [] integerArgs;
              //Fill array with users input
              while(true)
                   try
                        integerArgs = getInt();
                        break;
                   //Verfy that the input is an integer
                   catch (NumberFormatException e)
                        System.out.println("Not a number. Please enter a number.");
                        System.exit(1);
         //Start of the getInt() method
         public static int getInt()
              String numberString;
              int intVal = 0;
              boolean endChar = false;
              while(!endChar)
                   try
                        numberString = getString();
                        intVal = Integer.parseInt(numberString);
                        endChar = true;
                   catch (NumberFormatException e)
                        System.out.println("Not a number. Please enter a number.");
                        System.exit(1);
              return intVal;
         //End of the getInt() method
         //Start of the getString() method
         public static String getString()
              int aChar = -1;
              String consoleChars = "";
              boolean endChar = false;
                   while(!endChar)
                        try
                             aChar = System.in.read();
                             if ((aChar == 10) || (aChar == 13)) endChar = true;
                             else consoleChars = consoleChars + (char)aChar;
                        catch (Exception e)
                             System.out.println(e.getMessage());
                             System.exit(0);
              return consoleChars;
         //End of the getString() method

    Hi,
    A possible problem would be at line
    integerArgs = getInt();
    since here you would get an incompatible types error since 'integerArgs' is an array and 'getInt()' returns a primitive int value.
    This needs to be changed and then am sure your code should compile.
    Hope the above helps.
    John Morrison
    PS: As paul was saying, putting in the error message would be a faster way to get an answer since most developers on the forum would be hard pressed for time and may not be able to actually try out your code.

  • Why throws the renderengine error messages about the display?

    In our company we have built up a renderfarm with 4 PCs for AE Netrendering. On each PC is the AE Renderengine installed which watches a watchfolder. Because the PCs only have to render and not to show something they don't own a graphics card but only an onboard graphics chip with a color depth of 16. Now the renderengines throw error-messages that AE can`t be shown correctly with at least 256 colors. But this is not important for just rendering. The message stops the renderprocess of the renderengine until it is confirmed. Anybody knows how to get rid of this?
    Greets Andreas Knop

    Umm, sorry, but even the render engine uses the standard UI components and thus requires some capabilities. I'm sure that's clearly mentioned somewhere in the docs as well. You're out of luck on that one. The only thing that will work is the commandline render, obviously.
    Mylenium

  • Compiler error  type of object in for (Class obj : Items) - why?

    Hi all,
    I'm new to Java generics and am in the process of converting some
    legacy code. I have encountered a particular error which I do not
    understand the reason for, since I think the compiler has enough
    information about the code to work out type information. The following
    code shows a test class which demonstrates this error:
    import java.util.Collection;
    public class Test
        interface Base {}
        static class Impl1 implements Base{}
        public <T extends Base> Collection<T> getCollection(Class<? extends Base> cls)
            return null;
        void someMethod()
            for ( Impl1 obj : getCollection( Impl1.class ))
                // *** compiler complains about the line above ***
                // compiler says:
                // Test.java:22: incompatible types
                // found   : Test.Base
                // required: Test.Impl1
                //        for ( Impl1 obj : getCollection( Impl1.class ))
                //                                        ^
        void someMethod2()
            Collection<Impl1> coln = getCollection(Impl1.class);
            for (Impl1 obj : coln)
                // do something here with obj
    }Why should the compiler complain where it does ( the line marked with
    asterisks) in someMethod, but does not reject the declaration statement
    in someMethod2? I would have assumed both are the same and the
    compiler has the same type information at its disposal to determine
    the correct type.
    Cheers,
    Bonny

    The Java 5 compiler not only looks at a method's name and arguments, but also at its return value in order to determine whether a method is callable and what type should be infered for its type parameters.
    In your example the type parameter T is only used in the declaration of the method's return type. Note that there is no relation between T and the type of the argument cls!
    Thus, the compiles needs to know what type of variable the return value will be assigned to.
    Hence, someMethod2 can be resolved, whereas in someMethod there is no assignment of the return value. (Rather, an implicit call to Iterable.iterator()).
    You can solve this problem by forming a relation between the method's argument, its return type and its type parameter. Just declare the method like this:
    public <T extends Base> Collection<T> getCollection(Class<T> cls)
            return null;
        }

  • Why is the FPGA compiler server so slow?

    FPGA Cloud compiler is faster because NI servers are high performance, right????
    Well, my Windows 7 PC is high performance, but no luck there!
    Total CPU usage is never more than 25% and total memory usage (including other applications) is less than 16%.
    Why does the compile server not use all available resources? has it been restricted?
    How can I leverage more power from my PC?
    If NI Servers can compile code quicker, there must be plausible explanation / reason?
    Please advise, how to make the compile server run faster locally?
    Solved!
    Go to Solution.

    Try this if you haven't yet:
    http://forums.ni.com/t5/LabVIEW-FPGA-Idea-Exchange/Turbo-Boost-the-speed-of-FPGA-compiles-under-Wind...
    In my experience, taking advantage of Intel's Turbo Boost (my PC has i5) reduced compile time from 85 minutes to 45.
    I'm currently testing Cloud Compiler and it took 110 minutes.  How can Cloud Compile Server be the slowest compile?

  • In sqlplus after a bad compile where does the show errors data exist?

    I am creating an automated deploy of code for project releases. In sqlplus I use the whenever command for sql errors but it doesn't catch bad compiles. When the process runs it runs as a dba user having the stored procs fully qualified causing the compile error not show in the user_errors but in all_errors. While experimenting I saw that another user could get a new record put into all_errors but my session when in sqlplus I still see the error from my compile from SHOW ERRORS. My question is where is the data from the show errors in my session stored and is it available for me to query so I can check for compile errors within sqlplus?
    Hope that was clear .
    Thanks,
    Ken

    In sqlplus ...You are in the wrong forum. This is for Oracle Forms.

  • Why i can't to repair the Grub Error 15?

    Hi.
    Unfortunely, Arch Linux don't work for me.
    I tried to fix the Grub Error 15, without success.
    I have two hard disks, one installed in /dev/sda (with Ubuntu)
    the other in /dev/sdb and it is where I want to install Arch.
    As I do not want complications, simply i assigned /dev/sdb1 to "/" and /dev/sdb5 to swap. /home /boot /etc and other directories are in the same partition as /.
    The kernel are in the /boot directory, the files are /boot/vmlinuz26 and /boot/initrd.img (i don't remember the exact name of this last .img file)
    My menu.lst are as following
    default 0
    timeout 3
    title        Arch Linux
    root        (hd1,0)
    kernel    /boot/vmlinuz26 root=/dev/sdb1 ro
    initrd        /boot/initrd26.img
    However, always shows me the Grub Error 15 (File not found).
    I enter to the Grub command line
    grub > root (hd1,0)
    Filesystem is ext3, partition type 0x83
    grub > setup (hd1)
    Checking if '/boot/grub/stage1' exists... yes
    Other checkings (I don't remember which now) also passed and exists (they say "Checking if 'file' exists..... yes").
    But when I boot from the second hard disk, the boot fails and the damn grub error 15 appears.
    Nothing and none of the tutorials that I found in Google works.
    What i'm doing bad?
    Thanks!
    EDIT:
    Here is a summary of check with efsck, to discard failures on the disk, however, had many attempts with error when reading certain blocks like this
    Error reading block 2163066 (Attempt to read block from filesystem resulted in short read) when getting the next node -i to examine 
    ¿Ignore error? Yes
    ¿Force rewrite? Yes
    Summary:
    36215 inodes used (0.76%)
    38 non-contiguous inodes (0.1%)
    # of inodes with ind/dind/tind blocks: 1173/8/0
    471916 blocks used (2.48%)
    0 bad blocks
    1 large file
    30943 regular files
    3551 directories
    3 character device files
    0 block device files
    0 fifos
    1469 links
    1709 symbolic links (1709 fast symbolic links)
    0 sockets
    37675 files
    Last edited by El-Dani (2009-02-21 03:49:55)

    I typed these commands in grub command line
    root (hd1,0)
    setup (hd0)
    ... and then?
    I not understand why appears the same error. Mi menu lst is here
    title  Arch Linux
    root   (hd1,0)
    kernel /boot/vmlinuz26 root=/dev/sdb1 ro
    initrd /boot/kernel26.img
    vmlinux26 and kernel26.img exists in /boot directory. I want to boot from first partition of second hard disk, which are sdb1.
    Are there other way to boot Arch? (which is installed in the second hard disk, in sdb1)... maybe editing the grub using to boot Ubuntu? (Ubuntu is installed in sda1)
    Is valid simply adding the lines of my menu.lst described above and paste it in menu.lst of Ubuntu?
    I boot Ubuntu normally from first disk, first partition. Here is the menu.lst of the disk installed with Ubuntu
    title        Ubuntu 8.04.2, kernel 2.6.24-16-generic
    root        (hd0,0)
    kernel    /boot/vmlinuz-2.6.24-16-generic root=UUID=5b72d0b0-af94-4e37-ba6b-13008ce75e31 ro quiet splash
    initrd        /boot/initrd.img-2.6.24-16-generic
    As you can see, Ubuntu is in the partition /dev/sda1 (hd0,0). Can I simply adding the arch lines to this menu.lst, and boot from first disk as normally i do? I want to select booting Ubuntu or Arch.

  • Compiler error when useing switch statements in an inner class

    I have defined several constants in a class and want to use this constans also in an inner class.
    All the constants are defined as private static final int.
    All works fine except when useing the switch statement in the inner class. I get the compiler error ""constant expression required". If I change the definition from private static final to protected static final it works, but why?
    What's the difference?
    Look at an example:
    public class Switchtest
       private static final int AA = 0;     
       protected static final int BB = 1;     
       private static int i = 0;
       public Switchtest()
          i = 0; // <- OK
          switch(i)
             case AA: break; //<- OK, funny no problem
             case BB: break; //<- OK
             default: break;
      private class InnerClass
          public InnerClass()
             i = 0; // <- OK: is accessible
             if (AA == i) // <- OK: AA is seen by the inner class; i  is also accessible
                i = AA + 1;
             switch(i)
                case AA: break; // <- STRANGE?! Fail: Constant expression required
                case BB: break; // <- OK
                default: break;
    }Thank's a lot for an explanation.

    Just a though:
    Maybe some subclass of Switchtest could decalare its own variable AA that is not final, but it can not declare its own BB because it is visible from the superclass. Therefore the compiler can not know for sure that AA is final.

Maybe you are looking for

  • Im getting error 14 every time i try to restore my ipod touch?

    im getting error 14 every time i try to restore my ipod touch? anyone know how to fix this? i have itunes 9 and this problem started when i bought the new itouch software. i have alreay tried deleting itunes then re-installing it.

  • Access multiple buttons in a loop??

    Hi, This is a continuation of my last question and I am hoping Ned will tell my what to do. I am really thankful for all your help so far...:) The problem now is that I need to access the buttons in the following format. img1._alpha = 100; I tried th

  • Why won't Photoshop CS3 in Lion?

    Immediately after upgrading to Lion, I'm apparently not allowed to run a very expensive program: Photoshop CS3. This alert claims I'm not connected to the internet but I clearly am. Anyone else seeing this? Is there a free update from Adobe? The Lion

  • Declare rfc destination to receive idoc

    i am trying an example to declare rfc destination to receive idoc.  the directions say to create a new destination of type "L" with the name INTERNAL and desination NONE. When i try to create a new rfc desination with destination NONE is says there i

  • Is work flow configuration & custmization T.Codes in srm same as in r/3

    Hai Gurus Need clarification ,is work flow configuration & custmization T.Codes in srm same as in r/3. For example:Starting condition defining in srm is through SPRO>SRM>SRM server>Cross appl basic settings>sap business work flow And in R/3 it is thr