Getting a compilation error. Says ; is missing in line 34

// A program to demonstrate the use of JList's
//Import Statements
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class ListTest extends JFrame{
     //Class Declarations
     JList list;
     String[] colorNames = {"black", "blue", "green", "red"};
     Color[] colors  = {Color.BLACK, Color.BLUE, Color.GREEN, Color.RED };
     //Main Program that starts Execution
     public static void main(String[] args) {
          ListTest test =  new ListTest();
          test.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
     //Constructor
     public ListTest()
          super("List Test Demo");
          Container container  = getContentPane();
          container.setLayout(new FlowLayout());
          list = new JList(colorNames);
          list.setVisibleRowCount(3);
          list.setSelectedIndex(0);
          //Anonymous Inner Class
          list.addListSelectionListener() {
               new ListSelectionListener(){
               public void valueChanged( ListSelectionEvent e)
                    container.setBackground(colors[colorlist.getSelectedIndex()]);
          container.add(list);
          pack();
          setVisible(true);
}// End of Class ListTestGetting the following compilatioN Error
Getting a compilation error. Says ; is missing in line 34

// A program to demonstrate the use of JList's
//Import Statements
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class ListTest extends JFrame{
     //Class Declarations
     JList list;
     String[] colorNames = {"black", "blue", "green", "red"};
     Color[] colors  = {Color.BLACK, Color.BLUE, Color.GREEN, Color.RED };
     //Main Program that starts Execution
     public static void main(String[] args) {
          ListTest test =  new ListTest();
          test.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
     //Constructor
     public ListTest()
          super("List Test Demo");
          Container container  = getContentPane();
          container.setLayout(new FlowLayout());
          list = new JList(colorNames);
          list.setVisibleRowCount(3);
          list.setSelectedIndex(0);
          //Anonymous Inner Class
          list.addListSelectionListener (
               new ListSelectionListener() {
               public void valueChanged( ListSelectionEvent e)
                    container.setBackground(colors[colorlist.getSelectedIndex()]);
          container.add(list);
          pack();
          setVisible(true);
}// End of Class ListTestCannot resolve symbol ListSelectionListener [LINE 36]

Similar Messages

  • I cannot install iTunes.  I get a Windows Error 126 and missing msvcr80.dll.  I've tried uninstalling and re-installing based on all the suggestions, but still have an issue

    I cannot install iTunes.  I get a Windows Error 126 and missing msvcr80.dll.  I've tried uninstalling and re-installing based on all the suggestions, but still have an issue.  I've removed all the services, tried moving the dll files as suggested, but I still have no success.  Spent all day on this issue.  I am running windows 7.

    Sorry to hear this isn't going smoothly for you. Try  Troubleshooting issues with iTunes for Windows updates. You may have seen some of the suggestions here before but is has taken some users more than one attempt.
    tt2

  • When I try to send e-mail I get an error message stating that the e-mail address was rejected by the server.  When I send to e-mail from another address, I get back an error saying the e-mail address is unknown.  My e-mail has worked fine for years until

    When I try to send e-mail I get an error message stating that the e-mail address was rejected by the server.  When I send to e-mail from another address, I get back an error saying the e-mail address is unknown.  My e-mail has worked fine for years until yesterday.  HELP!

    The specific text of the error message is very important here — I'm not sure exactly you're encountering here.
    If you're able to connect to your email server and are able send email to other email addresses and if the failures are specific to one email recipient address, then please contact the intended recipient of the failing email, and confirm their address is valid.  (This is the way I'm reading your question.)
    If you are unable to send any email to any other email addresses and this is specific to your email address, then try the web mail client interface (if one is available) to verify your login user and password, and check with your email ISP for assistance.  If your email password works via web mail, follow this Apple troubleshooting guide, then — if everything else fails — I'd probably then entirely remove the email account from Mail.app and re-add it per your email ISP's particular setup requirements.  (Some issue with the setup or maybe a corrupt setting in OS X or a problem at the mail ISP servers is a common problem, but this effects attempts to send to all email addresses via that account.)
    An email account setup is specific to an email provider, unfortunately.   If you're using one of the more common email ISPs, then there are usually setup guides and frequently-asked questions posted online.

  • How do I add an included jsp to my project and not get a compile error?

    Hi,
    I have a project with some included jsp's however if I add them to the project, when I build I get a compile error as the jsp uses variables from the calling jsp.
    Any ideas on how to get round this.
    Thanks
    DM

    There are two main ways that I deal with this problem (yeah, it sucks, but it sort of makes sense that it happens...) (I presume you're talking static include here...)
    #1 - name the included file with an extension that JDev will not try to compile (.jspf - for JSP Fragment - is common) Then it will be compiled in with the including page, but won't gag the project compilation. Advantage - it works, and you find out at compile time if you hosed up the variable reference. Disadvantage: JDev tries really, really, really hard to keep you from naming a JSP file with an extension of .jspf I normally create the .jsp file in JDev, remove it from the project, rename the file outside of JDeveloper, then add it back to the project - pain in the butt, but it works (and you probably aren't building scads of these included files...)
    #2 - add the variable to be referenced to the pageContext implicit object as an attribute in your including page (ex, <% pageContext.setAttribute("myVar", myVar); %>), then reference that attribute in your included JSP (ex, <%= pageContext.getAttribute("myVar") %>) . It will compile fine (as the compiler has no way of knowing if the pageContext attribute actually exists, it just sees that the syntax is good and motors along merrily. Advantage: don't have to have differently named JSP files (which isn't actually a big deal). Disadvantage: You hvae to add the variable to the pageContext (and you have to always add Object derivatives, as primitives won't go into a hash) and you don't find out if you screwed the variable up until runtime (when it tries the getAttribute, which could return null if you didn't properly set it to start with) vs at compile-time w/ the direct reference.
    HTH!
    Jim

  • Why dont we get a compilation error for converting a collection into array?

    Why don't we get a compilation error but get a runtime error while explicit casting of Object[] into a String[]?
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Map;
    public class SampleMap {
      public static void main(String[] args) {
        Map<Integer, String> temp = new HashMap<Integer, String>();
        temp.put(new Integer(1), "cat");
        temp.put(new Integer(2), "rat");
        Collection coll = temp.values();
        String[] arr = (String[]) coll.toArray();
        System.out.println(arr.length);
    } Thanks,
    Harish Srinivasan

    Infiniti wrote:
    Why don't we get a compilation error but get a runtime error while explicit casting of Object[] into a String[]?
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Map;
    public class SampleMap {
    public static void main(String[] args) {
    Map<Integer, String> temp = new HashMap<Integer, String>();
    temp.put(new Integer(1), "cat");
    temp.put(new Integer(2), "rat");
    Collection coll = temp.values();
    String[] arr = (String[]) coll.toArray();
    System.out.println(arr.length);
    } Thanks,
    Harish SrinivasanAn explicit cast's job is to tell the compiler that even though it cannot guarantee that the conversion will work, allow the code anyway and let the runtime handle an error if it occurs.

  • On some sites we get sec_error_unknown_issuer SSL error due to missing root certificate TC TrustCenter Class 2 L1 CA XI. Firefox is the only browser having this issue. Why is that certificate not preinstalled and shipped with Firefox?

    On some sites we get sec_error_unknown_issuer SSL error due to missing root certificate TC TrustCenter Class 2 L1 CA XI. Firefox is the only browser having this issue. Why is that certificate not preinstalled and shipped with Firefox?
    Check sales.sauer-danfoss.com for details with Firefox 7.
    Thanks
    Stefan

    You are not sending the TC TrustCenter Class 2 L1 CA XI intermediate certificate
    *http://sales.sauer-danfoss.com/
    Web servers need to send all required intermediate certificates to build the chain to build-in root certificates.
    You need to install that intermediate certificate on your server.
    *http://www.trustcenter.de/en/infocenter/root_certificates.htm#3479
    You can test the certificate chain via a site like this:
    *http://www.networking4all.com/en/support/tools/site+check/

  • I try to generate a chm file over the net and I get a compiling error message

    Hi all,
    I am trying to generate chm files over the net, and the same project when I am generating the same chm locally works fine, however when I am attempting to generate the same chm on a network location, it gives me a compiling error and aborts the generation. It is also keeping the chm file open afterwards, so I have to reboot the machine.
    It is RH7 working on a Windows XP Pro 32 bit.
    Thank you

    It is not a project issue. RoboHelp is just not designed to work that way but like a lot of things, some people can use them outside what they were designed for. However, just because some people can work that way, it does not follow everyone can.
    I've seen people with projects on a network and they say have been doing it for years so it must be OK. A while later they come back and say the problem is fixed since moving it locally.
    Sorry but it looks like you are stuck with working the way you do or getting your colleague to do it. It might be as simple as he is on a different bit of your network.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Getting package compilation error

    Hi
    When I am compiling the package in TOAD it is compiling without any error but the same code when compile from sqlplus I am getting error saying that
    PLS-00103: Encountered the symbol "END" when expecting one of the
    following:
    begin case declare exit for goto if loop mod null pragma
    raise return select update while with <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> <<
    close current delete fetch lock insert open rollback
    savepoint set sql execute commit forall merge pipe
    Could someone please help me on this.
    Thanks,
    Y

    Hi Y;
    Did you try to run below?
    SQL>ALTER PACKAGE [schema.]package_name COMPILE
    [DEBUG PACKAGE|SPECIFICATION|BODY];
    SQL>show errors
    For more details please check:
    How to show errors in compiling package body
    Re: How to show errors in compiling package body
    Please also check below and see its helpful:
    PLS-00103 When trying to generate a Procedure [ID 122587.1]
    Common Reasons for PLS-00103 [ID 199421.1]
    Invalid Packages For BNE [ID 455454.1]
    Regard
    Helios

  • I get a compiling error when trying to save a VI using 8.0.1.

    While trying to save a VI recently, I recieved an error that the code could not be generated.  The reason was that there was a compiling error while saving.  I know have a broken arrow and can not figure out how to resolve the issue.

    The thing that would help us help you the most is if you can attach a VI (in its last saved form) and a set of steps (edits) to the VI that cause it to get into the state where attempting to save it displays this compile error.  Sometimes this is difficult to do, but if you can do this it gives us the best chance of being able to reproduce and figure out the issue.  Let us know if you can post such a VI, thanks!

  • Getting Internal compilation error In BPEL

    Hi,
    We have createa a bpel process using flow.
    WHile compiling we are facing the below error. Can any one help on this.
    Error: Internal compiler error.
    An internal error has occurred while attempting to process the BPEL process file "<BPELProj>\bpel\SendMailSHEReqABCSImpl.bpel"; the exception is: java.lang.NullPointerException
    Thanks
    Phanindra

    In the log Messages i could see the validation succesfully done. but the compilation is getting failed.
    Log message:-
    Loading Process:file:/C:/AIA BGC/DevWorkspace/SendMailSHEReqABCSImpl/bpel/SendMailSHEReqABCSImpl.bpel...
    Validating Process...
    Done validating.

  • Getting a compiler error

    Hello All:<br /><br />   I have some code provided to me by Adobe for building a selection suite. In the .FR I have this:<br /><br />     AddIn<br />     {<br />           kIntegratorSuiteBoss,<br />           kInvalidClass,<br />           {<br />              IID_IMYSELECTIONSUITE, kMySelectionSuiteASBImpl,<br />           }<br />     },<br /><br />     AddIn<br />     {<br />           kLayoutSuiteBoss,<br />         kInvalidClass,<br />         {<br />           IID_IMYSELECTIONSUITE, kMySelectionSuiteCSBImpl,<br />         }<br />     },<br /><br />Please assume that all definitions and declarations and PMIDs, etc., have been declared in the appropriate auxiliary files.<br /><br />I copied the files implementing the above verbatim into the project.<br /><br />This is how I instantiate the interface in the code:<br /><br />   ISelectionManager* iSelMgr = ActiveContext -> GetContextSelection();<br /><br />   InterfacePtr<IMySelectionSuite> mySelectionSuite(iSelMgr, UseDefaultIID());<br /><br />The problem is that when I compile the module, I get the following error message:<br /><br />C:\Program Files\Adobe\InDesignCSAndInCopyCSSDK\source\sdksamples\codesnippets\SnpTestSelectionSuite .cpp(178): error C2664: 'InterfacePtr<IFace>::InterfacePtr(const IPMUnknown *,PMIID)' : cannot convert parameter 1 from 'ISelectionManager *' to 'const IPMUnknown *'<br />        with<br />        [<br />            IFace=IMySelectionSuite<br />        ]<br /><br />I can make this disappear by casting iSelMgr to type IPMUnknown, but somehow that doesn't feel right.<br /><br />As far as I can tell, I have the right headers included in the file.  Anyone have any suggestions about how to resolve this error message without the ambiguity of using IPMUnknown?

    Strizh:
    That was a bonehead problem wasn't it? Sigh. Thanks for your solution.
    R,
    John

  • Always get same compilation error.. Does'nt matter whatever i write in code

    Hi All,
    I am getting strange error while compiling my pl/sql code.. it always gives me error
    SQL> SHOW ERR
    ERROR:
    ORA-00942: table or view does not exist
    ..I always get this error. In sample piece of code , i dont have any table also
    SQL> SELECT * FROM V$VERSION ;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    PL/SQL Release 9.2.0.5.0 - Production
    CORE 9.2.0.6.0 Production
    TNS for Solaris: Version 9.2.0.5.0 - Production
    NLSRTL Version 9.2.0.5.0 - Production
    SQL> Create or replace FUNCTION check_cid IS
    BEGIN
    dbms_output.put_line("CHAL");
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line("GHODA");
    END check_cid;
    2 3 4 5 6 7 8
    Warning: Function created with compilation errors.
    SQL> SQL> show err
    ERROR:
    ORA-00942: table or view does not exist
    SQL> Create or replace FUNCTION check_cid RETURN NUMBER IS
    stat_res NUMBER;
    BEGIN
    stat_res := 1;
    dbms_output.put_line("CHAL");
    RETURN stat_res;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line("GHODA");
    END check_cid;
    / 2 3 4 5 6 7 8 9 10 11
    Warning: Function created with compilation errors.
    SQL> SHOW ERR
    ERROR:
    ORA-00942: table or view does not exist
    SQL> Create or replace FUNCTION check_cid() RETURN NUMBER IS
    stat_res NUMBER;
    BEGIN
    stat_res := 1;
    dbms_output.put_line("CHAL");
    RETURN stat_res;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line("GHODA");
    END check_cid;
    / 2 3 4 5 6 7 8 9 10 11
    Warning: Function created with compilation errors.
    SQL> SHOW ERR
    ERROR:
    ORA-00942: table or view does not exist

    The error message is correct.
    You are using double quotes instead of single quotes.
    Identifiers (table names, column names etc) with special characters should be enclosed by double quotes, so PL/SQL thinks you are using an identifier and can't find it.
    Please replace the double quotes by single quotes.
    Please also make sure you always try to iron out simple compilation errors yourself, so you become independent, and don't need to ask for the assistance of volunteers.
    Optionally, increase your intake of coffee, and/or buy (better) glasses ;)
    Sybrand Bakker
    Senior Oracle DBA

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

  • Getting a compilation error when deploying a web service to OC4J.

    The following are the error that I got from Oracle AS server console:
    [Feb 5, 2007 11:31:14 AM] Application Deployer for edsssaws STARTS.
    [Feb 5, 2007 11:31:14 AM] Copy the archive to D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear begins...
    [Feb 5, 2007 11:31:14 AM] Unpacking edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Done unpacking edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Unpacking edsssaws-web.war
    [Feb 5, 2007 11:31:16 AM] Done unpacking edsssaws-web.war
    [Feb 5, 2007 11:31:16 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear ends...
    [Feb 5, 2007 11:31:16 AM] Starting application : edsssaws
    [Feb 5, 2007 11:31:16 AM] Initializing ClassLoader(s)
    [Feb 5, 2007 11:31:16 AM] Initializing EJB container
    [Feb 5, 2007 11:31:16 AM] Loading connector(s)
    [Feb 5, 2007 11:31:16 AM] Starting up resource adapters
    [Feb 5, 2007 11:31:16 AM] Initializing EJB sessions
    [Feb 5, 2007 11:31:16 AM] Committing ClassLoader(s)
    [Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web begins...
    [Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web ends...
    [Feb 5, 2007 11:31:16 AM] Started application : edsssaws
    [Feb 5, 2007 11:31:16 AM] Binding web application(s) to site default-web-site begins...
    [Feb 5, 2007 11:31:16 AM] Binding edsssaws-web web-module for application edsssaws to site default-web-site under context root edsssaws
    [Feb 5, 2007 11:31:35 AM] Operation failed with error: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
    I don't have any problem to build the webservice using oracle:assemble command in ant script, nor compilation error in the build time.
    The error log shows as the following:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.jmx.client.EventManager</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>1 events to be dispatched for: oracle.oc4j.admin.management.mejb.MEjb@a8c31b and domain: oc4j-w2gzfdx801.amer.corp.eds.com-12401-default</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.jmx.client.CoreRemoteMBeanServer</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Dispatching event type: deploy.edsssaws and message: Application Deployer for edsssaws FAILED. to listener with id: 0 on MBeanServer proxy: oracle.oc4j.admin.management.mejb.MEjb@a8c31b</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.deploy.spi.status.ProgressObjectImpl</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
         at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:214)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:541)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:197)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         ... 4 more
    Caused by: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:98)
         at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8403)
         at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5465)
         at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5394)
         at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5333)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:645)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
         at com.evermind.server.Application.getHttpApplication(Application.java:512)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1591)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:206)
         ... 8 more
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    Any idea why it happened?
    Thanks,
    Jason

    Hello,
    I do not see why you have this error, is it the only log entry that you have? Anything in the application.log?
    Can you send me the ear? tugdual [dot] grall [at] oracle [dot] com
    Regards
    Tugdual Grall

  • Compiler bug in 10.1.3 EA1?  get "Internal compilation error" with EnumSet

    The code sample below generates "Error: Internal compilation error, terminated with a fatal exception" when doing make. It's a very simple example, it creates an EnumSet with one element and dumps it via the "toString()" method.
    If I change the line:
    "EnumSet set = EnumSet.of(Buttons.ONE);"
    To:
    "EnumSet set = EnumSet.allOf(c);"
    It works fine. For some reason the "of" method of "EnumSet" crashes the compiler.
    Any ideas?
    ========================================
    package mypackage;
    import java.util.EnumSet;
    public class EnumDemo
    enum Buttons { ONE, TWO, THREE }
    public EnumDemo()
    public void dump()
              Class c = Buttons.class;
              EnumSet set = EnumSet.of(Buttons.ONE);
              System.out.println(set.toString());
    public static void main(String[] args)
    EnumDemo cls = new EnumDemo();
    cls.dump();
    ==============================

    package com.esp.main;
    import java.awt.Dimension;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import javax.swing.JTree;
    import javax.swing.event.TreeModelEvent;
    import javax.swing.event.TreeModelListener;
    import javax.swing.event.TreeSelectionEvent;
    import javax.swing.event.TreeSelectionListener;
    import javax.swing.tree.DefaultTreeModel;
    import javax.swing.tree.TreePath;
    public class TreeNavigator extends JTree {
    private FormMain fm;
    public TreeNavigatorNode selectedTreeNode;
    public TreePath selectedTreePath;
    public JTree thisTree;
    public TreeNavigator(FormMain pFM) {
    fm = pFM;
    thisTree = this;
    addTreeSelectionListener(new TreeSelectionListener() {
    public void valueChanged(TreeSelectionEvent e) {
    selectedTreeNode = (TreeNavigatorNode)thisTree.getLastSelectedPathComponent();
    if (selectedTreeNode == null) {
    return;
    selectedTreePath = e.getPath();
    addMouseListener(new MouseAdapter() {
    public void mouseReleased(MouseEvent e) {
    if (e.getClickCount() == 1) {
    doPopup(e.getX(), e.getY());
    String nodeInternalFrameClassName = selectedTreeNode.getInternalFrameClassName();
    String nodeNodeTypeDesc = selectedTreeNode.getNodeTypeDesc();
    if ((selectedTreeNode != null) && (nodeNodeTypeDesc.equals("FORM") || nodeNodeTypeDesc.equals("GRAPH"))) {
    fm.showInternalFrame(nodeInternalFrameClassName, fm, null);
    } else if (e.getClickCount() == 1) {
    TreePath path = thisTree.getClosestPathForLocation(e.getX(), e.getY());
    thisTree.setSelectionPath(path);
    public void doPopup(int x, int y) {
    if ((selectedTreeNode != null) && selectedTreeNode.nodeTypeDesc.equals("MODULE")) {
    fm.cm.sendString("Do Nothing");
    } else {
    fm.cm.sendString("Launch form");
    setEditable(false);
    setMaximumSize(new java.awt.Dimension(3200, 3200));
    setPreferredSize(new java.awt.Dimension(800, 100));
    setShowsRootHandles(false);
    setLargeModel(false);
    setRootVisible(false);
    setDragEnabled(false);
    DefaultTreeModel treeNavigatorModel = new DefaultTreeModel(fm.treeNavigatorNodeArray[fm.rootNode], true);
    treeModel.addTreeModelListener(new NavigatorTreeModelListener());
    setModel(treeNavigatorModel);
    expandAll(this);
    try {
    jbInit();
    } catch (Exception e) {
    e.printStackTrace();
    public void expandAll(JTree tree) {
    int row = 0;
    while (row < tree.getRowCount()) {
    tree.expandRow(row);
    row++;
    private void jbInit() throws Exception {
    this.setSize(new Dimension(286, 383));
    TreeNavigatorCellRenderer renderer = new TreeNavigatorCellRenderer(fm);
    this.setCellRenderer(renderer);
    class NavigatorTreeModelListener implements TreeModelListener {
    public void treeNodesChanged(TreeModelEvent e) {
    TreeNavigatorNode node;
    node = (TreeNavigatorNode)(e.getTreePath().getLastPathComponent());
    * If the event lists children, then the changed
    * node is the child of the node we've already
    * gotten. Otherwise, the changed node and the
    * specified node are the same.
    try {
    int index = e.getChildIndices()[0];
    node = (TreeNavigatorNode)(node.getChildAt(index));
    } catch (NullPointerException exc) {
    public void treeNodesInserted(TreeModelEvent e) {
    public void treeNodesRemoved(TreeModelEvent e) {
    public void treeStructureChanged(TreeModelEvent e) {
    }

Maybe you are looking for

  • Error while executing application in the PDA

    HI All, I am working on SAP MI 7.0. we had few enhacnement on MAM application. We have deployed and tested the application [with enhacnements] in desktop - MI client. But when we try to deploy the same in PDA, we are facing the below issues: 1) When

  • What is the best way to manage a large picture with  many tiny objects?

    The picture in question is a mosaic made up of thousands of tiny shapes in Illustrator. It is about 28 in x 48 in but there is white space around the image. I am less than a quarter way through, and I am noticing that Ai is starting to be slow when r

  • J2iun Error

    Hi, When i will post the entry in J2IUN ( Monthly Utlization) one error will come ( Error in FI posting).Fi posting error due to fiscal period error 1 Message no. 8I216 Diagnosis Attempt to post the document in a period outside the current Fiscal per

  • I want to reinstall version 3.6 but I can't find it on the website

    I installed version 4.0 and I don't like it and it's not working for me. I want to here sintall version 3.6 but when I search mozilla.com cannot find it anywhere on the site. On your previous post you said go to www.mozilla.com to download it but eve

  • Update existing marketing documents with price changes

    I am looking for a way to auto update sales order prices when the item price list changes. is this possible? I havent been able to find a way to change the price on an existing marketing document automatically.