J developer class compile error in Jdev 11.1.1.1

We developed a fusion web projects.
Sometimes some classes in classpath of projects not included inside of EAR file when we create a deployment profile .
Then we need to make all, built all.
Class is added EAR file.
it seem like a bug. We weren't face this issue in previous versdion of Jdev 11.1.1.0.1

Yes. We see.
But we can't describe when the the problem occurs exactly.
The problem occurs rondomly.
We deploy the projects. class is missing error occcurs. Then We redoploy problem dissapper.
I thing problem about to compile dependecy projects.
Because this class belong to dependent projects. (sometimes even standart model projects files missing.)

Similar Messages

  • Problem When Import Java Class -compilation error

    Hi all
    I made a java class that has methods to return Screen width and Height .
    package tarek;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    public class Screen
    Dimension dim ;
    public Screen()
    dim = Toolkit.getDefaultToolkit().getScreenSize();
    public double getWidth()
    double w = dim.getWidth();
    return w;
    public double getHeight()
    double h=dim.getHeight();
    return h;
    I made the jar file " screen.jar" and make it ready to use in form builder
    I opened form builder and make import java class (From program>import java class>choose the class anc click import)
    The class now imported successfully and the PL/SQL package body is:
    PACKAGE Screen /* tarek.Screen */ IS
    -- DO NOT EDIT THIS FILE - it is machine generated!
    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT;
    -- Method: getHeight ()D
    FUNCTION getHeight(
    obj ORA_JAVA.JOBJECT) RETURN NUMBER;
    -- Method: getWidth ()D
    FUNCTION getWidth(
    obj ORA_JAVA.JOBJECT) RETURN NUMBER;
    END;
    Now I made a button on the form and i WRITE THIS CODE TO INVOKE THE CLASS on when_button_pressed
    DECLARE
         vScreen_Class ORA_JAVA.JOBJECT;     
    BEGIN
         vScreen_Class := SCREEN.NEW;
    END;
    My problem is I have compilation error
    error 306 AT LINE 5 , COLUMN 25
    wrong number or types of argument in call to "NEW"
    I do not know what is the reason of this compilation error?
    Is it because the method in java return "double datatype" while in oracle return "number datatype"
    Please help
    Edited by: [email protected] on Dec 28, 2009 10:24 AM

    Sarah, I ca not move my thread to JDeveloper because it is not java issue. The problem is with my PL/SQL code and the way I make Import Java class to forms Builder. The Java code is OK.
    Andreas Thank you so much for replying. In fact I made a full compile "Ctrl+Alt+K". but still error
    The following is the package Body
    PACKAGE BODY Screen IS
    -- DO NOT EDIT THIS FILE - it is machine generated!
    args JNI.ARGLIST;
    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    args := NULL;
    RETURN (JNI.NEW_OBJECT('tarek/Screen', '()V', args));
    END;
    -- Method: getHeight ()D
    FUNCTION getHeight(
    obj ORA_JAVA.JOBJECT) RETURN NUMBER IS
    BEGIN
    args := NULL;
    RETURN JNI.CALL_DOUBLE_METHOD(FALSE, obj, 'tarek/Screen', 'getHeight', '()D', args);
    END;
    -- Method: getWidth ()D
    FUNCTION getWidth(
    obj ORA_JAVA.JOBJECT) RETURN NUMBER IS
    BEGIN
    args := NULL;
    RETURN JNI.CALL_DOUBLE_METHOD(FALSE, obj, 'tarek/Screen', 'getWidth', '()D', args);
    END;
    BEGIN
    NULL;
    END;
    ---------------------------------------------------------------------------------

  • Class compilation error

    hi,
    iam having class like this..
    in that i have a piece of code..
    DocumentBuilderFactory factory = null;
    factory. = DocumentBuilderFactory.newInstance();
    iam getting compilation error.
    that identifieer expected..
    iam importing import javax.xml.parsers.DocumentBuilderFactory; package..where its going wrong..
    regards,

    there is a point after factory
    //  factory. = DocumentBuilderFactory.newInstance(); <- you code
    factory = DocumentBuilderFactory.newInstance();

  • Class Compilation Error in Upgrade

    Hello,
    I have upgraded classes written in 4.6c to ECC 6.0 and receive a compilation error saying:
    'INCLUDE report "Z_CLASS_ NAME========CL" not found'
    Here the name of the public class is "Z_CLASS_NAME".
    Any clues as to how to resolve this error?
    Thanks and regards, Pankaj

    Hello Pankaj
    The report "Z_CLASS_ NAME========CL" is the INCLUDE name of your class. The compilation error may be due to a missing entry in table TMDIR holding all the include names of classes. Also, keep in mind that SAP has changed the organisation of class includes in newer release. For example, on 4.6c you need to write makros within the methods where they were used. On ERP 6.0 we have a separate section for coding makros.
    Can you change you class in SE24? If so then I would recommend to make a few trivial changes (description, adding empty lines in methods and private section containing data definitions) and try to regenerate the class. If this does not work you may check the menus of SE24 for repair options.
    The 2 last resorts would be:
    (1) Copy (or rename) the class -> delete the class -> copy back to Z_CLASS_NAME
    (2) Enter missing entries in TMDIR manually
    Regards
      Uwe

  • Bursting Java Concurrent Program Class Compiling Error

    Hi,
    I am trying to compile the Java Class that Tim has provided in his blog to create the Bursting JCP. I am using R12, so that would be XMLP 5.6.3. As far as I can work out the patch that has been developed for the seeded Bursting JCP is not yet available for R12, so I am trying to create one myself from Tim's examples.
    I do not pretend to be a Java expert, or even pretend to have more than and very very very basic knowledge of it, so I am hoping someone will be able to tell me why I am getting the following error when I try to compile it:
    $ javac XMLPReportBurst.java
    XMLPReportBurst.java:220: cannot find symbol
    symbol : constructor OADocumentProcessor(java.io.InputStream,java.io.InputStream,java.lang.String)
    location: class oracle.apps.xdo.oa.util.OADocumentProcessor
    OADocumentProcessor dp = new OADocumentProcessor(ctlFile,fis,"/home/applmgr/tmp");
    ^
    1 error
    The Java Class that I am using can be seen below, and the error seems to be occurring at line 220:
    package oracle.apps.xdo.oa.cp;
    import java.sql.SQLException;
    import java.sql.Connection;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import oracle.jdbc.driver.OracleResultSet;
    import oracle.jdbc.driver.OraclePreparedStatement;
    import oracle.jdbc.driver.OracleCallableStatement;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.util.NameValueType;
    import oracle.apps.fnd.util.ParameterList;
    import oracle.apps.fnd.cp.request.CpContext;
    import oracle.apps.fnd.cp.request.ReqCompletion;
    import oracle.apps.fnd.cp.request.LogFile;
    import oracle.apps.fnd.cp.request.JavaConcurrentProgram;
    import oracle.apps.fnd.cp.request.RemoteFile;
    import oracle.apps.xdo.XDOException;
    import oracle.apps.xdo.oa.util.OADocumentProcessor;
    import oracle.apps.xdo.batch.BurstingListener;
    import java.util.Properties;
    import java.util.Vector;
    public class XMLPReportBurst implements JavaConcurrentProgram, BurstingListener
    public static final String RCS_ID=
    "$Header: JCP4XMLPublisher.java 115.34 2006/01/09 16:54:58 bgkim noship $";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "oracle.apps.xdo.oa.cp");
    // Global Reference to pCpContext
    private CpContext ccntxt;
    private LogFile lfile;
    private boolean debug = false;
    private Connection mJConn;
    public void runProgram(CpContext pCpContext)
    lfile = pCpContext.getLogFile();
    lfile.writeln("XML Report Publisher 5.0",0);
    ccntxt = pCpContext;
    // get the JDBC connection object
    mJConn = pCpContext.getJDBCConnection();
    // get parameter list object from CpContext
    ParameterList lPara = pCpContext.getParameterList();
    // get ReqCompletion object from CpContext
    ReqCompletion lRC = pCpContext.getReqCompletion();
    String Params = null;
    int lrequestId = 0;
    String ltemplatecode = null;
    String lApplShortName = null;
    String lLocale = null;
    String lDebug = "N";
    String lOutFormat = null;
    String tmplLang = null;
    String tmplTerr = null;
    int reqid = pCpContext.getReqDetails().getRequestId();
    // Parse Parameters
    while (lPara.hasMoreElements())
    NameValueType aNVT = lPara.nextParameter();
    Params += aNVT.getName() + ":" + aNVT.getValue();
    if ( aNVT.getName().equals("ReportRequestID") )
    lrequestId = Integer.parseInt(aNVT.getValue());
    else if ( aNVT.getName().equals("DebugFlag") )
    lDebug = aNVT.getValue();
    debug = (lDebug.equals("Y")) ? true : false;
    if (debug)
    lfile.writeln("Request ID: "+reqid ,1);
    lfile.writeln("All Parameters: " + lPara.getString(),1);
    lfile.writeln("Report Req ID: "+ lrequestId,1);
    lfile.writeln("Debug Flag: " + lDebug,1);
    try
    lfile.writeln("Updating request description",0);
    String lSqls = "update FND_CONCURRENT_REQUESTS " +
    "set DESCRIPTION='Bursting ' || " +
    " ( select USER_CONCURRENT_PROGRAM_NAME " +
    " from FND_CONC_REQ_SUMMARY_V " +
    " where request_id= :1 ) " +
    "where request_id = :2 ";
    OracleCallableStatement lStmt2 =
    (OracleCallableStatement)mJConn.prepareCall(lSqls);
    lStmt2.setInt(1,lrequestId);
    lStmt2.setInt(2,reqid);
    lStmt2.execute();
    lStmt2.close();
    mJConn.commit();
    if (debug) lfile.writeln("Updated description",0);
    /* Obtain Input xml file from RemoteFile object by lrequestId */
    lfile.writeln("Retrieving XML request information",0);
    lSqls = "select OUTFILE_NODE_NAME, OUTFILE_NAME from " +
    "FND_CONCURRENT_REQUESTS " +
    "where request_id= :1";
    OraclePreparedStatement lStmt1 =
    (OraclePreparedStatement)mJConn.prepareStatement(lSqls);
    lStmt1.setInt(1,lrequestId);
    OracleResultSet lRslt = (OracleResultSet)lStmt1.executeQuery();
    lRslt.next();
    String cNode=lRslt.getString(1);
    String outf=lRslt.getString(2);
    lRslt.close();
    lStmt1.close();
    if (debug) lfile.writeln("Node Name:" + cNode,1);
    lfile.writeln("Preparing parameters",0);
    // PDF output file (Outfile of this request)
    String outputfilename = pCpContext.getOutFile().getFileName();
    if (debug) lfile.writeln(lOutFormat+" output =" + outputfilename, 1);
    OutputStream fout = new FileOutputStream(outputfilename);
    RemoteFile rf = new RemoteFile (pCpContext, cNode, outf, "TEXT");
    String inputfilename = rf.getFile().getAbsolutePath();
    if (debug) lfile.writeln("inputfilename =" + inputfilename, 1);
    if ( inputfilename == null || inputfilename.equals("") )
    lRC.setCompletion(ReqCompletion.ERROR,
    "Error has occured. Please check the log file");
    // Input stream from XML data file ( Outfile of XML generating request)
    InputStream fis = new FileInputStream(inputfilename);
    InputStream ctlFile = new FileInputStream("\\home\\applmgr\\InvoiceBatchBurst.xml");
    lfile.writeln("Starting burst ...",1);
    OADocumentProcessor dp = new OADocumentProcessor(ctlFile,fis,"/home/applmgr/tmp");
    lfile.writeln("Bursting initiated ... ",1);
    dp.registerListener(this);
    lfile.writeln("Listener created ...",1);
    Properties prop= new Properties();
    lfile.writeln("Properties set ...",1);
    prop.put("user-variable:EMAILP","[email protected]");
    dp.setConfig(prop);
    lfile.writeln("Config set ...",1);
    dp.process();
    lfile.writeln("Bursting complete",1);
    fis.close();
    fout.close();
    lRC.setCompletion(ReqCompletion.NORMAL, "Request Completed Normal");
    catch (SQLException e)
    lfile.writeln("--SQLException",1);
    //lfile.writeln(e.getMessage(),1);
    lfile.writeln(getErrorStack(e),1);
    lRC.setCompletion(ReqCompletion.ERROR, e.getMessage());
    catch (XDOException e)
    lfile.writeln("--XDOException",1);
    //lfile.writeln(e.getMessage(),1);
    //lfile.writeln(sw.toString(),1);
    lfile.writeln(getErrorStack(e),1);
    lRC.setCompletion(ReqCompletion.ERROR, e.getMessage());
    catch (Exception e)
    lfile.writeln("--Exception",1);
    lfile.writeln(e.getMessage(),1);
    lfile.writeln(getErrorStack(e),1);
    lRC.setCompletion(ReqCompletion.ERROR, e.getMessage());
    finally
    pCpContext.releaseJDBCConnection();
    private String getErrorStack(Exception exc) {
    StringWriter sw = new StringWriter();
    PrintWriter pw = new PrintWriter(sw);
    try
    exc.printStackTrace(pw);
    pw.flush();
    pw.close();
    sw.close();
    return sw.toString();
    catch (Exception e)
    return null;
    public void beforeProcess(){
    if (debug) lfile.writeln("==============Start of Bursting Process=================",0);
    public void afterProcess()
    if (debug) lfile.writeln("==============End of Bursting Process=================",0);
    public void beforeProcessRequest(int requestIndex)
    if (debug)
    lfile.writeln(" ========Start of Process Request",0);
    lfile.writeln(" Request Index +requestIndex",0);
    public void afterProcessRequest(int requestIndex)
    if (debug) lfile.writeln(" ========End of Process Request",0);
    public void beforeProcessDocument(int requestIndex,int documentIndex)
    if (debug){
    lfile.writeln(" ========Start of Process Document",0);
    lfile.writeln(" Request Index "+requestIndex,0);
    lfile.writeln(" Document Index " +documentIndex,0);
    public void afterProcessDocument(int requestIndex,int documentIndex,Vector documentOutputs)
    if (debug){
    lfile.writeln(" ========End of Process Document",0);
    lfile.writeln(" Outputs :"+documentOutputs,0);
    public void beforeDocumentDelivery(int requestIndex,int documentIndex,String deliveryId)
    if (debug){
    lfile.writeln(" ========Start of Delivery",0);
    lfile.writeln(" Request Index "+requestIndex,0);
    lfile.writeln(" Document Index " +documentIndex,0);
    lfile.writeln(" DeliveryId " +deliveryId,0);
    public void afterDocumentDelivery(int requestIndex,int documentIndex,String deliveryId,Object deliveryObject,Vector attachments)
    if (debug){
    lfile.writeln(" ========End of Delivery",0);
    lfile.writeln(" Attachments : "+attachments,0);
    I hope you can help me as this is an on going issue for me that I need to try and get resolved.
    I look forward to hearing any suggestions.
    Regards,
    Cj

    Hi,
    Yes you have one more field in the Data Definition tab that reads Bursting Control File just after the 3 you mentioned .You can upload the control file here.
    However both this functionality and the Bursting Concurrent Program will be available once you have applied the patch for 5.6.3..
    I've been looking too for anyone who has a writeup on the the way this Program can be used.As of now I am just following the Read Me available with this Patch.
    It has some samples...
    Let me know if this helps.
    Regards,
    Lavina

  • Compile error with Jdev 10g Preview

    I am trying out Jdev 10g with JHeadstart. I followed the instruction on the Oracle JHeadstart 10g and Oracle JDeveloper 10g preview document, and then used the isnstructions on the NewJhsProjectInstructions.html document.
    The first time I tried to compile the project, I got a whole list of errors which looked like;
    /usr/oracle/jhs904/jheadstart/src/jhsruntime_source.zip!/oracle/jheadstart/model/bc4j/JhsApplicationModuleImpl.java
    Error(143,31): cannot access class oracle.cle.persistence.HandlerNotFoundException; file oracle/cle/persistence/HandlerNotFoundException.class not
    This was due to Jdeveloper trying to compile jhsruntime_source.zip. I removed this from the java source path and added jhsruntime.jar.
    I am now getting thisError(22,53): cannot access class oracle.jheadstart.model.bc4j.handler.DataObjectHandlerImpl; file oracle/jheadstart/model/bc4j/handler/DataObjectHandlerImpl.class not found error;
    I have checked, and cinfirmed that the class file oracle/jheadstart/model/bc4j/handler/DataObjectHandlerImpl.class is in jhsruntime.jar.
    The Java Source path in Jdeveloper is ;
    /home/chandana/jdevhome/mywork/JHS/src;/usr/oracle/jhs904/jheadstart/lib/jhsruntime.jar.
    Can some one tell me what is wrong ?

    Hi Chandana,
    You should not put jhsruntime.jar in the Java Source Path. It should be in the Additional Classpath.
    The Java Source Path (Project Settings - Common - Input Paths) should only contain /home/chandana/jdevhome/mywork/JHS/src .
    If you created the library JhsLibs the way it was described in the JDev 10g document, your project should now compile correctly. The JhsLibs library ensures that your project can compile against jhsruntime.jar (amongst others).
    Hope this helps,
    Sandra Muller
    JHeadstart Team

  • MyInteger class- compile error - method doesnt implement comparable method

    I am trying to test how the code for a hash table works- I have 4 classes
    Hashable interface
    QuadraticProbableHashTable
    HashEntry
    MyInteger
    Everything is compiling but one error comes up saying that "Class must implement the inherited abstract method Comparable.compareTo(object)."
    I have a comparable method with the same signature as that in Comparable interface; in MyInteger.java where the problem is. However I still have the same problem.
         * Wrapper class for use with generic data structures.
         * Mimics Integer.
        public final class MyInteger implements Comparable, Hashable
             * Construct the MyInteger object with initial value 0.
            public MyInteger( )
                this( 0 );
             * Construct the MyInteger object.
             * @param x the initial value.
            public MyInteger( int x )
                value = x;
             * Gets the stored int value.
             * @return the stored value.
            public int intValue( )
                return value;
             * Implements the toString method.
             * @return the String representation.
            public String toString( )
                return Integer.toString( value );
             * Implements the compareTo method.
             * @param rhs the other MyInteger object.
             * @return 0 if two objects are equal;
             *     less than zero if this object is smaller;
             *     greater than zero if this object is larger.
             * @exception ClassCastException if rhs is not
             *     a MyInteger.
            public int compareTo( Comparable rhs )
                return value < ((MyInteger)rhs).value ? -1 :
                       value == ((MyInteger)rhs).value ? 0 : 1;
             * Implements the equals method.
             * @param rhs the second MyInteger.
             * @return true if the objects are equal, false otherwise.
             * @exception ClassCastException if rhs is not
             *     a MyInteger.
            public boolean equals( Object rhs )
                return rhs != null && value == ((MyInteger)rhs).value;
             * Implements the hash method.
             * @param tableSize the hash table size.
             * @return a number between 0 and tableSize-1.
            public int hash( int tableSize )
                if( value < 0 )
                    return -value % tableSize;
                else
                    return value % tableSize;
            private int value;
        }

    >
    You might want to also allow for cases where the
    value passed in is null, or the argument to the
    method is NOT a MyInteger object :-)
    Just a small note - the javadocs for Comparable#compareTo says the following:
    Throws:
    ClassCastException - if the specified object's type prevents it from being compared to this Object.
    So it's perfectly OK to blindly try to cast to the desired type in the sense that you are not violating the Comparable contract if the cast fails.

  • SQL Developer Tool Throws error on "/"

    I am executing a script which is creating a view using sql developer. The script at the end has a "/" but before the / there is a blank line on top. and another view does not have a blank line but has a few spaces before "/" both the cases the sql developer throws compilation error.
    there are other parts of the code which does have lot of balnk lines above eg in procedure & trgger (not views) and they compile perfect.
    When i run the same script in sql plus or command line sql plus both have no issues. Its only the tool which is behaving like this.
    Is this a known issue?

    Example 1:
    CREATE OR REPLACE VIEW x AS
    SELECT abc from A where (abc=3) AND (xyz,6)
    plz note two blank likes above /
    Example 2:
    CREATE OR REPLACE VIEW x AS
    SELECT abc from A where (abc=3) AND (xyz,6)
    plz note few spaces before the /
    error says command not ended properly.
    this works in sql plus

  • Jdeveloper toolbox -  links fail with "Errors compiling:C:\jdevhome\jdev\myclasses\.jsps\\_OA.java"

    Hi,
    I'm running 12.1.3 in virtualbox and the OAF toolbox tutorials work after logging onto EBS.
    After installing jdeveloper (on windows 8) and doing the documented setup, even the "Hello World" test fails when run in jdeveloper.
    I've double checked the setup and that the jdeveloper patch version is right (p9879989_R12_GENERIC)
    and have the "Default Local IP address" checkbox selected as well.
    I guess some windows install/config is incorrect,but don't know what.  Any ideas?
    Thanks.
    The exact browser error is -
    500 Internal Server Error
    JSP Error:
    Request URI:/OA_HTML/OA.jsp
    Exception:
    OracleJSP:oracle.jsp.provider.JspCompileException:
    Errors compiling:C:\jdevhome\jdev\myclasses\.jsps\\_OA.java
    and the full stack is  -
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
    C:\jdevbin\jdk\bin\javaw.exe -hotspot -classpath C:\jdevbin\j2ee\home\oc4j.jar;C:\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    26/12/2013 11:09:23 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    26/12/2013 11:09:23 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source C:\jdevbin\jdev\appslibrt\xml.jar (from <library> in /C:/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source C:\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /C:/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in C:\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source C:\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /C:/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /C:/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in C:\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /C:/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /C:/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 10061 ms.
    Target URL -- http://192.168.56.1:8988/OA_HTML/test_fwktutorial.jsp
    13/12/26 11:09:29 Oracle Containers for J2EE 10g (10.1.3.3.0)  initialized
    26/12/2013 11:09:44 oracle.jsp.logger.JspMessages infoCannotDispatchJspPage
    INFO: Unable to dispatch JSP Page : oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\jdevhome\jdev\myclasses\.jsps\\_OA.java</H3><pre></pre>
        at oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java:304)
        at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:731)
        at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:456)
        at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:413)
        at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:705)
        at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:694)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
        at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
        at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
        at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
        at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
        at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:595)

    Hi,
    i think you missed JDEV_HOME environment variable.
    below blog may help,
    Oracle Apps By Kishore: Steps to make JDeveloper Environment

  • JDev 1013 Error: Internal compilation error, terminated with a fatal except

    I've a class I compiled used in JDev 10.1.2.1.
    Now I try to compile it with JDev 10.1.3 but I get an error :
    Error: Internal compilation error, terminated with a fatal exception
    What does it means ?
    How can I solve it ?
    I tried to use both 5.0 and 1.4.2 compilers but the result is the same.
    Tks
    Tullio
    Here the class
    /* The following code was generated by JFlex 1.2.2 on 05/10/04 17.46 */
    * Copyright (C) 1998,99 Gerwin Klein <[email protected]>. *
    * All rights reserved. *
    * This program is free software; you can redistribute it and/or modify *
    * it under the terms of the GNU General Public License. See the file *
    * COPYRIGHT for more information. *
    * This program is distributed in the hope that it will be useful, *
    * but WITHOUT ANY WARRANTY; without even the implied warranty of *
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
    * GNU General Public License for more details. *
    * You should have received a copy of the GNU General Public License along *
    * with this program; if not, write to the Free Software Foundation, Inc., *
    * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
    package axioma.a4j.parser;
    import java_cup.runtime.*;
    * This class is a scanner generated by
    * JFlex 1.2.2
    * on 05/10/04 17.46 from the specification file
    * <tt>file:/C:/A4j/A4j/Common/Parser/grammatiche/Scanner.flex</tt>
    public class AxScanner implements java_cup.runtime.Scanner {
    /** this character denotes the end of file */
    final public static int YYEOF = -1;
    /** lexical states */
    final public static int STRING = 1;
    final public static int YYINITIAL = 0;
    final public static int CHARLITERAL = 2;
    * Translates characters to character classes
    final private static String yycmap_packed =
    "\11\10\1\3\1\2\1\0\1\3\1\1\16\10\4\0\1\3\1\50"+
    "\1\16\1\0\1\7\1\0\1\44\1\15\1\31\1\32\1\5\1\41"+
    "\1\40\1\42\1\14\1\4\1\12\11\13\1\0\1\37\1\47\1\46"+
    "\1\45\2\0\32\11\1\35\1\17\1\36\1\0\1\11\1\0\1\25"+
    "\1\51\2\11\1\23\1\24\5\11\1\26\1\6\1\30\3\11\1\21"+
    "\1\27\1\20\1\22\5\11\1\33\1\43\1\34\1\0\41\10\2\0"+
    "\4\11\4\0\1\11\12\0\1\11\4\0\1\11\5\0\27\11\1\0"+
    "\37\11\1\0\u0128\11\2\0\22\11\34\0\136\11\2\0\11\11\2\0"+
    "\7\11\16\0\2\11\16\0\5\11\11\0\1\11\21\0\117\10\21\0"+
    "\3\10\27\0\1\11\13\0\1\11\1\0\3\11\1\0\1\11\1\0"+
    "\24\11\1\0\54\11\1\0\10\11\2\0\32\11\14\0\202\11\1\0"+
    "\4\10\5\0\71\11\2\0\2\11\2\0\2\11\3\0\46\11\2\0"+
    "\2\11\67\0\46\11\2\0\1\11\7\0\47\11\11\0\21\10\1\0"+
    "\27\10\1\0\3\10\1\0\1\10\1\0\2\10\1\0\1\10\13\0"+
    "\33\11\5\0\3\11\56\0\32\11\5\0\13\11\13\10\12\0\12\10"+
    "\6\0\1\10\143\11\1\0\1\11\7\10\2\0\6\10\2\11\2\10"+
    "\1\0\4\10\2\0\12\10\3\11\22\0\1\10\1\11\1\10\33\11"+
    "\3\0\33\10\65\0\46\11\13\10\u0150\0\3\10\1\0\65\11\2\0"+
    "\1\10\1\11\20\10\2\0\1\11\4\10\3\0\12\11\2\10\2\0"+
    "\12\10\21\0\3\10\1\0\10\11\2\0\2\11\2\0\26\11\1\0"+
    "\7\11\1\0\1\11\3\0\4\11\2\0\1\10\1\0\7\10\2\0"+
    "\2\10\2\0\3\10\11\0\1\10\4\0\2\11\1\0\3\11\2\10"+
    "\2\0\12\10\4\11\16\0\1\10\2\0\6\11\4\0\2\11\2\0"+
    "\26\11\1\0\7\11\1\0\2\11\1\0\2\11\1\0\2\11\2\0"+
    "\1\10\1\0\5\10\4\0\2\10\2\0\3\10\13\0\4\11\1\0"+
    "\1\11\7\0\14\10\3\11\14\0\3\10\1\0\7\11\1\0\1\11"+
    "\1\0\3\11\1\0\26\11\1\0\7\11\1\0\2\11\1\0\5\11"+
    "\2\0\1\10\1\11\10\10\1\0\3\10\1\0\3\10\2\0\1\11"+
    "\17\0\1\11\5\0\12\10\21\0\3\10\1\0\10\11\2\0\2\11"+
    "\2\0\26\11\1\0\7\11\1\0\2\11\2\0\4\11\2\0\1\10"+
    "\1\11\6\10\3\0\2\10\2\0\3\10\10\0\2\10\4\0\2\11"+
    "\1\0\3\11\4\0\12\10\22\0\2\10\1\0\6\11\3\0\3\11"+
    "\1\0\4\11\3\0\2\11\1\0\1\11\1\0\2\11\3\0\2\11"+
    "\3\0\3\11\3\0\10\11\1\0\3\11\4\0\5\10\3\0\3\10"+
    "\1\0\4\10\11\0\1\10\17\0\11\10\21\0\3\10\1\0\10\11"+
    "\1\0\3\11\1\0\27\11\1\0\12\11\1\0\5\11\4\0\7\10"+
    "\1\0\3\10\1\0\4\10\7\0\2\10\11\0\2\11\4\0\12\10"+
    "\22\0\2\10\1\0\10\11\1\0\3\11\1\0\27\11\1\0\12\11"+
    "\1\0\5\11\4\0\7\10\1\0\3\10\1\0\4\10\7\0\2\10"+
    "\7\0\1\11\1\0\2\11\4\0\12\10\22\0\2\10\1\0\10\11"+
    "\1\0\3\11\1\0\27\11\1\0\20\11\4\0\6\10\2\0\3\10"+
    "\1\0\4\10\11\0\1\10\10\0\2\11\4\0\12\10\22\0\2\10"+
    "\1\0\22\11\3\0\30\11\1\0\11\11\1\0\1\11\2\0\7\11"+
    "\3\0\1\10\4\0\6\10\1\0\1\10\1\0\10\10\22\0\2\10"+
    "\15\0\60\11\1\10\2\11\7\10\4\0\10\11\10\10\1\0\12\10"+
    "\47\0\2\11\1\0\1\11\2\0\2\11\1\0\1\11\2\0\1\11"+
    "\6\0\4\11\1\0\7\11\1\0\3\11\1\0\1\11\1\0\1\11"+
    "\2\0\2\11\1\0\4\11\1\10\2\11\6\10\1\0\2\10\1\11"+
    "\2\0\5\11\1\0\1\11\1\0\6\10\2\0\12\10\2\0\2\11"+
    "\42\0\1\11\27\0\2\10\6\0\12\10\13\0\1\10\1\0\1\10"+
    "\1\0\1\10\4\0\2\10\10\11\1\0\42\11\6\0\24\10\1\0"+
    "\2\10\4\11\4\0\10\10\1\0\44\10\11\0\1\10\71\0\42\11"+
    "\1\0\5\11\1\0\2\11\1\0\7\10\3\0\4\10\6\0\12\10"+
    "\6\0\6\11\4\10\106\0\46\11\12\0\47\11\11\0\132\11\5\0"+
    "\104\11\5\0\122\11\6\0\7\11\1\0\77\11\1\0\1\11\1\0"+
    "\4\11\2\0\7\11\1\0\1\11\1\0\4\11\2\0\47\11\1\0"+
    "\1\11\1\0\4\11\2\0\37\11\1\0\1\11\1\0\4\11\2\0"+
    "\7\11\1\0\1\11\1\0\4\11\2\0\7\11\1\0\7\11\1\0"+
    "\27\11\1\0\37\11\1\0\1\11\1\0\4\11\2\0\7\11\1\0"+
    "\47\11\1\0\23\11\16\0\11\10\56\0\125\11\14\0\u026c\11\2\0"+
    "\10\11\12\0\32\11\5\0\113\11\225\0\64\11\40\10\7\0\1\11"+
    "\4\0\12\10\41\0\4\10\1\0\12\10\6\0\130\11\10\0\51\11"+
    "\1\10\u0556\0\234\11\4\0\132\11\6\0\26\11\2\0\6\11\2\0"+
    "\46\11\2\0\6\11\2\0\10\11\1\0\1\11\1\0\1\11\1\0"+
    "\1\11\1\0\37\11\2\0\65\11\1\0\7\11\1\0\1\11\3\0"+
    "\3\11\1\0\7\11\3\0\4\11\2\0\6\11\4\0\15\11\5\0"+
    "\3\11\1\0\7\11\17\0\4\10\32\0\5\10\20\0\2\11\51\0"+
    "\6\10\17\0\1\11\40\0\20\11\40\0\15\10\4\0\1\10\40\0"+
    "\1\11\4\0\1\11\2\0\12\11\1\0\1\11\3\0\5\11\6\0"+
    "\1\11\1\0\1\11\1\0\1\11\1\0\4\11\1\0\3\11\1\0"+
    "\7\11\46\0\44\11\u0e81\0\3\11\31\0\11\11\6\10\1\0\5\11"+
    "\2\0\3\11\6\0\124\11\4\0\2\10\2\0\2\11\2\0\136\11"+
    "\6\0\50\11\4\0\136\11\21\0\30\11\u0248\0\u19b6\11\112\0\u51a6\11"+
    "\132\0\u048d\11\u0773\0\u2ba4\11\u215c\0\u012e\11\322\0\7\11\14\0\5\11"+
    "\5\0\1\11\1\10\12\11\1\0\15\11\1\0\5\11\1\0\1\11"+
    "\1\0\2\11\1\0\2\11\1\0\154\11\41\0\u016b\11\22\0\100\11"+
    "\2\0\66\11\50\0\14\11\44\0\4\10\17\0\2\11\30\0\3\11"+
    "\31\0\1\11\6\0\3\11\1\0\1\11\1\0\207\11\2\0\1\10"+
    "\4\0\1\11\13\0\12\10\7\0\32\11\4\0\1\11\1\0\32\11"+
    "\12\0\132\11\3\0\6\11\2\0\6\11\2\0\6\11\2\0\3\11"+
    "\3\0\2\11\3\0\2\11\22\0\3\10\4\0";
    * Translates characters to character classes
    final private static char [] yycmap = yy_unpack_cmap(yycmap_packed);
    * Translates a state to a row index in the transition table
    final private static int yy_rowMap [] = {
    0, 42, 84, 126, 168, 126, 210, 126, 252, 294,
    336, 378, 126, 126, 420, 462, 504, 126, 126, 126,
    126, 126, 126, 126, 126, 126, 126, 546, 126, 588,
    126, 630, 672, 714, 756, 126, 126, 798, 840, 882,
    126, 924, 966, 1008, 1050, 336, 1092, 1134, 1176, 1218,
    126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
    126, 126, 126, 126, 1260, 1302, 1344, 1386, 1428, 1470,
    1512, 1554, 126, 1596, 1638, 1680, 1722, 126, 126, 126,
    126, 126, 126, 126, 1764, 294, 1806, 294, 294
    * The packed transition table of the DFA
    final private static String yy_packed =
    "\1\4\1\5\2\6\1\7\1\10\1\11\1\12\1\4"+
    "\1\12\1\13\1\14\1\4\1\15\1\16\1\4\1\17"+
    "\3\12\1\20\3\12\1\21\1\22\1\23\1\24\1\25"+
    "\1\26\1\27\1\30\1\31\1\32\1\33\1\34\1\35"+
    "\1\36\1\37\1\40\1\41\1\12\1\42\1\43\1\44"+
    "\12\42\1\45\1\42\1\46\32\42\1\47\1\50\1\51"+
    "\13\47\1\4\1\52\32\47\54\0\1\6\53\0\1\53"+
    "\1\54\52\0\1\12\1\55\4\12\4\0\11\12\20\0"+
    "\1\12\6\0\6\12\4\0\11\12\20\0\1\12\12\0"+
    "\2\56\1\57\47\0\2\14\1\57\43\0\6\12\4\0"+
    "\1\12\1\60\7\12\20\0\1\12\6\0\6\12\4\0"+
    "\5\12\1\61\3\12\20\0\1\12\6\0\6\12\4\0"+
    "\2\12\1\62\6\12\20\0\1\12\43\0\1\63\54\0"+
    "\1\64\51\0\1\65\51\0\1\66\3\0\1\42\2\0"+
    "\12\42\1\0\1\42\1\0\32\42\2\0\1\44\47\0"+
    "\2\67\1\0\12\67\1\70\1\71\1\72\1\73\1\74"+
    "\2\67\1\75\3\67\1\76\20\67\1\77\15\0\1\100"+
    "\36\0\1\51\47\0\2\67\1\0\12\67\1\101\1\102"+
    "\1\103\1\104\1\105\2\67\1\106\3\67\1\104\20\67"+
    "\1\107\1\53\1\110\1\111\47\53\52\112\6\0\6\55"+
    "\4\0\11\55\20\0\1\55\12\0\2\57\44\0\6\12"+
    "\4\0\2\12\1\113\6\12\20\0\1\12\6\0\6\12"+
    "\4\0\6\12\1\114\2\12\20\0\1\12\6\0\6\12"+
    "\4\0\6\12\1\115\2\12\20\0\1\12\15\0\1\116"+
    "\51\0\1\117\51\0\1\120\51\0\1\121\51\0\1\122"+
    "\51\0\1\123\51\0\1\124\36\0\1\111\47\0\5\112"+
    "\1\125\44\112\6\0\6\12\4\0\3\12\1\126\5\12"+
    "\20\0\1\12\6\0\6\12\4\0\7\12\1\127\1\12"+
    "\20\0\1\12\6\0\6\12\4\0\6\12\1\130\2\12"+
    "\20\0\1\12\4\112\1\111\1\125\44\112\6\0\6\12"+
    "\4\0\3\12\1\131\5\12\20\0\1\12";
    * The transition table of the DFA
    final private static int yytrans [] = yy_unpack(yy_packed);
    /* error codes */
    final private static int YY_UNKNOWN_ERROR = 0;
    final private static int YY_ILLEGAL_STATE = 1;
    final private static int YY_NO_MATCH = 2;
    final private static int YY_PUSHBACK_2BIG = 3;
    /* error messages for the codes above */
    final private static String YY_ERROR_MSG[] = {
    "Unkown internal scanner error",
    "Internal error: unknown state",
    "Error: could not match input",
    "Error: pushback value was too large"
    * YY_ATTRIBUTE[aState] contains the attributes of state <code>aState</code>
    private final static byte YY_ATTRIBUTE[] = {
    0, 0, 0, 9, 1, 9, 1, 9, 1, 1, 1, 1, 9, 9, 1, 1,
    1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 9, 1, 9, 1,
    1, 1, 1, 9, 9, 1, 1, 1, 9, 1, 0, 0, 1, 0, 1, 1,
    1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
    1, 1, 1, 1, 1, 1, 1, 1, 9, 0, 1, 1, 1, 9, 9, 9,
    9, 9, 9, 9, 0, 1, 1, 1, 1
    /** the input device */
    private java.io.Reader yy_reader;
    /** the current state of the DFA */
    private int yy_state;
    /** the current lexical state */
    private int yy_lexical_state = YYINITIAL;
    /** this buffer contains the current text to be matched and is
    the source of the yytext() string */
    private char yy_buffer[] = new char[16384];
    /** the textposition at the last accepting state */
    private int yy_markedPos;
    /** the textposition at the last state to be included in yytext */
    private int yy_pushbackPos;
    /** the current text position in the buffer */
    private int yy_currentPos;
    /** startRead marks the beginning of the yytext() string in the buffer */
    private int yy_startRead;
    /** endRead marks the last character in the buffer, that has been read
    from input */
    private int yy_endRead;
    /** number of newlines encountered up to the start of the matched text */
    private int yyline;
    /** the number of characters up to the start of the matched text */
    private int yychar;
    * the number of characters from the last newline up to the start of the
    * matched text
    private int yycolumn;
    * yy_atBOL == true <=> the scanner is currently at the beginning of a line
    private boolean yy_atBOL;
    /** yy_atEOF == true <=> the scanner has returned a value for EOF */
    private boolean yy_atEOF;
    /** denotes if the user-EOF-code has already been executed */
    private boolean yy_eof_done;
    /* user code: */
    StringBuffer string = new StringBuffer();
    private InContestoParser mContesto = null;
    private Symbol symbol(int type) {
    return new JavaSymbol(type, yyline+1, yycolumn+1);
    private Symbol symbol(int type, Object value) {
    return new JavaSymbol(type, yyline+1, yycolumn+1, value);
    private Symbol axSymbol(Object value) {
    int tipo = 0;
    CercaValore cercaVal = new CercaValoreComm(value.toString(),mContesto);
    Ritorno rito = cercaVal.cercaValore();
    int tipoSym = rito.getTipo();
    if (tipoSym == Domini.tipoDatoNumerico) {
         tipo = AxSym.VAR_N;
    else if (tipoSym == Domini.tipoDatoAlfanumerico) {
    tipo = AxSym.VAR_A;
    else if (tipoSym == Domini.tipoDatoBooleano) {
         tipo = AxSym.VAR_B;
    JavaSymbol myJ = new JavaSymbol(tipo, yyline+1, yycolumn+1, value);
    return myJ;
    private Symbol axMetodo(Object value) {
    int tipo = 0;
    CercaValore cercaVal = new CercaValoreComm(value.toString(),mContesto);
    Ritorno rito = cercaVal.cercaValore();
    int tipoSym = rito.getTipo();
    if (tipoSym == Domini.tipoDatoNumerico) {
         tipo = AxSym.MET_N;
    else if (tipoSym == Domini.tipoDatoAlfanumerico) {
    tipo = AxSym.MET_A;
    else if (tipoSym == Domini.tipoDatoBooleano) {
         tipo = AxSym.MET_B;
    JavaSymbol myJ = new JavaSymbol(tipo, yyline+1, yycolumn+1, value);
    return myJ;
    * Set the reader and reset variables
    public void setReader(java.io.Reader in) {
    this.yy_lexical_state = YYINITIAL;
    this.yy_atEOF = false;
    this.yy_atBOL = false;
    this.yy_eof_done = false;
    this.yy_state = 0;
    this.yy_pushbackPos = 0;
    this.yy_markedPos = 0;
    this.yy_currentPos = 0;
    this.yy_startRead = 0;
    this.yy_endRead = 0;
    this.yyline = 0;
    this.yychar = 0;
    this.yycolumn = 0;
    this.yy_reader = in;
    public void setContesto(InContestoParser xpContesto) {
    mContesto = xpContesto;
    public InContestoParser getContesto() {
    return mContesto;
    * Creates a new scanner.
    * There is also java.io.Reader version of this constructor.
    * @param in the java.io.Inputstream to read input from.
    public AxScanner() throws java.io.IOException { this(System.in); }
    * Creates a new scanner
    * There is also a java.io.InputStream version of this constructor.
    * @param in the java.io.Reader to read input from.
    AxScanner(java.io.Reader in) {
    this.yy_reader = in;
    * Creates a new scanner.
    * There is also java.io.Reader version of this constructor.
    * @param in the java.io.Inputstream to read input from.
    AxScanner(java.io.InputStream in) {
    this(new java.io.InputStreamReader(in));
    * Unpacks the compressed DFA transition table.
    * @param packed the packed transition table
    * @return the unpacked transition table
    private static int [] yy_unpack(String packed) {
    int [] trans = new int[1848];
    int i = 0; /* index in packed string */
    int j = 0; /* index in unpacked array */
    while (i < 492) {
    int count = packed.charAt(i++);
    int value = packed.charAt(i++);
    value--;
    do trans[j++] = value; while (--count > 0);
    return trans;
    * Unpacks the compressed character translation table.
    * @param packed the packed character translation table
    * @return the unpacked character translation table
    private static char [] yy_unpack_cmap(String packed) {
    char [] map = new char[0x10000];
    int i = 0; /* index in packed string */
    int j = 0; /* index in unpacked array */
    while (i < 1614) {
    int count = packed.charAt(i++);
    char value = packed.charAt(i++);
    do map[j++] = value; while (--count > 0);
    return map;
    * Gets the next input character.
    * @return the next character of the input stream, EOF if the
    * end of the stream is reached.
    * @exception IOException if any I/O-Error occurs
    private int yy_advance() throws java.io.IOException {
    /* standard case */
    if (yy_currentPos < yy_endRead) return yy_buffer[yy_currentPos++];
    /* if the eof is reached, we don't need to work hard */
    if (yy_atEOF) return YYEOF;
    /* otherwise: need to refill the buffer */
    /* first: make room (if you can) */
    if (yy_startRead > 0) {
    System.arraycopy(yy_buffer, yy_startRead,
    yy_buffer, 0,
    yy_endRead-yy_startRead);
    /* translate stored positions */
    yy_endRead-= yy_startRead;
    yy_currentPos-= yy_startRead;
    yy_markedPos-= yy_startRead;
    yy_pushbackPos-= yy_startRead;
    yy_startRead = 0;
    /* is the buffer big enough? */
    if (yy_currentPos >= yy_buffer.length) {
    /* if not: blow it up */
    char newBuffer[] = new char[yy_currentPos*2];
    System.arraycopy(yy_buffer, 0, newBuffer, 0, yy_buffer.length);
    yy_buffer = newBuffer;
    /* finally: fill the buffer with new input */
    int numRead = yy_reader.read(yy_buffer, yy_endRead,
    yy_buffer.length-yy_endRead);
    if ( numRead == -1 ) return YYEOF;
    yy_endRead+= numRead;
    return yy_buffer[yy_currentPos++];
    * Closes the input stream.
    final public void yyclose() throws java.io.IOException {
    yy_atEOF = true; /* indicate end of file */
    yy_endRead = yy_startRead; /* invalidate buffer */
    yy_reader.close();
    * Returns the current lexical state.
    final public int yystate() {
    return yy_lexical_state;
    * Enters a new lexical state
    * @param newState the new lexical state
    final public void yybegin(int newState) {
    yy_lexical_state = newState;
    * Returns the text matched by the current regular expression.
    final public String yytext() {
    return new String( yy_buffer, yy_startRead, yy_markedPos-yy_startRead );
    * Returns the length of the matched text region.
    final public int yylength() {
    return yy_markedPos-yy_startRead;
    * Reports an error that occured while scanning.
    * @param errorCode the code of the errormessage to display
    private void yy_ScanError(int errorCode) {
    try {
    System.out.println(YY_ERROR_MSG[errorCode]);
    catch (ArrayIndexOutOfBoundsException e) {
    System.out.println(YY_ERROR_MSG[YY_UNKNOWN_ERROR]);
    System.exit(1);
    * Pushes the specified amount of characters back into the input stream.
    * They will be read again by then next call of the scanning method
    * @param number the number of characters to be read again.
    * This number must not be greater than yylength()!
    private void yypushback(int number) {
    if ( number > yylength() )
    yy_ScanError(YY_PUSHBACK_2BIG);
    yy_markedPos -= number;
    * Contains user EOF-code, which will be executed exactly once,
    * when the end of file is reached
    private void yy_do_eof() throws java.io.IOException {
    if (!yy_eof_done) {
    yy_eof_done = true;
    yyclose();
    * Resumes scanning until the next regular expression is matched,
    * the end of input is encountered or an I/O-Error occurs.
    * @return the next token
    * @exception IOException if any I/O-Error occurs
    public java_cup.runtime.Symbol next_token() throws java.io.IOException {
    int yy_input;
    int yy_action;
    while (true) {
    boolean yy_counted = false;
    for (yy_currentPos = yy_startRead; yy_currentPos < yy_markedPos;
    yy_currentPos++) {
    switch (yy_buffer[yy_currentPos]) {
    case '\r':
    yyline++;
    yycolumn = 0;
    yy_counted = true;
    break;
    case '\n':
    if (yy_counted)
    yy_counted = false;
    else {
    yyline++;
    yycolumn = 0;
    break;
    default:
    yy_counted = false;
    yycolumn++;
    if (yy_counted) {
    if ( yy_advance() == '\n' ) yyline--;
    if ( !yy_atEOF ) yy_currentPos--;
    yy_action = -1;
    yy_currentPos = yy_startRead = yy_markedPos;
    yy_state = yy_lexical_state;
    yy_forAction: {
    while (true) {
    yy_input = yy_advance();
    if ( yy_input == YYEOF ) break yy_forAction;
    int yy_next = yytrans[ yy_rowMap[yy_state] + yycmap[yy_input] ];
    if (yy_next == -1) break yy_forAction;
    yy_state = yy_next;
    int yy_attributes = YY_ATTRIBUTE[yy_state];
    if ( (yy_attributes & 1) > 0 ) {
    yy_action = yy_state;
    yy_markedPos = yy_currentPos;
    if ( (yy_attributes & 8) > 0 ) break yy_forAction;
    switch (yy_action) {   
    case 83:
    {  yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\b')); }
    case 90: break;
    case 82:
    {  yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\f')); }
    case 91: break;
    case 81:
    {  yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\r')); }
    case 92: break;
    case 80:
    {  yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\t')); }
    case 93: break;
    case 78:
    {  yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\"')); }
    case 94: break;
    case 77:
    {  yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\'')); }
    case 95: break;
    case 88:
    {  return symbol(AxSym.BOOLEAN_LITERAL, new Boolean(false));  }
    case 96: break;
    case 87:
    {  return symbol(AxSym.NULL_LITERAL);  }
    case 97: break;
    case 85:
    {  return symbol(AxSym.BOOLEAN_LITERAL, new Boolean(true));  }
    case 98: break;
    case 79:
    {  yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\\'));  }
    case 99: break;
    case 71:
    case 72:
    {  /* ignore */  }
    case 100: break;
    case 63:
    {  yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character(yytext().charAt(0)));  }
    case 101: break;
    case 62:
    {  string.append( '\b' );  }
    case 102: break;
    case 61:
    {  string.append( '\n' );  }
    case 103: break;
    case 60:
    {  string.append( '\f' );  }
    case 104: break;
    case 59:
    {  string.append( '\r' );  }
    case 105: break;
    case 58:
    {  string.append( '\t' );  }
    case 106: break;
    case 57:
    {  string.append( '\\' );  }
    case 107: break;
    case 56:
    {  string.append( '\"' );  }
    case 108: break;
    case 55:
    {  string.append( '\'' );  }
    case 109: break;
    case 25:
    {  return symbol(AxSym.PLUS);  }
    case 110: break;
    case 24:
    {  return symbol(AxSym.COMMA);  }
    case 111: break;
    case 23:
    {  return symbol(AxSym.SEMI);  }
    case 112: break;
    case 22:
    {  return symbol(AxSym.RQUADRA);  }
    case 113: break;
    case 21:
    {  return symbol(AxSym.LQUADRA);  }
    case 114: break;
    case 20:
    {  return symbol(AxSym.RGRAFFA);  }
    case 115: break;
    case 19:
    {  return symbol(AxSym.LGRAFFA);  }
    case 116: break;
    case 18:
    {  return symbol(AxSym.RPAREN);  }
    case 117: break;
    case 17:
    {  return symbol(AxSym.LPAREN);  }
    case 118: break;
    case 3:
    case 37:
    case 38:
    case 41:
    {  throw new RuntimeException("Illegal character \""+yytext()+"\" at line "+yyline+", column "+yycolumn);  }
    case 119: break;
    case 4:
    case 5:
    {  /*return symbol(AxSym.INVIO);*/ /* ignore */  }
    case 120: break;
    case 6:
    {  return symbol(AxSym.DIVIDE);  }
    case 121: break;
    case 7:
    {  return symbol(AxSym.TIMES);  }
    case 122: break;
    case 8:
    case 9:
    case 14:
    case 15:
    case 16:
    case 47:
    case 48:
    case 49:
    case 74:
    case 75:
    case 76:
    case 86:
    {  return axSymbol(yytext());  }
    case 123: break;
    case 10:
    case 11:
    {  return symbol(AxSym.INTEGER_LITERAL, new Integer(yytext()));  }
    case 124: break;
    case 12:
    {  yybegin(STRING); string.setLength(0);  }
    case 125: break;
    case 13:
    {  yybegin(CHARLITERAL);  }
    case 126: break;
    case 26:
    {  return symbol(AxSym.MINUS);  }
    case 127: break;
    case 27:
    {  return symbol(AxSym.ORB);  }
    case 128: break;
    case 28:
    {  return symbol(AxSym.ANDB);  }
    case 129: break;
    case 29:
    {  return symbol(AxSym.GT);  }
    case 130: break;
    case 30:
    {  return symbol(AxSym.EQ);  }
    case 131: break;
    case 31:
    {  return symbol(AxSym.LT);  }
    case 132: break;
    case 32:
    {  return symbol(AxSym.NEG);  }
    case 133: break;
    case 33:
    {  string.append( yytext() );  }
    case 134: break;
    case 34:
    case 35:
    {  throw new RuntimeException("Unterminated string at end of line");  }
    case 135: break;
    case 36:
    {  yybegin(YYINITIAL); return symbol(AxSym.STRING_LITERAL, string.toString());  }
    case 136: break;
    case 39:
    case 40:
    {  throw new RuntimeException("Unterminated character literal at end of line");  }
    case 137: break;
    case 44:
    {  return axMetodo(yytext());  }
    case 138: break;
    case 46:
    {  return symbol(AxSym.FLOATING_POINT_LITERAL, new Float(yytext()));  }
    case 139: break;
    case 50:
    {  return symbol(AxSym.DUEP);  }
    case 140: break;
    case 51:
    {  return symbol(AxSym.GE);  }
    case 141: break;
    case 52:
    {  return symbol(AxSym.LE);  }
    case 142: break;
    case 53:
    {  return symbol(AxSym.NE);  }
    case 143: break;
    case 54:
    case 64:
    case 65:
    case 66:
    case 67:
    case 68:
    case 69:
    case 70:
    {  throw new RuntimeException("Illegal escape sequence \""+yytext()+"\"");  }
    case 144: break;
    default:
    if (yy_input == YYEOF && yy_startRead == yy_currentPos) {
    yy_atEOF = true;
    yy_do_eof();
    {     return new java_cup.runtime.Symbol(AxSym.EOF);
    else {
    yy_ScanError(YY_NO_MATCH);
    }

    I setted use Javac checkbox and it worked ???
    Could someone explain me what happened ?
    The problem seems to be in the very long privated final string I defined, making it shorther the problem is solved again .
    Tks
    Tullio

  • Compilation Error for import classes not found in generated Proxy Class

    Hi,
    We are generating java classes for the COM dll using JCOM com2java compiler.
    We are getting a compilation error for import class not found when compiling the
    generated Proxy java source code. It can't find the com.bea.jcom.Dispatch class that
    the generated Proxy java source code extends. It also can't find com.bea.jcom.Variant
    or com.bea.jcom.Param. These are interfaces or data types or classes used by COM
    library.
    I added weblogic.jar to my class path and the only Dispatch class i found inside
    the weblogic.jar is com.linar.jintegra.Dispatch;
    We have com objects for which we want to develop an EJB client to interface with
    the COM object using JCOM with Native Mode disabled.
    Any help on the compilation error..I tried changing the extends for Dispatch to com.linar.jintegra.Dispatch
    but the other errors are still there.
    To begin with, I think the generated code should not refer to any of the COM data
    types.
    Any help please.
    Thank you in advance,
    Regards,
    Rahul Srivastava
    [email protected]

    Hi,
    I resolved the other errors by changing all references from com.bea.jcom.Variant
    etc to com.linar.jintegra.class name..all were present under the com.linar.jintegra
    package.
    Thank you all anyways,
    Regards,
    rahul
    "Rahul Srivastava" <[email protected]> wrote:
    >
    Hi,
    We are generating java classes for the COM dll using JCOM com2java compiler.
    We are getting a compilation error for import class not found when compiling
    the
    generated Proxy java source code. It can't find the com.bea.jcom.Dispatch
    class that
    the generated Proxy java source code extends. It also can't find com.bea.jcom.Variant
    or com.bea.jcom.Param. These are interfaces or data types or classes used
    by COM
    library.
    I added weblogic.jar to my class path and the only Dispatch class i found
    inside
    the weblogic.jar is com.linar.jintegra.Dispatch;
    We have com objects for which we want to develop an EJB client to interface
    with
    the COM object using JCOM with Native Mode disabled.
    Any help on the compilation error..I tried changing the extends for Dispatch
    to com.linar.jintegra.Dispatch
    but the other errors are still there.
    To begin with, I think the generated code should not refer to any of the
    COM data
    types.
    Any help please.
    Thank you in advance,
    Regards,
    Rahul Srivastava
    [email protected]

  • Class javax.servlet.jsp.PageContext compilation error

    During Rebuild/compilation of the JSP files inside JDeveloper, I am encountering the compilation error "Error(548,78): method handlepageException (java.lang.Throwable) not found in class javax.servlet.jsp.PageContext. When I developed the same application under IBM WSAD, I included the library com.ibm.servlet.jar and will take care of it. Which Oracle Jdeveloper lib I need to include? Since it is a servlet library error, I tried to include the Oracle "Servlet APIC Classes" but it didn't fix the problem. Thanks in advance!

    hmmm... i had a look and it seems that what you are trying to "import" is actually in a package... instead of import try:
    package javax.servlet.jsp;you may need to go download this "package" and complile it in the directory you are working in.
    my advice: try the above statement (which does compile for me), if it doesn't work, you will need to find the source code for this package and compile it just like you do any other source code.
    hope this helps.

  • Compilation Error in basic java class

    Hello,
    I am newbie. And, I have developed following java classes. But the child class is results in error. Below is step by step event. What am I doing wrong?
    Step 1. Created a compiled class Shirt(parent). No issues
    public class Shirt {
    public int shirtID =0;
    public String description = "description required";
    // color codes
    public char colorCode = 'U';
    public double price = 0.0;
    public int quantityInStock = 0;
    // methods
    public void displayShirtInformation() {
       System.out.println("Shirt ID: " + shirtID);
       System.out.println("Shirt description:" + description);
       System.out.println("Color Code:" + colorCode);
       System.out.println("Shirt price: " + price);
       System.out.println("Quantity in Stock :" + quantityInStock);
    } // end of method
    } // end of class
    Step 2. Child class results in compilation error
    public class ShirtTest{
    public static void main (String[] args) {
         Shirt myShirt;
         myShirt = new Shirt();
         myShirt.displayShirtInformation();
    Step 3. Error show below
    C:Java>javac ShirtTest.java
    ShirtTest.java:4: cannot find symbol
    symbol  : class Shirt
    location: class ShirtTest
         Shirt myShirt;
         ^
    ShirtTest.java:5: cannot find symbol
    symbol  : class myShirt
    location: class ShirtTest
         myShirt = new myShirt();
                       ^
    2 errors Thanks D,

    Hello all. I am in a similar boat as far as getting the error message:
    javac ShirtTest.java
    ShirtTest.java:7: cannot find symbol
    symbol  : class Shirt
    location: class shirt.ShirtTest
            Shirt privShirt = new Shirt();
            ^
    ShirtTest.java:7: cannot find symbol
    symbol  : class Shirt
    location: class shirt.ShirtTest
            Shirt privShirt = new Shirt();
                                  ^
    2 errorsMy Shirt.java is as follows(which compiles just fine):
         1  package shirt;
         2
         3  public class Shirt {
         4
         5      private char colorCode = 'U';
         6
         7      public char getColorCode() {
         8          return colorCode;
         9      }
        10
        11      public void setColorCode (char newCode) {
        12          colorCode = newCode;
        13      }
        14
        15  }And my ShirtTest.java is as follows:
         1  package shirt;
         2
         3  public class ShirtTest {
         4
         5      public static void main (String args[]) {
         6
         7      Shirt privShirt = new Shirt();
         8      char colorCode;
         9
        10      privShirt.setColorCode('R');
        11      colorCode = privShirt.getColorCode();
        12
        13      System.out.println("Color Code: " + colorCode);
        14      System.out.println(" ");
        15
        16      privShirt.setColorCode('Z');
        17      colorCode = privShirt.getColorCode();
        18
        19      System.out.println("Color Code: " + colorCode);
        20
        21      }
        22
        23  }This is basically from the Fundamentals of the Java ^TM^ Programming Language SL-110-SE6 Student Guide(pages 9-12 & 9-13). We are working on Encapsulation if that makes any difference. Maybe it's just me but this book is not very new programmer/user friendly. At least in my opinion. I find it very frustrating that I can't even type in examples from the book and get them to work.
    I have tried the javac -cp . ShirtTest.java suggested here but get the same error. I have removed all *.class* files and still no luck.
    OS:
    uname -a
    SunOS 5.10
    JAVA:
    java -version
    java version "1.5.0_26"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_26-b03)
    Java HotSpot(TM) Server VM (build 1.5.0_26-b03, mixed mode)
    Anyway, any help would be appreciated.

  • Please help suggestions for solving built-only compiler error: 'The VI is not executable. The full development version of LabView is required tofix this error.'

    We have develoepd a software tool and build it on regular basis. It currently runs error free when compiled in the editor, but when we built it and run the executable stand alone we get the error.
    'The VI is not executable. The full development version of LabView is required tofix this error.' plus a broeken error.
    This menas an compiler error that is not present in the editor but in the stand alone version. We tried to identify errors as suggested in several posts in this forum, but so far unsuccesfull.
    As the editor and its compiler do not see the error  and are running fine and the stand alone version just syas 'find the error in the editor' in this case LabView is of no help.
    Can anyone suggest a sensible or 'good practice ' way of searching for the source of this error?
    Our project  comprises hundreds of Vis over several libraries.
    Thanks,
    Chris

    Thanks Craig for all your suggestions.
    We seem to have located the problem in a new vi just added to the package causing conflicts by using the same vi names as other vis already present in the package. Excluding this vi removed the error.
    It seems related to a conflict by having two vis with the same name, which was mentioned by LabView and interactively resolved when running the main vi from the editor. When successfully building the main vi the builder did not mention this conflict and reported a successful build, but when trying to run the executable it gave the cryptic error. The error caused us problems because there was no hint for the cause, just the suggestion to solve this in the editor, while at the same time in the editor the VI was running fine.
    We will post about this in detail after we have positively proven that this actually was the case.
    The .net version issue was already checked.
    Performance was the same on all machines we tested on including the dev machine.
    Debugging was tried nut did not help as the vi could not run (broken arrow). We assumed that debugging only helps in running faulty functioning vi''s. We did not check for broken arrows in sub-vis (after connecting), that could have helped, although our application has hundreds of our own vis.
    In relation to your remark: 
    'Are you using many classes? Have you verified that the proper access scopes are set for functions calling those vis?'
    Could you elaborate on setting access scopes. We were not aware of this option in LabView, although we realize this is a basic element of the underlying c code.
    Ragrds,
    Chris

  • Compilation error while calling static method from another class

    Hi,
    I am new to Java Programming. I have written two class files Dummy1 and Dummy2.java in the same package Test.
    In Dummy1.java I have declared a static final variable and a static method as you can see it below.
    package Test;
    import java.io.*;
    public class Dummy1
    public static final int var1= 10;
    public static int varDisp(int var2)
    return(var1+var2);
    This is program is compiling fine.
    I have called the static method varDisp from the class Dummy2 and it is as follows
    package Test;
    import java.io.*;
    public class Dummy2
    public int var3=15;
    public int test=0;
    test+=Dummy1.varDisp(var3);
    and when i compile Dummy2.java, there is a compilation error <identifier > expected.
    Please help me in this program.

    public class Dummy2
    public int var3=15;
    public int test=0;
    test+=Dummy1.varDisp(var3);
    }test+=Dummy1.varDisplay(var3);
    must be in a method, it cannot just be out somewhere in the class!

Maybe you are looking for

  • Documentation Downloads 0 bytes

    Hello Oracle, The following are the documents I had tried to download. http://download.oracle.com/docs/pdf/B13848_02.pdf http://download.oracle.com/docs/pdf/B13670_03.pdf http://download.oracle.com/docs/pdf/B10929_01.pdf http://download.oracle.com/do

  • Calling CIC0 from SAPPHONE PopUp

    Hi experts, i would like to invoke CIC0 in case of an incoming  telephone (SAPPHONE) call using the customer master data. SAPPHONE works fine, but I could not find the method to call CIC0 using SAPPHONE-PopUp Data.. Any solutions? Thanx in advance Mi

  • Is it possible to assign a Z screen in transaction CRMV_SSC ?

    Hi, In transaction CRMV_SSC, I try to assign a Z screen to avoid a repair in program SAPLCRM_ACTIVITY_UI. I have done the following : 1) I create a Z screen in a Z function group. 2) In transaction CRMV_SSC, I click on "Define of Customer Function Gr

  • How to get RSS feeds, SMS feature on SAP Netweaver portal

    Hi All,          Does SAP Netweaver Portal has ability to send updates to targeted audiences through web publishing, email, RSS or SMS announcements as desired by recipient If yes then please give some proper reference. Thanks, Kalam

  • Having installed OS Lion on Macpro which is about 5 years old the Wifi keeps on dropping out

    Having installed Lion OS on 5 year old MacBook Pro the wifi keeps on dropping out All other devices iPad iPhone and another MacBook Pro on the same network have no problems with wireless network