BUG: error rebuilding SQLJ files along other java files with generic

I have done a rebuild on a package containing some SQLJ files, and (consistently) got the following error:
C:\TeleMessage\trunk\src\telemessage\db\impl\dbAdmin.sqlj
    Error(44,18): Java Parsing. Encountered: <
    Expected: <IDENTIFIER> ...; "[" ...; The error at the cursor in the given file is not possible, since there was no '<' there, and besides - if I non-aggresively changed the file, e.g. narrowed imports, changed whitespace or added comments - the error remained in the same location.
I went and done a search using regex in the package, for a line starting with 17 chars followed by a '<'.
I found it in one of the normal JAVA files (not-SQLJ), at line 44 (surprise!) - in a Java 5 generics declaration, e.g. Map<String,Integer>. the 18th character was indeed the '<'.
I'm guessing that the SQLJ translator (accidentally?) parses non-SQLJ files.
If this cannot be fixed, it is really bad - it is one thing that JDeveloper cannot support Java 5 language features because of its dependancy in the SQLJ translator (which is not known to be upgraded until version 11g if at all), but the inability to compile SQLJ files in a project containing other non-SQLJ java files with Java 5 features is hard.
I could only workaround this by rebuilding SQLJ files one at a time!
I also have another type of error, when rebuilding the same project in a higher-level pacakge (root or "Application Sources"):
C:\TeleMessage\trunk\src\dbtools\CallbackNumberFiller.sqlj
    Error(24,8): Missing semicolon.
    Error(24,8): Unbalanced curly braces.Again, the specified file could not be the one to blame - the location of the error is in the middle of the public modified keyword in a method declaration; nothing is neither missing nor unbalanced.
This appears to be different, as it pops in the log near the end of the build process, when the JSPs are being built, specfically during the time the message log fills with "writing <...>" lines (after "translating <...>" and "compiling <...>".
I can consistently reproduce both cases - please advise how I can help you find out what causes this.
Regards,
Yaniv Kunda

First of all, this bug not JDeveloper's problem, but the SQLJ team's.
You can read more posts about this:
Re: BUG: Cannot translate SQLJ files with Java5 generics code
Re: How to use SQLJ with Java 1.4 and 1.5?
Re: SQLJ discontinued??
And if we're at it, this is strange - I can't seem to find the oracle doc you quoted...
SQLJ 11g? The latest release is a part of JPublisher 10.2 available from
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
I also didn't find anything on google on 11g, nor about the part number you specified.
Didn't find any Java 1.5 supporting SQLJ translators from other vendors as well.
Do you have any link to this statement?
But if we examine this bug again, the problem involves JDeveloper passing Java 5 featured JAVA files to the SQLJ translator.
Isn't there a way to instruct the translator to use CLASS files compiled by a normal Java 5 compiler, instead of trying to compile the files itself?
Regards,
Yaniv Kunda

Similar Messages

  • I'm getting this error: It looks like you've the new version of Firefox. Unfortunately, there is currently a bug that is preventing players from playing Java games with version 3.6.14 of Firefox.

    cant play on Pogo.com, error: theres a bug that prevents everyone from playing Java games with Firefox new version.

    You can update Firefox to the latest 3.6.15 version via "Help > Check for Updates"

  • Error while downloading file with Firefox 33

    Hello,
    in our company we all use firefox (different versions) to use our CRM (SugarCRM).
    Since some of the PC (with windows 7) updated to Firefox version 33 (64bit) we started getting the following problem while downloading PDF:
    "C:\Users\[user]\AppData\Local\Temp\[tempfilename].part could not be saved, because the source file could not be read."
    We tried to downgrade to Firefox 32 and everything seems to be working fine.
    I already tried to delete the profile, reinstall Firefox, clear cache, delete Profile folder, but nothing helped.
    Can it be a Firefox 33 bug?
    Thanks

    I tried to change the download folder, no help tehre.
    I also tried disabling the Antivirus and Firewall, still the same.
    I even tried to boot windows in safe mode, and when I download the file I don't get the error but the file just fails to download.
    I just want to underline that if I downgrade to version 32 everything works.
    thanks

  • Error when import file with non-english character

    Hi,<br /><br />I have images file with non-english character (unicode), for example ABC<X>.png where <X> is non-english character such as japanese, chinese, etc.<br /><br />Whenever I want to import the file to After Effects (right click -> import -> file), I always encounter error:<br /><br />Finding file/dir info for the file "C:\...\ABC?.png" -- file not found (-43) (3::30)<br />Can't import file "ABC?.png": unsupported filetype or extension. (0::1)<br /><br />My PC is Windows XP Professional 2002 SP2 English.<br /><br />How to solve this problem?<br /><br />Thanks

    Adjust your system language settings. Proper file name conventions require a consistent Unicode environment, so install the respective foreign language support files or switch the language system-wide. Mixing different zones/ code ranges is always a bad idea. If your system is not in Japanese, AE will always misinterpret the characters and refuse to import. If that's not feasible, simply rename the files.
    Mylenium

  • System error when send file with Sender File Adapter

    Hi all,
    I have configured a "File To ABAP Proxy" scenario. After configuring, i executed a "Test Configuration" in Integration Directory and it's all OK. But this file unable to reach into ABAP Proxy Target. In the Runtime WorkBench\Message Monitoring,  I get an error message in below:
    Engine: Adapter Engine     
    Status: *System Error     *
    Start: 15.08.2008 14:04:01     
    End: 15.08.2008 14:19:01           
    Sender Service: BS_XI_SERVER     
    Interface Servic: urn://FILE_TO_PROXY
    MI_EMPLOYEE_OB
    In this case, I don't know why my Sender File Adapter is error and why status is "System Error" and why it can't reach into Target System. Can it concern a role user?
    ( For more clearly: I configured the source file and the path correctly. And i used the xml file with the content and the document name correctly. In general, the Sender Adapter File don't convert the sender file and its content is same as the Payload in the "Test Configuration", i think it is all OK.)
    Could anyone please help me to resolve this problem, anyone can explain this error, how can i resolve this error?
    Thanks a lot in advance,
    Vinh Vo

    Hi Chirag,
    1.I source structure is very simple as below:
    <ns0:MT_MATERIAL xmlns:ns0="urn://FILE_TO_PROXY">
       <MATERIAL>
          <WERKS>1000</WERKS>
          <MATNR>MAT00001</MATNR>
          <MAKTX>Chemical Material</MAKTX>
       </MATERIAL>
    </ns0:MT_MATERIAL>
    2. the Communication Channel Monitoring in Runtim WorkBench\Adapter Engine is OK for my Sender File Communication Channel, it's in Blue Light.
    However, i don't know what's FCC?
    Thanks and best regards,
    Vinh Vo

  • Error save bios file with GPU-Z

    I updated the bios with the gop file provided by you (10-03-14) 220.rar, but with gpu-z I can not 'to save it because out bios reading not supported on this device. Do you have any solution, do you think the bios has been updated successfully. Thank you
    Request Uefi/gop bios
    1) Geforce 660 Ti 3gb Oc
    2) S/N 602-V282 14SB1209192955
    3) Bios : 80.04.4B.00.A2(P2004-0001)
    Use the attached.
    Decompress the provided .rar archive with Winrar: http://www.rarlab.com/download.htm
    Then flash the included file with Nvflash for dos: http://www.guru3d.com/files_details/nvflash_download.html
    To do so rename the included file to .rom and create a dos bootstick (https://forum-en.msi.com/index.php?topic=165175.0)
    Put nvflash and the vbios file on it and boot from the stick. Then type nvflash -4 -5 -6 gop.rom (if renamed vbios that way) and hit enter. Confirm the questions and let the tool flash.
    * 220.rar (119.98 kB - downloaded 8 times.)

    You requested the vbios in two threads, now you opened another thread and also bumped it. Please don't open multiple topics on the same issue and don't bump posts: >>Please read and comply with the Forum Rules.<<
    Did you follow the instiructions and is the card fully working?

  • Error reading TDMS file with inconsiste​nd dt

    Hello all,
    I would like to ask your help to understand how to read a TDMS file which I am opening and closing based on a user input.  As a result the data in the TDMS file does not have a consistent time step, which may be causing my problem, but I really don't know.  I keep getting the error 2501, that I have an invalid reference. 
    Or, if I continue and bypass the error, the extract portion VI gives me an error stating that I need to define an integer multiple of dt.
    I am not sure how to solve the first point as I have the reference wired directly to the read TDMS vi.
    I have attached a screen shot of the error and the portion of the VI with the offending error (it is the code connected to the read TDMS read vi).
    My goad is to extract a portion of the data to do calculations on and display a result to the user.
    thanks for any comments.
    A. Lopez
    Attachments:
    error-2501.JPG ‏198 KB

    I think you open multiple times the same TDMS file, you should open it before the while loop. And I don't see a close tdms function...
    Also check for errors on the open TDMS function.
    Ton
    Message Edited by TonP on 02-14-2007 07:45 AM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Error opening KM file with special character

    I'm using the following code to get the url to an file stored in KM, but when some file has the  ( or )character in the name, an error occurs saying that the file doesn't exist in KM. The file name look like this  (CDU001-C010) Delegar WorkFlow.doc.gif.
    IUriReference uriRef;
    IURLGeneratorService ugs;
    ugs = (IURLGeneratorService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.URLGENERATOR_SERVICE);
    uriRef = ugs.getRelativeUri(PathKey.CONTENT_ACCESS_PATH).appendPath(resource.getRID().toExternalForm());
    retorno = uriRef.toExternalForm();
    thanks.

    231

  • Error opeing KM file with special character

    I'm using the following code to get the url to an file stored in KM, but when some file has the [[ or ]]character in the name, an error occurs saying that the file doesn't exist in KM. The file name look like this [[CDU001-C010]] Delegar WorkFlow.doc.gif.
    IUriReference uriRef;
    IURLGeneratorService ugs;
    ugs = (IURLGeneratorService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.URLGENERATOR_SERVICE);
    uriRef = ugs.getRelativeUri(PathKey.CONTENT_ACCESS_PATH).appendPath(resource.getRID().toExternalForm());
    retorno = uriRef.toExternalForm();
    thanks.
    Edited by: fabio saito on May 18, 2009 6:31 PM
    Edited by: fabio saito on May 18, 2009 6:32 PM
    Edited by: fabio saito on May 18, 2009 6:32 PM

    231

  • Error loading xml file with sqlldr

    Hi there,
    I am having trouble loading an xml file via sqlldr into oracle.
    The version i am running is Oracle Database 10g Release 10.2.0.1.0 - 64bit Production and the file size is 464 MB.
    It ran for about 10 hours trying to load the file and then threw up the error:
    ORA-22813: operand value exceeds system limits.
    I have loaded a file of 170MB using the same process succesfully.
    Any Ideas?
    Cheers,
    Dan.

    Looked a bit into the issue (ORA-22813) and although it can be caused by a lot of issues varrying database versions, you could have a go at sizing up your PGA database parameter. See Oracle support Doc ID 837220.1 for more info.
    The following might help
    CREATE OR REPLACE PROCEDURE show_pga_memory (context_in IN VARCHAR2 DEFAULT NULL)
    SELECT privileges required on:
      SYS.v_$session
      SYS.v_$sesstat
      SYS.v_$statname
    Here are the statements you should run:
    GRANT SELECT ON SYS.v_$session  TO <schema>;
    GRANT SELECT ON SYS.v_$sesstat  TO <schema>;
    GRANT SELECT ON SYS.v_$statname TO <schema>;
    IS
      l_memory NUMBER;
    BEGIN
      SELECT st.VALUE
        INTO l_memory
        FROM SYS.v_$session se, SYS.v_$sesstat st, SYS.v_$statname nm
      WHERE se.audsid = USERENV ('SESSIONID')
        AND st.statistic# = nm.statistic#
        AND se.SID = st.SID
        AND nm.NAME = 'session pga memory';
      DBMS_OUTPUT.put_line (CASE WHEN context_in IS NULL
                              THEN NULL
                              ELSE context_in || ' - '
                            END
                            || 'PGA memory used in session = ' || TO_CHAR (l_memory));
    END show_pga_memory;
    /

  • Error when importing file with "

    Hi,
    In a text file if a field is having double apostrophe( " ), the file does not open in Import Manager. Get error as "Logon Error.... Line [x], Pos[1]". To test this,
    1. Just copy paste  the below 3 lines in a file
    2. Open in Import manager with delimiter as pipe ( | )
    3. Should get error
    4. Next, edit the file, Find & Replace all " with any other character like ! & try to open the file now!
    PRODUCT_TITLE_NAME|PRODUCT_ID|DESCRIPTION|BRAND_ID
    ABC|142|Three unique|2637
    XYZ|143|The "giraffe" is long|4315
    Thanks,
    Ketan

    Hi Ketan,
    Even I faced the same issue with MDM7.1 while importing the "| data.
    The solution is simple you have to check that open double coates are closing are not.
    I fthe data contains "| is not a problem with version unless it should be properly closed.
    What we did was we remove open  " coates or get the data with closed "
    Hope it will help you
    Thanks
    Yugandhar

  • Error opening JAR files with double-click

    I have this problem while trying to execute a JAR file by double-clicking in Windows Vista Home: the JAR file never opens and it appears the following in the command line:
    Exception in thread "main" java.lang.NoClassDefFoundError: C:\PATH_TO_FILE\JAR_FILE_NAME/jar
    Caused by: java.lang.ClassNotFoundException: C:\PATH_TO_FILE\JAR_FILE_NAME.jar
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)the strange thing is that I have the environmental variable CLASSPATH set to ".;" and while running from the command line as java -jar C:\PATH_TO_FILE\JAR_FILE_NAME.jar I have no problems...
    Any idea?? Thanks in advance!

    This was getting so frustrating I turned off FileVault and the problem went away. That's too bad, but there it is.

  • Error opening .indd files with CS6 AND CC - deadline looming, what is the fix?

    I just got a new Macbook Pro and upgraded to CS6 two weeks ago. I was having problems opening files:
    So I asked IT to upgrade me to CC.
    Guess what? Still get the error message. I was editing this file yesterday without issue.
    My deadline is now. WTH is going on???

    Well, he's not working in the file now so there's no .idlk file for anything in the folder.

  • Error importing CSV files with 'hidden' characters using External Table

    Hi Folks
    Bit of a strange one here.
    We're well used to using the External Table method of loading data from CSV files into the database but a recent event has presented us with a problem.
    We have received some CSV files that 'look' like regular CSV files but Oracle will not load them.
    When we examined the CSV file using VIM on a UNIX box we saw the following 'hidden' characters between every regular character in the file.
    ^@So a string that looks like this when opened in Excel/Wordpad etc
    "TEST","TEXT"Looks like this when exmained with VIM
    ^@"^@T^@E^@S^@T^@"^@,^@"^@T^@E^@X^@T^@"Has anyone come across this before?
    Many thanks
    Simon Gadd
    Oracle 11g 11.2.0.1.0

    Hi Simon,
    ^@ represents the NUL character (0x00).
    So, most likely, you've got a Unicode-encoded file.
    You'll have to specify the character set in the record specification (and if necessary the byte order mark), for instance :
    CREATE TABLE ext_table
      col1 VARCHAR2(10),
      col2 VARCHAR2(10)
    ORGANIZATION EXTERNAL
      TYPE ORACLE_LOADER
      DEFAULT DIRECTORY dump_dir
      ACCESS PARAMETERS
       RECORDS DELIMITED BY '
    ' CHARACTERSET 'UTF16'
      FIELDS TERMINATED BY ','
      LOCATION ('dump.csv')
    REJECT LIMIT UNLIMITED;http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/et_params.htm#i1009499

  • Error in WSDL file with Inline schemas in RAD

    Hi,
    I am having a WSDL which is generated in Weblogic workshop. I need to generate a client for that WSDL in RAD 7.0 with websphere 6.1.
    WSDL is having inline schemas. when i used the same WSDL in RAD it is showing compile time errors at complex types.
    My scenario: I am getting error at type="*_Type1_*" , it saying type reference is unresolved.
    <xs:schema xmlns="XXXX" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="XXXX" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:complexType name="complextype1">
    <xs:sequence>
    <xs:element name="Location" type="*_Type1_*" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="XXXX" targetNamespace="XXXX" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:simpleType name="Type1">
    <xs:restriction base="xs:string"/>
    </xs:simpleType>
    </xs:schema>
    Thanks in advance.

    Hi,
    I am also getting the same problem on a Web Service created from a function module. This happens when I try to create a new endpoint and save.
    Did you manage to find a solution to this.
    Regards,
    Andy.

Maybe you are looking for

  • Selection screen in HR ABAP... Need help

    Hi,       Depending in the selection criteria : which is as follows:   Selection on Date:    from-date  to  to-date   Personal officer:          Skills:   Line Manager: have to display the report : which is as follows: Applicant Number  ||    Name  |

  • Mac mini doesn't recognize TV

    I've hooked my new Mac mini up to my TV using an S Video adapter (the DVD player the mini will be replacing used S Video, so I assumed it would work fine). It's connected as auxiliary input, but when I switch the TV to auxiliary and boot up the mac m

  • Simple WYSIWiG XML editor

    Hello, I try to write a simple XML editor using Swing. I have no problem processing the XML document itself (parsing XML, DTD and CSS) but now I need to display the parsed document and allow the user to edit it. My idea is to use "decorators" configu

  • ¿Is it possible to hide a list in service request customized form?

    Hi all. I've created two custom lists in authoring tool to the service request form. My question is : ¿ Is it possible to hide one or both ? Tks. Regards.

  • Cfdocument header bug?

    Is this a bug? cfdocumentsection is supposed to have their own header and footer. This example mimics one in the documentation. I loop through a simple counter from 1 to 4 and name each page, header and footer with the loop number. But if you run thi