Ridiculous bug in oracle jdeveloper compiler ojc with jdk1.4

With simple class:
public class Test
public Test()
public String toString()
return null;
public static void main(String[] args) throws Exception
Test test = new Test();
System.out.println("ooo" + test);
After compile it with ojc (ojc Test.java) and run it with jdk 1.4.1_01 (java Test), it throws
java.lang.NullPointerException
at java.lang.String.concat(String.java:1541)
But it works ok if compile it with standard java compiler(javac).

Hi,
Thanks for reporting this. It's a bug. I've logged it as 2809860, and you can track this on metalink.oracle.com.
Brian
JDev Team

Similar Messages

  • [svn] 3050: Removed compile warning with JDK1.5

    Revision: 3050
    Author: [email protected]
    Date: 2008-08-29 16:48:58 -0700 (Fri, 29 Aug 2008)
    Log Message:
    Removed compile warning with JDK1.5
    Modified Paths:
    blazeds/trunk/modules/core/src/java/flex/messaging/io/BeanProxy.java

    Did you try this:
    http://forum.java.sun.com/thread.jsp?thread=434718&forum=60&message=1964421

  • JDeveloper Build Error with JDK1.3beta

    Dear JDev Team,
    I have a project that uses SQLJ and has been compiling fine with both JDK1.2.2 and 1.3beta. This morning it stopped working. There have been no great code changes. Once it fails using 1.3beta it will also fail using 1.2.2.
    There error message in the window is as follows. Your help would be very much appreciated, as this project cannot be built.
    Many thanks,
    Richard
    JniPortal for D:\Program Files\JDeveloper 3.0\java1.2\jre\bin\ferrari\jvm.dll reported
    InnerClasses attribute
    java.lang.IncompatibleClassChangeError: InnerClasses attribute
    int sqlj.runtime.profile.util.CustomizerHarness.customizeProfile(sqlj.runtime.profile.util.ProfileIOContext)
    void oracle.jdeveloper.sqlj.TranslatorInternal.customizeProfiles(borland.compiler.interfaces.Log)
    void oracle.jdeveloper.sqlj.TranslatorSystemImpl.customizeProfiles(borland.jbuilder.jipcbmj.portal.ComLog)
    void oracle.jdeveloper.sqlj.TranslatorSystem_JavaDispatch.invoke(int, borland.javaport.JavaCallStack)

    Richard,
    SQLJ is not supported with JDK1.2 in JDev 3.0:
    (from the release notes)
    Using SQLJ under JDK 1.2
    The 8.1.5 SQLJ version distributed with this release of JDeveloper only supports JDK 1.1.X, it does not run under JDK 1.2. A future version of SQLJ will support JDK 1.2
    Having said that it looks like you have it working anyway :-)
    There have been no great code changes. Once >it fails using 1.3beta it will also fail >using 1.2.2.Try the following :
    -Locate the output directory from Project|Project Properties
    -Close JDeveloper
    -Go to the output directory and delete all the classes and profiles related to your SQLJ project
    -Restart JDev and recompile
    Hope this helps.
    Regards,
    Arun
    null

  • Bug in Oracle Java Compiler???

    Hello!
    I think I found a bug in OJC. Take a look in these files:
    ------ File MyInterface1.java -------
    public interface MyInterface1
    public void aMethod1();
    public void aMethod2();
    ------ File MyInterface2.java -------
    public interface MyInterface2 extends MyInterface1
    public void aMethod1(String s1);
    public void aMethod2(String s2);
    ------ File MyAbstractClass.java -------
    abstract public class MyAbstractClass implements MyInterface2
    public void aMethod1()
    ------ File MyImplClass.java -------
    public class MyImplClass extends MyAbstractClass
    public void aMethod2()
    public void aMethod1(String s)
    When compiling these files, the following error should be found:
    "javac MyImplClass.java
    MyImplClass.java:1: MyImplClass should be declared abstract; it does not define
    aMethod2(java.lang.String) in MyAbstractClass
    public class MyImplClass extends MyAbstractClass
    ^
    1 error"
    This is the error found by javac (J2SE 1.3), as expected.
    But when I compile using OJC 9.0.2.579 (JDeveloper 9.0.2.829) no error is found, and the compiler generates MyImplClass.class. This should not happen!!!
    Even if I implement aMethod2(String s) in MyImplClass, how can I trust that OJC is generating the bytecode, so that the method invocation is occuring correctly during runtime?
    I have a component library based on class hierarchy like the one in the example, and I would not like to modify it because of this possible bug in OJC.
    Thanks
    Gleber/Daniel/Augusto

    Gleber,
    As per current plans the 903 release is expected to be on OTN in the next 5-7 weeks. Feel free to ping me at [email protected] if this bug is preventing you from moving forward. I'll try to resolve your issue with a workaround.
    Regards,
    Arun

  • Bug in Oracle lib: popen failed with pthread in Redhat 6.1

    Dear Oracle developers,
    I need your help on this. I have used c and pthread in Redhat 6.1 and the moment I called popen, it dies. This happens only if I link some Oracle libraries. I am using ProC.
    The Oracle libraries in question are
    -lsql -L/export/ora01/app/oracle/product/8.0.5/lib -lc -lclntsh -lcommon -lcore4 -lnlsrtl3
    I have tested this with very simple pthread
    programs from Oreily even. The program dies at the call of popen if I have linked these libraries. Else it will work fine.
    If anyone has a solution to that, please let me know. My email is [email protected]
    Thanks.

    Hi kawollek,
    Thanks for the reply.
    But when i tried with the example provided. I am unable to connect to oracle. it gives the error 0ra-03114 not connected to oracle.
    How do i give the host string in oracle or dsn in the programe to connect to the database.
    If u have tried please help me.....
    Thanks & regards
    Rama Raju D.S

  • Compiling classes with JDK1.5 instead of 1.4

    When compiling this perfectly working piece of code under SJSC2EA2:
    private double eval(double t, int... p) {
    return ( p[0] * Math.pow(1-t, 3) +
    3 * p[1] * Math.pow(1-t, 2) * t +
    3 * p[2] * (1-t) * Math.pow(t, 2) +
    p[3] * Math.pow(t, 3));
    I get this error message (between the dashed lines) from the compiler:
    init:
    deps-jar:
    Compiling 2 source files to C:\Documents and Settings\mohsen madi\Desktop\sjstudio8\bezierAndPostscript\build\classes
    C:\Documents and Settings\Desktop\sjstudio8\bezierAndPostscript\src\BezPSNoComments.java:227: variable-arity methods are not supported in -source 1.4
    (try -source 1.5 to enable variable-arity methods)
    private double eval(double t, int... p) {
    C:\Documents and Settings\Desktop\sjstudio8\bezierAndPostscript\src\BezierPostScript.java:316: variable-arity methods are not supported in -source 1.4
    (try -source 1.5 to enable variable-arity methods)
    private double eval(double t, int... p) {
    2 errors
    BUILD FAILED (total time: 0 seconds)
    Of course, I right-clicked my project, selected proprties, and saw that:
    - in "Libraries", the Java Platform field is set to JDK1.5 (Default)
    - in "Build->Compiling", I added the "-source 1.5" in Additional Compiler Options, and
    - in "Run", I added "-source 1.5" at the VM Options field
    But non of that worked for me!
    Apparently, one would get the same message any time one uses a Java 5 feature like the "variable-length argument list" above or the "enhanced for loop".
    How can I make my project be compiled by JDK 1.5 to make benefit of the Java 5.0 features and not have it go to J2EE 1.4 apparently or wherever it goes?
    Thanks,
    Mohsen Madi

    YOu might want to post this on the Creator 2 EA 2 forum instead.
    Just sign on here like you did to download it and post it in the fourm: https://feedbackprograms.sun.com/login.html?ref=%2Fhome%2Ehtml%3F

  • Oracle application server fails with jdk1.6

    I have installed oracle application server 10.1.3.3, i want to use jdk1.6.0_xx. i configured in this following way
    Renamed the current JDK directory used by the Application Server installation ( in our case renamed jdk under this location “/product/10.1.3.1/OracleAS_1” to jdk.orig using mv jdk jdk.orig)
    Then went to this location /product/10.1.3.1/OracleAS_1 and execute “ln -s /usr/jdk/jdk1.6.0_13 jdk”
    check java version from this location /product/10.1.3.1/OracleAS_1/jdk/bin use ./java –version
    When i start i am getting this following error in the log file.
    Unrecognized VM option 'AppendRatio=3'
    Could not create the Java virtual machine.

    To get it starting, remove the AppendRatio.
    --olaf                                                                                                                                                                                                           

  • BUG: 10.1.3..36.73 Internal Compile Error with enhanced for loop/generics

    I get the following compiler error when using the Java 5 SE enhanced for loop with a generic collection.
    Code:
    public static void main(String[] args)
    List<Integer> l = new ArrayList<Integer>();
    l.add(new Integer(1));
    printCollection(l);
    private static void printCollection(Collection<?> c)
    for (Object e : c)
    System.out.println(e);
    Error on attempting to build:
    "Error: Internal compilation error, terminated with a fatal exception"
    And the following from ojcInternalError.log:
    java.lang.NullPointerException
         at oracle.ojc.compiler.EnhancedForStatement.resolveAndCheck(Statement.java:2204)
         at oracle.ojc.compiler.StatementList.resolveAndCheck(Statement.java:4476)
         at oracle.ojc.compiler.MethodSymbol.resolveMethod(Symbol.java:10822)
         at oracle.ojc.compiler.RawClassSymbol.resolveMethodBodies(Symbol.java:6648)
         at oracle.ojc.compiler.Parser.resolveMethodBodies(Parser.java:8316)
         at oracle.ojc.compiler.Parser.parse(Parser.java:7823)
         at oracle.ojc.compiler.Compiler.main_internal(Compiler.java:978)
         at oracle.ojc.compiler.Compiler.main(Compiler.java:745)
         at oracle.jdeveloper.compiler.Ojc.translate(Ojc.java:1486)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:300)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:515)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:715)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:893)

    Install the Service Update 1 patch for JDeveloper (using the help->check for updates), and let us know if this didn't solve the problem.

  • JDeveloper Compiler Error during BPEL flow deployment

    Hi,
    Has anyone encountered the following during BPEL deployment? I am using JDeveloper 10.1.3.4. I was able to deploy last week without any problems.
    Compiling...
    Compiling D:\Datos\Jazztel\Cancelador\bpel\Cancelador.bpel
    [BPEL Compiler] Initializing compiler for first time use...
    BPEL suitcase generated in: D:\Datos\Jazztel\Cancelador\output\bpel_Cancelador_2.6.6.jar
    D:\Datos\jdevstudio10134\jdk\jre\bin\java.exe -jar D:\Datos\jdevstudio10134\jdev\lib\ojc.jar -source 1.5 -target 1.5 -noquiet -warn -nowarn:320 -nowarn:486 -nowarn:487 -deprecation:self -nowarn:560 -nowarn:704 -nowarn:489 -nowarn:415 -nowarn:909 -nowarn:412 -nowarn:414 -nowarn:561 -nowarn:376 -nowarn:371 -nowarn:558 -nowarn:375 -nowarn:413 -nowarn:377 -nowarn:372 -nowarn:557 -nowarn:556 -nowarn:559 -encoding Cp1252 -g -d D:\Datos\Jazztel\Cancelador\output -make D:\Datos\Jazztel\Cancelador\output\Cancelador.cdi -classpath D:\Datos\jdevstudio10134\jdk\jre\lib\rt.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\i18n.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\sunrsasign.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\jsse.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\jce.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\charsets.jar;D:\Datos\jdevstudio10134\jdk\jre\classes;D:\Datos\Jazztel\Cancelador\output;D:\Datos\jdevstudio10134\toplink\jlib\toplink.jar;D:\Datos\jdevstudio10134\toplink\jlib\toplink-oc4j.jar;D:\Datos\jdevstudio10134\toplink\jlib\antlr.jar;D:\Datos\jdevstudio10134\lib\xmlparserv2.jar;D:\Datos\jdevstudio10134\lib\xml.jar -sourcepath D:\Datos\Jazztel\Cancelador\src;D:\Datos\jdevstudio10134\jdk\src.zip;D:\Datos\jdevstudio10134\toplink\jlib\toplink-src.zip D:\Datos\Jazztel\Cancelador\src\ConsultaInstanciasCS\Customerservicecrmkpn.java D:\Datos\Jazztel\Cancelador\src\CustomerServices\Customerservicesconstantes.java D:\Datos\Jazztel\Cancelador\src\DBCONSTANTES\Constantes.java D:\Datos\Jazztel\Cancelador\src\DBCONSULTAHISTORICO\Historico.java D:\Datos\Jazztel\Cancelador\src\DBERRORESSISTEMA\Erroressistemasacciones.java D:\Datos\Jazztel\Cancelador\src\DBETAPAS\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBINSERTARINCIDENCIA\Incidencias.java D:\Datos\Jazztel\Cancelador\src\DBINSERTETAPASCOMPLETADAS\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBINSERTHISTORICO\Historico.java D:\Datos\Jazztel\Cancelador\src\DBINSERTORDERPROGRESS\Ordersprogress.java D:\Datos\Jazztel\Cancelador\src\DBNOTIFICACIONESASINCRONAS\NotifRedAsincronas.java D:\Datos\Jazztel\Cancelador\src\DBORDENESCRM\OrdenesCrm.java D:\Datos\Jazztel\Cancelador\src\DBORDENESMNP\OrdenesMnp.java D:\Datos\Jazztel\Cancelador\src\DBORDENESRED\OrdenesRed.java D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\Historico.java D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\Pedidos.java D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAADDONS\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAS\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAS\Historico.java
    Error: compiler internal error
    *** OJC internal error log written to file C:\DOCUME~1\anipatel\CONFIG~1\Temp\ojcInternalError.log
    [10:45:12] Compilation complete: 1 errors, 156 warnings.
    The log file mentioned contains the following:
    OJC internal error log:
    Compiler version: 10.1.3
    Build number: 4270
    Source files:
         D:\Datos\Jazztel\Cancelador\src\ConsultaInstanciasCS\Customerservicecrmkpn.java
         D:\Datos\Jazztel\Cancelador\src\CustomerServices\Customerservicesconstantes.java
         D:\Datos\Jazztel\Cancelador\src\DBCONSTANTES\Constantes.java
         D:\Datos\Jazztel\Cancelador\src\DBCONSULTAHISTORICO\Historico.java
         D:\Datos\Jazztel\Cancelador\src\DBERRORESSISTEMA\Erroressistemasacciones.java
         D:\Datos\Jazztel\Cancelador\src\DBETAPAS\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBINSERTARINCIDENCIA\Incidencias.java
         D:\Datos\Jazztel\Cancelador\src\DBINSERTETAPASCOMPLETADAS\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBINSERTHISTORICO\Historico.java
         D:\Datos\Jazztel\Cancelador\src\DBINSERTORDERPROGRESS\Ordersprogress.java
         D:\Datos\Jazztel\Cancelador\src\DBNOTIFICACIONESASINCRONAS\NotifRedAsincronas.java
         D:\Datos\Jazztel\Cancelador\src\DBORDENESCRM\OrdenesCrm.java
         D:\Datos\Jazztel\Cancelador\src\DBORDENESMNP\OrdenesMnp.java
         D:\Datos\Jazztel\Cancelador\src\DBORDENESRED\OrdenesRed.java
         D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\Historico.java
         D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\Pedidos.java
         D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAADDONS\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAS\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAS\Historico.java
    Options:
         source: 150
         target: 150
         classpath: D:\Datos\jdevstudio10134\jdk\jre\lib\ext\sunjce_provider.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\ext\sunpkcs11.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\ext\localedata.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\ext\dnsns.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\rt.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\i18n.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\sunrsasign.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\jsse.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\jce.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\charsets.jar;D:\Datos\jdevstudio10134\jdk\jre\classes;D:\Datos\Jazztel\Cancelador\output;D:\Datos\jdevstudio10134\toplink\jlib\toplink.jar;D:\Datos\jdevstudio10134\toplink\jlib\toplink-oc4j.jar;D:\Datos\jdevstudio10134\toplink\jlib\antlr.jar;D:\Datos\jdevstudio10134\lib\xmlparserv2.jar;D:\Datos\jdevstudio10134\lib\xml.jar
         sourcepath: D:\Datos\Jazztel\Cancelador\srcD:\Datos\jdevstudio10134\jdk\src.zipD:\Datos\jdevstudio10134\toplink\jlib\toplink-src.zip
         encoding: Cp1252
         excluded cls:
         rebuild: false
         noCodeGen: false
         lineNumbers: true
         sourceFile: true
         localVars: true
         codecoach: true
         omitAsserts: false
    Parser:
         errorFound: false
    java.lang.ArrayIndexOutOfBoundsException: 110
         at oracle.ojc.compiler.DepInfo.readInt(DepInfo.java:521)
         at oracle.ojc.compiler.DepInfo.readName(DepInfo.java:541)
         at oracle.ojc.compiler.DepInfo.read(DepInfo.java:578)
         at oracle.ojc.compiler.DepInfo.analyzeSources(DepInfo.java:279)
         at oracle.ojc.compiler.Compiler.main_internal(Compiler.java:1088)
         at oracle.ojc.compiler.Compiler.main_throws_exceptions(Compiler.java:816)
         at oracle.ojc.compiler.Compiler.main(Compiler.java:836)
         at oracle.jdeveloper.compiler.Ojc.translate(Ojc.java:1541)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:300)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:516)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProject(UnifiedBuildSystem.java:609)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:666)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:894)

    Just an update to this...
    I copied the BPEL flow project to our Linux server, where I was successfully able to compile and deploy the flow using devprompt and Ant. So, the problem is with JDev on my PC, but I'm not sure why though.
    I have rebooted my PC, shutdown any unnecessary apps, and the problem continues. Will see if the problem exists with other flows.
    Anit

  • [ANN] Oracle JDeveloper 10g is now available for download.

    It's probably worth a mention in this forum too ;-)
    In case you haven't notice we have just released Oracle JDeveloper 10g production with a many new features that makes it the ideal Java tools for Oracle Application Server users.
    Check it out at:
    http://otn.oracle.com/products/jdev
    A partial list of new features:
    Visual layout editing for both JSP/HTML and Swing user interfaces.
    Drag-and-Drop data-binding of business services to the user interface
    Visual Struts-based page flow modeler
    Declarative creation of business services based on EJB, TopLink, JavaBeans, Web Services, or Oracle ADF Business Components
    Visual UML modeling with code generation
    Code Auditing and Metrics
    Hot-Swap Debugging
    Improved code editor
    XML Schema visual editor
    Database development and Database modeling
    One-Click deploy to Oracle Application Server, BEA Weblogic, JBoss and Tomcat
    Web services development and consumption with support for WS-I
    And much more.

    It is no longer available for download - if you have a valid Support contract, pl create an SR and request Support to ship you the media
    HTH
    Srini

  • [ANN] Oracle JDeveloper 10g production is now available for download.

    It's probably worth a mention in this forum too ;-)
    In case you haven't notice we have just released Oracle JDeveloper 10g production with a many new features that makes it the ideal Java tools for Oracle Application Server users.
    Check it out at:
    http://otn.oracle.com/products/jdev
    A partial list of new features:
    Visual layout editing for both JSP/HTML and Swing user interfaces.
    Drag-and-Drop data-binding of business services to the user interface
    Visual Struts-based page flow modeler
    Declarative creation of business services based on EJB, TopLink, JavaBeans, Web Services, or Oracle ADF Business Components
    Visual UML modeling with code generation
    Code Auditing and Metrics
    Hot-Swap Debugging
    Improved code editor
    XML Schema visual editor
    Database development and Database modeling
    One-Click deploy to Oracle Application Server, BEA Weblogic, JBoss and Tomcat
    Web services development and consumption with support for WS-I
    And much more.

    Hi,
    That is definitely a product manager - positioning question (forum ID: oalonso), so I'd recommend that you ask the same question in the SES forum. The Text team has been monitoring that forum and answering most of the posts there, so you'd probably be more likely to get your question answered.
    Secure Enterprise Search
    -Ron

  • BUG in Oracle SQL Developer 3.0.04 on the "generating DLL" with comments?

    I'm newbie on oracle, but I think that I found out a bug in Oracle SQL Developer version 3.0.04 on the "generating DLL" tool using "comments".
    I will describe the steps that I gave:
    I created a view, but after I test it I had to change my “where” condition, so I comment the old code and then I wrote the new “where” condition below. After I done that I tried to look at the sql code of my view using “generating DLL” tool, but oracle sql developer only shown me half of the code, a lot of code were missing. Then I began with some test trying to understand what happen and I notice that if I put an invalid sql code in my comment the generating DLL start working with no problems, for example(pseudo-code):
    (COMMENT WITH VALID SQL CODE the "Generating SQL" don't work:)
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    SELECT column1, column2
    FROM table1
    INNER JOIN
    (SELECT
    FROM table2
    INNER JOIN .....
    INNER JOIN ....
    --where time_stamp = (select max(time_stamp) from .....)
    WHERE time_stamp >= TRUNC(sysdate)
    ) t1 ON t1.ID = ....
    AND ..... >= TRUNC(sysdate)
    ORDER BY ....
    Generating DLL returns this(when the error occurs):
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    (COMMENT WITH VALID SQL CODE the "Generating SQL" work with no problems:)
    CREATE OR REPLACE VIEW <user>.<view_name> ( <column1>,<column2> )
    AS
    SELECT column1, column2
    FROM table1
    INNER JOIN
    (SELECT
    FROM table2
    INNER JOIN .....
    INNER JOIN ....
    --where
    WHERE time_stamp >= TRUNC(sysdate)
    ) t1 ON t1.ID = ....
    AND ..... >= TRUNC(sysdate)
    ORDER BY ....
    I believe that "Generating DLL" tool have some problem with the comments, I also used /*...*/ to comment but the problem is still active.
    I notice as well that if I started to add some more comments along the code, the conditions migth change, so I think the problem is related with "comments" code.
    Would you mind telling me if this is a real bug or if I'm doing anything wrong.
    Thank you in advance,
    Rodrigo Campos
    Edited by: 894886 on 3/Nov/2011 5:29

    Hi Rodrigo,
    Thank you for reporting this. The only bug I see currently logged on a comment affecting the generated View DDL involves ending the last line of the definition with a comment, which treats the ending semi-colon (even if on a different line) as part of the comment. That is actually related to a low-priority bug against an Oracle database API.
    Unfortunately, your pseudo-code is a bit complex. Trying a few quick, simpler tests against the standard HR schema did not reproduce the issue. I tried INNER JOIN, and nested SELECTs. It would help greatly if you could provide a test case compilable against one of the standard schema, like HR or SCOTT.
    Regards,
    Gary
    SQL Developer Team

  • Error in compilation - Bug in the Oracle Java Compiler ? (10.1.3)

    I've the following situation :
    I've a class wich extends ViewObjectImpl,named ClViewObjectImpl, and another class, named RbViewObjectImpl wich extends ClViewObjectImpl.
    My classes have only a constructor with no parameters .
    Compiling with standard Oracle complier I get the following error
    Error: method $init$() in class oracle.jbo.server.RbViewObjectImpl cannot override method $init$() in class oracle.jbo.server.ClViewObjectImpl with weaker access privileges, was
    Compiling with javacc it compiles.
    Is it an bug ?
    Is there any workaround ?
    Tks
    Tullio

    Repost

  • Oracle JDeveloper 10.1.3 Toplink Objects from Table Bug.

    i try this with updates and without them.
    toplink bug or toplink Wizzard Bug: I have create a conection to data base(MySQL) I use mysql-connector and everything works... i see the tables then i try to create "TOplink objects from Table " , choose connection ,for Schema i choose "none". When i choose AutoQuerry it shows the columns i add columns , I choose OK. When it ask for a name for the package i give him mypackage, when it ask for class name i also choose my package.Users(the table is Users) after which i have the following exception in MessageBox:
    "oracle.jdeveloper.cm.ds.db.InvalidNameException : Object must have a name."
    on details i get :
    oracle.toplink.addin.mappingcreation.MWProjectCreationException: oracle.jdeveloper.cm.ds.db.InvalidNameException: Object must have a name.
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:277)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:196)
         at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:416)
         at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.jdeveloper.cm.ds.db.InvalidNameException: Object must have a name.
         at oracle.jdeveloper.cm.ds.db.validators.AbstractValidator.validateName(AbstractValidator.java:54)
         at oracle.jdeveloper.offlinedb.validators.OfflineSchemaValidator.validateName(OfflineSchemaValidator.java:29)
         at oracle.jdeveloper.cm.ds.db.validators.AbstractValidator.validateObject(AbstractValidator.java:187)
         at oracle.jdeveloper.cm.ds.db.validators.AbstractValidator.validateObject(AbstractValidator.java:122)
         at oracle.jdeveloper.cm.ds.db.AbstractDBObjectProvider.validateObject(AbstractDBObjectProvider.java:822)
         at oracle.jdeveloper.cm.ds.db.AbstractDBObjectProvider.validateSchema(AbstractDBObjectProvider.java:858)
         at oracle.jdeveloper.offlinedb.OfflineDBObjectProvider.createSchema(OfflineDBObjectProvider.java:1954)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.updateOfflineDBandMWDatabaseWithTablesToMap(MappingCreatorImpl.java:450)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:242)
         ... 4 more
    in the messege log i get :
    Starting Java object generation...
    Creating offline database objects...
    A problem was encountered creating offline database objects.
    Aborted Java object generation.
    Message was edited by:
    JOKe
    Message was edited by:
    JOKe

    I have tried this out in the EA release of JDev, and have reproduced the problem you reported. However, trying out the latest development build, the problem does not occur, so this bug has been fixed. You'll pick up this fix when we next release the software on OTN.

  • Issue with creating Web Service Client using Oracle JDeveloper

    Hi All,
    I am trying to create a Web Service Client using Oracle JDeveloper. I set the Project compiler property to JRE 1.4
    When I run the web service client, it throws me bunch of errors saying:
    'Error(32,2): annotations are not supported in -source 1.4'
    I am wondering why JDeveloper is using annotations even after I set the compiler property to 1.4
    I am following this link to create the webservice client:
    http://www.oracle.com/technetwork/developer-tools/forms/webservices-forms-11g-094111.html
    Any help in this regard would be greatly appreciated.
    Thanks,
    Scott.

    Dear Shay,
    Thanks for your prompt response.
    You are right. JDeveloper 11g uses JDK 6 style annotations for the clients it creates. But you can change the JRE Version used at compile time by following these steps:
    1. In the Applications Navigator, right-click the Project Nanem node and select Project Properties... from the context menu.
    2. Select the Compiler node and check the Source Files and Generated Class Files dropdown lists. You may change these versions depending on the version of the JRE you are using with Forms to ensure that the compiled
    classes from JDeveloper can be read by the JRE used by Form.
    So I selected JDK version 1.4 there.
    Sorry that I did not mention that we are using Oracle Forms 10g. That is the reason I selected JDK 1.4
    Thank you.
    Scott.

Maybe you are looking for

  • Not getting Tupples in the proper format in Syndicator

    Hi, I am working on SAP MDM 7.1 SP04. When I am trying to open a repository which contains 2 main tables in syndicator, the tuples does not show me the fields available in them. I mean tuples are just showing up as a single field (with pink flower in

  • How do I restore individual files/folders from Time Machine to a PC?

    My Mac of six years have crashed and been sent to the apple hospital for surgery, but I had time machine backing up all my files. Yah! Now with the help of 'macdrive' I can see the files on my windows computer, but when I tried to restore any individ

  • Testing a webservice in CE 7.1EHP1 WS Navigator

    Hi, We are testing a webservice : Create Document (WSDL : http://<host Name>:<Port_name>/sap/bc/srt/xip/sap/ECC_DOCUMENTCRTRC?sap-client=100&wsdl=1.1) using Web service Navigator on CE 7.1 EHP1. The error message we get in the result is  "Exactly-onc

  • HT201210 My ipad mini is stuck in a continues reboot and will not turn on or shut off. What can I do.

    My Ipad mini was in the middle of an update for the Pintrest app when the upload froze. I tried shutting down the ipad and that seemed to cause it to go into a constant reboot. Now the ipad will not turn on or shut off. Only display the apple sign. A

  • Problem with SipServerConnection in JSR180

    Hello everybody, I am developing a notification system to J2ME clients from a J2SE application, I am implementing SUBSCRIBE/NOTIFY service. My J2ME application sends SUBSCRIBEs perfectly, and receives their OK responses, but when receiving NOTIFY req