"mapping null reg" compiler error LV2009

Opens fine in LV 8.6, but gives "Compiler error. mapping null reg" error in LV 2009.
If you get rid of the 2D transpose, the code compiles fine.
Attachments:
Bitmap to Graphic Block v1.0.vi ‏17 KB

Thanks for reporting this. The issue has actually already been addressed in LabVIEW 2010. 
Regards,
Will
Certified LabVIEW Architect, Certified Professional Instructor
Choose Movement Consulting
choose-mc.com

Similar Messages

  • Compiler error out of regs, reg 1239

    I've installed LV2009 and trying to open version  8.6 vi.
    I am getting a pop-up message "Compiler error. REport this problrm to Nationa Instruments Tech Support. out of regs - no spill candidate found, reg 1239!"
    32-bit Labview client  on Win 7 64 bit and Win server 2008 64 bit give same error.
    The code attached.
    Solved!
    Go to Solution.
    Attachments:
    SyncLoc.llb ‏465 KB

    After converting and testing the problematic VI in LV 2009 sp1, I found that the code that worked for me since LV 8.2 and 8.6 is bugged now.  
    I am using an array of waveforms. I apply "Split 1D Array", followed by "Decimate 1D Array" library functions. The resulted array is stripped of the waveform information in LV2009.
    I isolated the bugged piece in the attached VI.
    Is it a bug?
    Attachments:
    Test decimate array.vi ‏23 KB

  • No compiler error when assigning null to a primitive with ? :

    In 5.0, the statement
    int a = true ? null : 0;
    does not produce a compiler error. In 1.4 it produced an error stating "Incompatible conditional operand types int and null". I understand that auto-boxing complicates the compiler's job here, but isn't it still possible for the compiler to error on this statement?

    That's perfectly legit in 1.5 because of autoboxing.
    The compiler looks at the expression
    true?null:0and needs to determine the type produced by it. 0 can be autoboxed to an Integer and null is a valid Integer value, so that expression produces an Integer.
    Then, it tries to auto-unbox the Integer to assign it to the primitive int. And the same thing happens as always happens when you try to auto-unbox null: you get a NullPointerException. :)

  • Compile error import java.util.map$entry

    Hi,
    I am trying to compile code which imports the following package
    import java.util.Map$Entry.
    The error thrown up is : cant resolve symbol Map$Entry. Why is there a $ in the package import path and is there some configuration required to compile the file.
    I am not allowed to change the code. Does anyone have an idea on how this problem can be solved.
    Thanks and regards
    Kumar Vellal

    Btw java docs for the interface are available at:
    http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.Entry.html
    Changing the import should probably help compile the code, but without changing the import .. need to check. This is just from what i remember now. Lets see if anyone else comments on this.

  • Compile errors importing Map$Entry

    Hi,
    I trying to compile code written by my client which uses the following syntax
    import java.util.Map$Entry.
    This throws a compilation error :
    cant resolve symbol class Map$Entry
    package : java.util
    The same compile at the client side works. Am i missing some configuration. Also why is the path defined as Map$Entry instead of Map.Entry.
    any help would be greatly appreciated
    thanks and regrads
    Kumar Vellal

    What you're client is trying to do is import a nested class. To do this you use the syntax:
    import A.Enclosing.Nested;Now you can refer to the nested class without refering to the enclosing class (i.e Nested n = new Nested();)
    However - Some compilers don't like this, and I don't like it. You shouldn't import nested classes directly like this.

  • FPGA Compile Error due to error in mapping process

    Received the following error while trying to compile a FPGA VI on a PC. (Refer to attachment for details). My PC has a fresh installation of English Windows 2000 with sp4. No other software is installed except LabVIEW 8.2 & FPGA Module 8.2 & NI-RIO.
    I have checked this KB and confirmed that regional settings are English. But the error still exists. I tried compiling the same VI on my laptop with Windows 2000 sp4 and it was successful. Can someone help me? Thank you very much!
    FPGA Compile Error When Compiling LabVIEW FPGA VI
    Error found in mapping process, exiting...
    Errors found during the mapping phase.  Please see map report file for more
    details.  Output files will not be written.
    Design Summary
    Number of errors   :  17
    Number of warnings :   8
    ERROR:Xflow - Program map returned error code 2. Aborting flow execution...
    Message Edited by maimai on 01-08-2007 01:00 AM
    Attachments:
    FPGA Compile Error.txt ‏8 KB

    Hello,
    The key will of course be to isolate differences between your machines.
    I wonder if the following more specific language setting could be the lingering problem.  LabVIEW is a non-unicode program, and there is a language setting in Windows (at least XP) specifically for non-unicode programs.  Try the following (or it's Win2K equivalent) if you haven't already:
    0. Open "Control Panel"
    1. Open the "Regional and Language Options"
    2. On the Advanced tab, choose English (United States) from the drop-down menu under the top section "Language for non-Unicode Programs"
    - This language setting is different from the setting on the "Regional Options" tab. 
    Any other differences you can isolate would be potentially insightful - if you have the same software versions installed in the same order on both machines, we may be looking for something a bit subtle, such as the suspected language setting.
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • Compiler error - Error:null

    I am attempting to create a process that invokes an external web service. Nothing fancy, just take input to the process assign it, transform it to the format the web service needs, invoke the web service, assign the response, and reply to the calling process.
    When I attempt to compile the process I get a compiler error of "Error:null" If I double click the error it shows me the bpel source and highlights the firs line (comment automatically added by JDeveloper).
    Any direction or information would be greatly appreciated.
    Thanks,
    Greg

    Okay, here is the output (at least the end of it):
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/omsCreateOrderWMA.wsdl
    [bpelc] <WSDLSchemaUtil::loadAllSchemas> loading all schemas for def file:/C
    :/ORABPE~1/INTEGR~1/JDEV/JDEV/MYWORK/OMSINT~1/OMSCRE~2/Order_v06.wsdl
    [bpelc] <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema [bpe
    lc] java.lang.StackOverflowError
    <WSDLSchemaUtil::loadLocalSchemas> Created schema xsd:schema
    BUILD FAILED
    C:\ORABPE~1\INTEGR~1\JDEV\JDEV\MYWORK\OMSINT~1\OMSCRE~2\build.xml:25: java.lang.
    StackOverflowError
    Total time: 4 seconds
    C:\ORABPE~1\INTEGR~1\JDEV\JDEV\MYWORK\OMSINT~1\OMSCRE~2>ENDLOCAL
    C:\ORABPE~1\INTEGR~1\JDEV\JDEV\MYWORK\OMSINT~1\OMSCRE~2>

  • Report compilation error. Error at (203, 20: null

    Help. I'm getting this error on a report that used to work
    just fine. Here's the stack trace info... Any ideas what this error
    means?
    coldfusion.runtime.report.Report$ReportCompilationException:
    Report compilation error. Error at (203, 20: null
    at
    coldfusion.runtime.report.Report.compileXml(Report.java:580)
    at
    coldfusion.runtime.report.Report._compileReport(Report.java:181)
    at
    coldfusion.runtime.report.Report.compileReport(Report.java:124)
    at
    coldfusion.runtime.report.Report.runReport(Report.java:235)
    at
    coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:96)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:106)
    at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:157)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at
    org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    I wonder, if it's because our test site is http and our live
    site is https.
    Is that why it can't connect to the RDS server?
    I don't think http or https matters. The key is to get your
    production server configured as an RDS server in Report Builder.
    To do so, open Report Builder. Click on the
    Edit menu and then on
    Configure RDS Servers. Click on the "+" sign or,
    alternatively, select the option to
    Add RDS Server. Enter the connection details of your
    production server. You would of course have modified the settings
    on your production server beforehand to accept a connection from
    your test server.

  • Newb setup question re: 500 cannot compile error

    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    This is on the default index.jsp page that installs with Apache Tomcat/4.1.18... at http://localhost:8080/index.jsp which maps to C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\index.jsp
    by now I have way too many java sdks installed...
    C:\Program Files\Java\j2re1.4.1_01
    C:\Program Files\Java\j2re1.4.0_03
    C:\j2sdk1.4.0_03
    C:\j2sdkee1.4
    The first one I tried got me the same error I am getting now.. and since I have tried different versions changing JAVA_HOME
    Right now..
    JAVA_HOME = C:\j2sdkee1.4
    CATALINA_HOME = C:\Program Files\Apache Group\Tomcat 4.1
    I have no idea what's going on here not having much experience in settting up web servers or java SDKs. But in order to learn the stuff I have planned to I need teh following to get up and running on Win2K.. any help is greatly appreciated.
    Java JDK 1.4.
    Tomcat servlet\JSP engine 4.0.1.
    MySQL database 3.23.46
    If I stick a standard html page in the tomcat root it will show just fine.. so I suspect the whole Java thing is buggin for some reason.
    Here's the full text of the returned error followed by the text of the index.jsp file
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
         at java.lang.Thread.run(Unknown Source)
    Apache Tomcat/4.1.18
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en" "http://www.w3.org/TR/REC-html40/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title><%= application.getServerInfo() %></title>
    <style type="text/css">
    <!--
    body {
    color: #000000;
    background-color: #FFFFFF;
    font-family: Arial, "Times New Roman", Times;
    font-size: 16px;
    A:link {
    color: blue
    A:visited {
    color: blue
    td {
    color: #000000;
    font-family: Arial, "Times New Roman", Times;
    font-size: 16px;
    .code {
    color: #000000;
    font-family: "Courier New", Courier;
    font-size: 16px;
    -->
    </style>
    </head>
    <body>
    <!-- Header -->
    <table width="100%">
    <tr>
    <td align="left" width="130"><img src="tomcat.gif" height="92" width="130" border="0" alt="The Mighty Tomcat - MEOW!"></td>
    <td align="left" valign="top">
    <table>
    <tr><td align="left" valign="top"><b><%= application.getServerInfo() %></b></td></tr>
    </table>
    </td>
    <td align="right"><img src="jakarta-banner.gif" height="48" width="505" border="0" alt="The Jakarta Project"></td>
    </tr>
    </table>
    <br>
    <table>
    <tr>
    <!-- Table of Contents -->
    <td valign="top">
    <table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
    <tr>
    <td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
    <font face="Verdana" size="+1"><i>Administration</i>      </font>
    </td>
    </tr>
    <tr>
    <td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
    Tomcat Administration<br>
    Tomcat Manager<br>
    </td>
    </tr>
    </table>
    <br>
    <table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
    <tr>
    <td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
    <font face="Verdana" size="+1"><i>Documentation</i>      </font>
    </td>
    </tr>
    <tr>
    <td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
    Tomcat Documentation<br>
    </td>
    </tr>
    </table>
    <br>
    <table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
    <tr>
    <td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
    <font face="Verdana" size="+1"><i>Tomcat Online</i>      </font>
    </td>
    </tr>
    <tr>
    <td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
    Home Page<br>
    Bug Database<br>
    Users Mailing List<br>
    Developers Mailing List<br>
    IRC<br>
    </td>
    </tr>
    </table>
    <br>
    <table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
    <tr>
    <td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
    <font face="Verdana" size="+1"><i>Examples</i>      </font>
    </td>
    </tr>
    <tr>
    <td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
    JSP Examples<br>
    Servlet Examples<br>
    WebDAV capabilities<br>
    </td>
    </tr>
    </table>
    <br>
    <table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolor="#000000">
    <tr>
    <td bgcolor="#D2A41C" bordercolor="#000000" align="left" nowrap>
    <font face="Verdana" size="+1"><i>Miscellaneous</i>      </font>
    </td>
    </tr>
    <tr>
    <td bgcolor="#FFDC75" bordercolor="#000000" nowrap>
    Sun's Java Server Pages Site<br>
    Sun's Servlet Site<br>
    </td>
    </tr>
    </table>
    </td>
    <td>     </td>
    <!-- Body -->
    <td align="left" valign="top">
    <p><center><b>If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!</b></center></p>
    <p>As you may have guessed by now, this is the default Tomcat home page. It can be found on the local filesystem at:
    <blockquote>
    <p class="code">$CATALINA_HOME/webapps/ROOT/index.html</p>
    </blockquote>
    </p>
    <p>where "$CATALINA_HOME" is the root of the Tomcat installation directory. If you're seeing this page, and you don't think you should be, then either you're either a user who has arrived at new installation of Tomcat, or you're an administrator who hasn't got his/her setup quite right. Providing the latter is the case, please refer to the Tomcat Documentation for more detailed setup and administration information than is found in the INSTALL file.</p>
    <p><b>NOTE: For security reasons, using the administration webapp
    is restricted to users with role "admin". The manager webapp
    is restricted to users with role "manager".</b>
    Users are defined in <code>$CATALINA_HOME/conf/tomcat-users.xml</code>.</p>
    <p>Included with this release are a host of sample Servlets and JSPs (with associated source code), extensive documentation (including the Servlet 2.3 and JSP 1.2 API JavaDoc), and an introductory guide to developing web applications.</p>
    <p>Tomcat mailing lists are available at the Jakarta project web site:</p>
    <ul>
    <li><b>[email protected]</b> for general questions related to configuring and using Tomcat</li>
    <li><b>[email protected]</b> for developers working on Tomcat</li>
    </ul>
    <p>Thanks for using Tomcat!</p>
    <p align="right"><font size=-1><img src="tomcat-power.gif" width="77" height="80"></font><br>
    <font size=-1>Copyright &copy; 1999-2002 Apache Software Foundation</font><br>
    <font size=-1>All Rights Reserved</font> <br>
     </p>
    <p align="right"> </p>
    </td>
    </tr>
    </table>
    </body>
    </html>

    I ended up uninstalling every java this and that.. and tomcat.
    Then installing only the j2sdk1.4.0_03 SDK.
    Then set up JAVA_HOME for all users and modified the path with full path to the bin (c:\j2sdk1.4.0_03\bin)
    Lastly I reinstalled tomcat and, voila, everything was working.
    It can be quite maddening when you THINK you did everything by the boook and something doesn't work. When you replied and confirmed that I was on the right track.. uninstalling and trying yet again became les frustrating an option.
    Thanks.
    BTW- I needed this env to do the projects in what sems to be a very interesting book.. "macromedia Flash MC application design and development" by Jessica Speigel .. published by New Riders.
    Her flash help website is at www.were-here.com.. the projects in the book are for flash-based multiplayer games and multi-user formums and such.

  • Error while running ejbc. Fatal error from EJB Compiler ---- Error while pr

    Hi!
    I was deploying a test application for a session bean with sun 1 studio 5 and I started getting this message while deploying.
    I had tested the bean previously and I had no problems.
    I found this in the sun app server 7 release notes, but I don't understand what I'm supposed to do...
    "Deployment of CMP beans fails.
    The following error is thrown because there are no <query-params> entries in the container-managed persistence (CMP) bean in sun-ejb-jar.xml file:
    Error while running ejbc. Fatal error from EJB Compiler ---- Error while processing CMP beans.
    Solution
    Even if it isn't necessary for the CMP beans, add the query-params tag for finders in the sun-ejb-jar.xml file with the empty parameters."
    Here is my sun-ejb-jar.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd">
    <sun-ejb-jar>
    <enterprise-beans>
    <name>GestorDoBanco_EJBModule</name>
    <ejb>
    <ejb-name>Cliente</ejb-name>
    <jndi-name>ejb/Cliente</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Cliente.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>ClienteAssociadoAConta</ejb-name>
    <jndi-name>ejb/ClienteAssociadoAConta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/ClienteAssociadoAConta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Conta</ejb-name>
    <jndi-name>ejb/Conta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Conta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>GestorDoBanco</ejb-name>
    <jndi-name>ejb/GestorDoBanco</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003</ejb-name>
    <jndi-name>ejb/MensagemM003</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM003Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012</ejb-name>
    <jndi-name>ejb/MensagemM012</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM012Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM103</ejb-name>
    <jndi-name>ejb/MensagemM103</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM103.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM112</ejb-name>
    <jndi-name>ejb/MensagemM112</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM112.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Registo</ejb-name>
    <jndi-name>ejb/Registo</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Registo.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoConfirmada</ejb-name>
    <jndi-name>ejb/TransaccaoConfirmada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoConfirmada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoFinalizada</ejb-name>
    <jndi-name>ejb/TransaccaoFinalizada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoFinalizada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoIniciada</ejb-name>
    <jndi-name>ejb/TransaccaoIniciada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoIniciada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <pm-descriptors>
    <pm-descriptor>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    <pm-class-generator>com.iplanet.ias.persistence.internal.ejb.ejbc.JDOCodeGenerator</pm-class-generator>
    <pm-mapping-factory>com.iplanet.ias.cmp.NullFactory</pm-mapping-factory>
    </pm-descriptor>
    <pm-inuse>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    </pm-inuse>
    </pm-descriptors>
    <cmp-resource>
    <jndi-name>mysqlpmanager</jndi-name>
    <default-resource-principal>
    <name>bes</name>
    <password>besbes</password>
    </default-resource-principal>
    </cmp-resource>
    </enterprise-beans>
    </sun-ejb-jar>
    Thanks in advance for any help.
    Nuno

    http://docs.sun.com/source/817-2175-10/decmp.html
    Please go to the above docs and look thru the examples given in it.
    Example 2
    This query returns all products in a specified price range. It defines two query parameters which are the lower and upper bound for the price: double low, double high. The filter compares the query parameters with the price field:
    "low < price && price < high"
    The finder element of the sun-ejb-jar.xml file would look like this:
    <finder>
    <method-name>findInRange</method-name>
    <query-params>double low, double high</query-params>
    <query-filter>low < price && price &lt
    high</query-filter
    </finder>
    I hope this hepls. In your case u just have to make it null.

  • 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

  • Compiler error using T extends S

    The following produces an error on the last call to getWrap.
    incompatible types found: A.Wrap<java.util.HashMap> required: A.Wrap<java.util.Map>
    Is there anything in the declaration of getWrap to signify that S can be a super class of T?
    public class A {
        public static <S, T extends S> Wrap<S> getWrap(T t) {
            return new Wrap<S>(t);
        public static void main(String[] args) {
            Wrap<HashMap> map1 = getWrap(new HashMap()); // compiles
            Wrap<Map> map2 = getWrap((Map) new HashMap()); // compiles
            Wrap<Map> map3 = getWrap(new HashMap()); // incompatible types
        public static class Wrap<E> {
            private final E e;
            public Wrap(E e) {
                this.e = e;
    }

    From what you are saying, in this case, it appears the T extends S adds no value.
    Using explicit paratised types is a bit like casting, in this case casting to a super class.
    My preference would be for
    Wrap<Map> map3 = getWrap((Map) new HashMap());I have noted before that Java does not consider a desired return type. Some languages do, but imagine this is hard to get right. What I imagined was a return type of getWrap(new HashMap()) of something like Wrap<? super HashMap>.
    I have seen generic work very well for return types in other places, however the return type was determined by the IDE rather then the compiler.
    e.g.
    public interface Visitor<V,T> {
        public T visit(V visited) throws RuntimeException;
    // visits an object of type V and triggers optional events of type E
    public interface VisitProxy <V, E> {
        public <T> T visit(Visitor<V, T> visitor, Notifier<E> notifier) throws RuntimeException;
    public class CollectionProxy<E> implements Collection<E>, VisitProxy<Collection<E>, Event<Integer, E>> {
        private final VisitProxy<Collection<E>> proxy;
        public boolean add(E e) {
             return proxy.visit(new <Ctrl-Space>
    // The IDE fills in the following.
            return proxy.visit(new Visitor<Collection<E>, Event<Integer, E>, Boolean>() {
                public Boolean visit(Collection<E> es, Notifier<Event<Integer, E>> notifier) throws RuntimeException {
                    return null;
            });Another key turns the anonymous class into a method so I can make it static.
    Here the IDE is determining the approriate return type. In this case Boolean which can be unboxed into boolean.
    Thank you to everyone who replied.
    BTW: This is a simplified example based on a real program.

  • Why am I receiving Null pointer Exception Error.

    why am I receiving Null pointer Exception Error.
    Hi I am developing a code for login screen. There is no syntex error as such ut I am receving the aove mentioned error. Can some one please help me ??
    ------------ Main.java------------------
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class Main implements ActionListener
    Frame mainf;
    MenuBar mb;
    MenuItem List,admitform,inquiry,exit,helpn;
    Menu newm,update,help;
    Inquiry iq;
    Admit ad;
    // HosHelp hp;
    Howuse hu;
    Register reg;
    Main()
    mainf=new Frame(" Engg College V/S Mumbai University ");
         mb=new MenuBar();
         newm=new Menu(" New ");
         update=new Menu(" Update ");
         help=new Menu(" Help ");
         List=new MenuItem("List");
         admitform=new MenuItem("Admit");
         inquiry=new MenuItem("Inquiry");
         exit=new MenuItem("Exit");
         helpn=new MenuItem("How to Use?");
    newm.add(List);
                   newm.add(admitform);
    newm.add(inquiry);
                   newm.add(exit);
         help.add(helpn);
              mb.add(newm);
              mb.add(update);
              mb.add(help);
    mainf.setMenuBar(mb);
                   exit.addActionListener(this);
                   List.addActionListener(this);
         inquiry.addActionListener(this);
         admitform.addActionListener(this);
    helpn.addActionListener(this);
         mainf.setSize(400,300);
         mainf.setVisible(true);
    public void actionPerformed(ActionEvent ae)
    if (ae.getSource()==List)
              reg=new Register();
         if(ae.getSource()==inquiry)
         iq=new Inquiry();
    if(ae.getSource()==admitform)
         ad=new Admit();
              if(ae.getSource()==helpn)
              hu=new Howuse();
              if(ae.getSource()==exit)
         mainf.setVisible(false);
    public static void main(String args[])
              new Main();
    -------------Register.java---------------------------
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class Register implements ActionListener//,ItemListener
    Label id,name,login,pass,repass;
    Button ok,newu,cancel,check;
    Button vok,iok,lok,mok,sok; //buttons for dialog boxes
    TextField idf,namef,loginf,passf,repassf;
    Dialog valid,invlog,less,mismat,acucreat;
    Frame regis;
    Checkbox admin,limit;
    CheckboxGroup type;
    DBconnect db;
    Register()
         db=new DBconnect();
    regis=new Frame("Registeration Form");
              type=new CheckboxGroup();
              admin=new Checkbox("Administrator",type,true);
              limit=new Checkbox("Limited",type,false);
              id=new Label("ID :");
    name=new Label("Name :");
         login=new Label("Login :");
         pass=new Label("Password :");
         repass=new Label("Retype :");
    idf =new TextField(20); idf.setEnabled(false);
         namef=new TextField(30); namef.setEnabled(false);
    loginf=new TextField(30); loginf.setEnabled(false);
         passf=new TextField(30); passf.setEnabled(false);
         repassf=new TextField(30); repassf.setEnabled(false);
    ok=new Button("OK"); ok.setEnabled(false);
         newu=new Button("NEW");
    cancel=new Button("Cancel");
         check=new Button("Check Login"); check.setEnabled(false);
    vok=new Button("OK");
         iok=new Button("OK");
              lok=new Button("OK");
              mok=new Button("OK");
              sok=new Button("OK");
    valid=new Dialog(regis,"Login name is valid !");
         invlog=new Dialog(regis,"Login name already exist!");
         less=new Dialog(regis,"Password is less than six characters !");
    mismat=new Dialog(regis,"password & retyped are not matching !");
    acucreat=new Dialog(regis,"You have registered successfully !");
         regis.setLayout(null);
    //     regis.setBackground(Color.orange);
    valid.setLayout(new FlowLayout());
         invlog.setLayout(new FlowLayout());
         less.setLayout(new FlowLayout());
         mismat.setLayout(new FlowLayout());
    acucreat.setLayout(new FlowLayout());
    id.setBounds(35,50,80,25); //(left,top,width,hight)
    idf.setBounds(125,50,40,25);
    name.setBounds(35,85,70,25);
    namef.setBounds(125,85,150,25);
    login.setBounds(35,120,80,25);
    loginf.setBounds(125,120,80,25);
    check.setBounds(215,120,85,25);
         pass.setBounds(35,155,80,25);
    passf.setBounds(125,155,80,25);
    repass.setBounds(35,190,80,25);
    repassf.setBounds(125,190,80,25);
    admin.setBounds(35,225,100,25);
    limit.setBounds(145,225,100,25);
              ok.setBounds(45,265,70,25);
         newu.setBounds(135,265,70,25);
    cancel.setBounds(225,265,70,25);
         passf.setEchoChar('*');
    repassf.setEchoChar('*');
         regis.add(id);
         regis.add(idf);
    regis.add(name);
         regis.add(namef);
         regis.add(login);
         regis.add(loginf);
         regis.add(check);
    regis.add(pass);
         regis.add(passf);
    regis.add(repass);
         regis.add(repassf);
         regis.add(ok);
         regis.add(newu);
         regis.add(cancel);
    regis.add(admin);
         regis.add(limit);
    valid.add(vok);
         invlog.add(iok);     
         less.add(lok);
         mismat.add(mok);
    acucreat.add(sok);
    ok.addActionListener(this);
         newu.addActionListener(this);
    check.addActionListener(this);
    cancel.addActionListener(this);
         // limit.addItemListener(this);
         //admin.addItemListener(this);
              vok.addActionListener(this);
              iok.addActionListener(this);
         lok.addActionListener(this);
         mok.addActionListener(this);
         sok.addActionListener(this);
    regis.setLocation(250,150);
    regis.setSize(310,300);
    regis.setVisible(true);
         public void actionPerformed(ActionEvent ae)
         if(ae.getSource()==check)
              try{
                   String s2=loginf.getText();
    ResultSet rs=db.s.executeQuery("select* from List");
                        while(rs.next())
                   if(s2.equals(rs.getString(2).trim()))
    //                    invlog.setBackground(Color.orange);
                             invlog.setLocation(250,150);
                             invlog.setSize(300,100);
                   cancel.setEnabled(false);
    ok.setEnabled(false);
    check.setEnabled(false);
                        invlog.setVisible(true);
                             break;
                        else
                        //     valid.setBackground(Color.orange);
                             valid.setLocation(250,150);
                             valid.setSize(300,100);
                   cancel.setEnabled(false);
    ok.setEnabled(false);
    check.setEnabled(false);
                   valid.setVisible(true);
                        }catch(Exception e)
                   e.printStackTrace();
    if(ae.getSource()==newu)
         try{
              ResultSet rs=db.s.executeQuery("select max(ID) from List");
         while(rs.next())
    String s1=rs.getString(1).trim();
                   int i=Integer.parseInt(s1);
    i++;
                   String s2=""+i;
    idf.setText(s2);
                   newu.setEnabled(false);
                   namef.setText(""); namef.setEnabled(true);
              loginf.setText(""); loginf.setEnabled(true);
              passf.setText(""); passf.setEnabled(true);
              repassf.setText(""); repassf.setEnabled(true);
              ok.setEnabled(true);
                   check.setEnabled(true);
                   }catch(Exception e)
              e.printStackTrace();
         if(ae.getSource()==ok)
              try
              String s1=idf.getText();
              String s2=loginf.getText();
              String s3=passf.getText();
         String s4=repassf.getText();
         int x=Integer.parseInt(s1);
         int t;
         if(type.getSelectedCheckbox()==admin)
              t=1;
              else
              t=0;
    ResultSet rs=db.s1.executeQuery("select* from List");
                   while(rs.next())
                   if(s2.equals(rs.getString(2).trim()))
                        invlog.setBackground(Color.orange);
                        invlog.setLocation(250,150);
                        invlog.setSize(300,100);
                   cancel.setEnabled(false);
    ok.setEnabled(false);
    check.setEnabled(false);
                        invlog.setVisible(true);
                        break;
                   else
                        if (s3.length()<6)
                        less.setBackground(Color.orange);
                             less.setLocation(250,150);
                             less.setSize(300,100);
                   ok.setEnabled(false);
                        cancel.setEnabled(false);
                        check.setEnabled(false);
                        less.setVisible(true);
    else if(!(s3.equals(s4)))
                        mismat.setBackground(Color.orange);
                        mismat.setLocation(250,150);
                        mismat.setSize(300,100);
                        ok.setEnabled(false);
                        cancel.setEnabled(false);
                        check.setEnabled(false);
                        mismat.setVisible(true);
                        else
    db.s1.execute("insert into User values("+x+",'"+s2+"','"+s3+"',"+t+")");
                        acucreat.setBackground(Color.orange);
                        acucreat.setLocation(250,150);
                        acucreat.setSize(300,100);
                        regis.setVisible(false);
                        acucreat.setVisible(true);
                   }//else
              }//while
                   } //try
              catch(Exception e1)
              // e1.printStackTrace();
              if (ae.getSource()==cancel)
              regis.setVisible(false);
              if (ae.getSource()==vok)
              ok.setEnabled(true);
                   cancel.setEnabled(true);
    check.setEnabled(true);
                   valid.setVisible(false);
              if (ae.getSource()==iok)
              ok.setEnabled(true);
                   cancel.setEnabled(true);
    check.setEnabled(true);
                   invlog.setVisible(false);
              if (ae.getSource()==lok)
              less.setVisible(false);
                   cancel.setEnabled(true);
    ok.setEnabled(true);
    check.setEnabled(true);
              if (ae.getSource()==mok)
              mismat.setVisible(false);
                   cancel.setEnabled(true);
    ok.setEnabled(true);
    check.setEnabled(true);
    if (ae.getSource()==sok)
              acucreat.setVisible(false);
              ok.setEnabled(false);
                   newu.setEnabled(true);
                   regis.setVisible(true);
         public static void main(String args[])
         new Register();
    -----------DBConnect.java------------------------------------
    import java.sql.*;
    public class DBconnect
    Statement s,s1;
    Connection c;
    public DBconnect()
    try
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              c=DriverManager.getConnection("jdbc:odbc:Sonal");
              s=c.createStatement();
    s1=c.createStatement();
         catch(Exception e)
         e.printStackTrace();
    ----------Login.java----------------
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class Login implements ActionListener
    Frame log;
    Label login,pass;
    TextField loginf,passf;
    Button ok,cancel;
    Dialog invalid;
    Button iok;
    Register reg;
    DBconnect db;
    Main m;
    Login()
    db=new DBconnect();
         log=new Frame();
         log.setLocation(250,210);
         login=new Label("Login :");
    pass=new Label("Password :");
         loginf=new TextField(20);
         passf=new TextField(20);
         passf.setEchoChar('*');
         ok=new Button("OK");
         // newu=new Button("New User");
         cancel=new Button("CANCEL");
         iok=new Button(" OK ");
    invalid=new Dialog(log,"Invalid User!");
    //log.setBackground(Color.cyan);
    //log.setForeground(Color.black);
         log.setLayout(null);
         // iok.setBackground(Color.gray);
         invalid.setLayout(new FlowLayout());
         login.setBounds(35,50,70,25); //(left,top,width,hight)
         loginf.setBounds(105,50,100,25);
         pass.setBounds(35,85,70,25);
         passf.setBounds(105,85,70,25);
         ok.setBounds(55,130,70,25);
    // newu.setBounds(85,120,80,25);
    cancel.setBounds(145,130,70,25);
    log.add(login);
    log.add(loginf);
    log.add(pass);
    log.add(passf);
    log.add(ok);
    // log.add(newu);
    log.add(cancel);
         invalid.add(iok);//,BorderLayout.CENTER);
    ok.addActionListener(this);
    // newu.addActionListener(this);
    cancel.addActionListener(this);
         iok.addActionListener(this);
    log.setSize(300,170);
    log.setVisible(true);
    public void actionPerformed(ActionEvent a)
    if(a.getSource()==ok)
         try{
              String l=loginf.getText();
              String p=passf.getText();
              ResultSet rs=db.s.executeQuery("select * from List");
              while(rs.next())
              if(l.equals(rs.getString(2).trim())&& p.equals(rs.getString(3).trim()))
                        String tp=rs.getString(4).trim();
                             int tp1=Integer.parseInt(tp);
    log.setVisible(false);
    if(tp1==1)
                             m=new Main();
                        // m.List.setEnabled(true);
                             else
                             m=new Main();
                             m.List.setEnabled(false);
                        break;
    else
                   invalid.setBackground(Color.orange);
                   invalid.setSize(300,100);
                   invalid.setLocation(250,210);
                   cancel.setEnabled(false);
              ok.setEnabled(false);
                   invalid.setVisible(true);
                   }catch(Exception e1)
                   e1.printStackTrace();
         if (a.getSource()==cancel)
         log.setVisible(false);
         if (a.getSource()==iok)
         invalid.setVisible(false);
         loginf.setText("");
         passf.setText("");
         cancel.setEnabled(true);
    ok.setEnabled(true);
         public static void main(String[] args)
         new Login();
    -------------inquiry.java---------------------------------
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.util.Date;
    import java.text.*;
    import java.sql.*;
    public class Inquiry implements ActionListener
    Frame inqry;
    Label name,addr;
    TextField namef,addrf;
    Button ok,cancel,dok;
    Dialog invalid;
    Frame result; //Result of the inquiry....
    Label lrname,lraddr,lward,lrdate,lcdate;
    TextField rname,raddr,ward,rdate,cdate;
    Date d;
    DateFormat df;
    Button rok,rcancel;
    Dialog success;
    Button rdok;
    DBconnect db;
    Inquiry()
              db=new DBconnect();
              inqry=new Frame("Inquiry Form");
              inqry.setLayout(null);
    inqry.setBackground(Color.cyan);
              name=new Label(" NAME ");
              addr=new Label("ADDRESS");
              namef=new TextField(20);
              addrf=new TextField(20);
              ok=new Button("OK");
              cancel=new Button("CANCEL");
              dok=new Button("OK");
              invalid=new Dialog(inqry,"Invalid Name or Address !");
              invalid.setSize(300,100);
         invalid.setLocation(300,180);
              invalid.setBackground(Color.orange);
              invalid.setLayout(new FlowLayout());
    result=new Frame(" INQUIRY RESULT "); //Result Window......
    result.setLayout(null);
    result.setBackground(Color.cyan);
    lcdate=new Label(" DATE ");
         lrname=new Label(" NAME ");
    lraddr=new Label(" ADDRESS ");
         lward=new Label(" WARD ");
         lrdate=new Label(" ADMIT-DATE ");
    cdate=new TextField(10);
         rname=new TextField(20);
    rname.setEnabled(false);
         raddr=new TextField(20);
         raddr.setEnabled(false);
         ward=new TextField(20);
         ward.setEnabled(false);
         rdate=new TextField(10);
         rdate.setEnabled(false);
         cdate=new TextField(20);
         d=new Date();
         df=DateFormat.getDateInstance(DateFormat.MEDIUM,Locale.KOREA);
         cdate.setText(df.format(d));
         cdate.setEnabled(false);
    rok=new Button(" OK ");
         rcancel=new Button("CANCEL");
              name.setBounds(40,50,50,25);
    namef.setBounds(120,50,130,25);
    addr.setBounds(40,100,60,25);
    addrf.setBounds(120,100,80,25);
    ok.setBounds(60,145,70,25);
              cancel.setBounds(140,145,70,25);
              lcdate.setBounds(200,50,60,25); //Result Window......
    cdate.setBounds(270,50,80,25);      
    lrname.setBounds(35,85,70,25);
    rname.setBounds(140,85,180,25);
    lraddr.setBounds(35,120,80,25);
         raddr.setBounds(140,120,100,25);
    lward.setBounds(35,155,80,25);
    ward.setBounds(140,155,100,25);
    lrdate.setBounds(30,190,80,25);
    rdate.setBounds(140,190,80,25);
    rok.setBounds(70,240,70,25);
    rcancel.setBounds(170,240,70,25);
              inqry.add(name);
              inqry.add(namef);
              inqry.add(addr);
              inqry.add(addrf);
              inqry.add(ok);
              inqry.add(cancel);
    invalid.add(dok);
         result.add(lcdate); //Result Window......
         result.add(cdate);
              result.add(lrname);
              result.add(rname);
              result.add(lraddr);
              result.add(raddr);
              result.add(lward);
              result.add(ward);
              result.add(lrdate);
              result.add(rdate);
              result.add(rok);
              result.add(rcancel);
         ok.addActionListener(this);
         cancel.addActionListener(this);
         dok.addActionListener(this);
    rok.addActionListener(this); //Result Window......
         rcancel.addActionListener(this);
         inqry.setSize(280,180);
         inqry.setLocation(300,180);
         inqry.setVisible(true);
              result.setSize(400,280); //Result Window......
         result.setLocation(200,150);
         result.setVisible(false);
              public void actionPerformed(ActionEvent ae)
                   if(ae.getSource()==ok)
                   try
                             String nm=namef.getText();
                             String ad=addrf.getText();
                             inqry.setVisible(false);
                             ResultSet rs=db.s.executeQuery("select * from Billinformation");
                             while(rs.next())
                                  String nm1=rs.getString(2).trim();
                                  String ad1=rs.getString(3).trim();
                                  int k=0;
                                  if((nm1.equals(nm))&&(ad1.equals(ad)))
                             String adm=rs.getString(5).trim();
                             String wr=rs.getString(6).trim();
                             String bd=rs.getString(8).trim();
                                  String wrb=wr+"-"+bd;
    result.setVisible(true);
                                  rname.setText(nm1);
                             raddr.setText(ad1);
                             ward.setText(wrb);
                             rdate.setText(adm);
    k=1;
                                  break;
                                  }//if
                             else if(k==1)
                             invalid.setVisible(true);
                             }//while
    }//try
                             catch(Exception e)
                             e.printStackTrace();
                        } //getsource ==ok
                   if(ae.getSource()==cancel)
    inqry.setVisible(false);
                        if(ae.getSource()==rok) //Result Window......
                        namef.setText("");
                             addrf.setText("");
                             result.setVisible(false);
                        inqry.setVisible(true);
    if(ae.getSource()==rcancel)
    result.setVisible(false);
                        if(ae.getSource()==dok)
                        namef.setText("");
                             addrf.setText("");
                             invalid.setVisible(false);
                             inqry.setVisible(true);
         public static void main(String args[])
              new Inquiry();
    PLease Help me !!
    I need this urgently.

    can you explain what your program tries to do... and
    at where it went wrong..Sir,
    We are trying to make an project where we can make a person register in our data base & after which he/she can search for other user.
    The logged in user can modify his/her own data but can view other ppl's data.
    We are in a phase of registering the user & that's where we are stuck. The problem is that after the login screen when we hit register (OK- button) the data are not getting entered in the data base.
    Can u please help me??
    I am using "jdk1.3' - studnet's edition.
    I am waiting for your reply.
    Thanks in advance & yr interest.

  • PL/SQL Procedure Compilation error

    Hi,
    <br><br>
    I have wrote a PL/SQL Stored Procedure to read a couple of table values and then output some data to a file, when I create the procedure on the database I get the following compilation error:
    <br><br>
    LINE/COL ERROR<br>
    -------- -----------------------------------------------------------------<br>
    25/7 PLS-00103: Encountered the symbol ")" when expecting one of the<br>
    following:<br>
    ( - + case mod new null <an identifier><br>
    <a double-quoted delimited-identifier> <a bind variable> avg<br>
    count current max min prior sql stddev sum variance execute<br>
    forall merge time timestamp interval date<br>
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe<br>
    The symbol "null" was substituted for ")" to continue.<br>
    <br>
    The script is below: <br><br>
    CREATE OR REPLACE <br>
         PROCEDURE TDF_EXTRACT AS<br>
    v_file UTL_FILE.FILE_TYPE;<br>
    YEAR number(4);<br>
    Q1_VALUE NUMBER(7);<br><br>
    BEGIN<br><br>
    SELECT PERSON_VALUE<br>
    INTO     Q1_VALUE<br>
    FROM PERSON<br>
    WHERE ID = 79;<br><br>
    SELECT EXTRACT(YEAR FROM SYSDATE)<br>
    INTO YEAR <br>
    FROM DUAL;<br><br>
    v_file := UTL_FILE.FOPEN(location => '/tmp',<br>
    filename => 'extratced_values.txt',<br>
    open_mode => 'W',<br>
    max_linesize => 32767);<br><br>
    UTL_FILE.PUT_LINE(v_file,<br>
    'Q1'     ||     YEAR     ||     '23'     ||     Q1_VALUE || '\r\n' ||<br>
              );<br><br>
    UTL_FILE.FCLOSE(v_file);<br><br>
    END TDF_EXTRACT;

    'Q1' || YEAR || '23' || Q1_VALUE || '\r\n' ||
    );Syntax error during concatenation, maybe?
    C.
    Message was edited by:
    cd

  • Compilation error in PL/SQL

    Hi All,
    Please find the strange query situation in PLSQL.
    If i run the query without PLSQL block (i.e. declar begin end) it runs well and insert data
    in table but if put the same query in PLSQL block it gives compilation error.
    Following is the spool
    SQL> select * from v$version;
    BANNER                                                                                                                                     
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production                                                                                 
    PL/SQL Release 8.1.7.4.0 - Production                                                                                                      
    CORE     8.1.7.0.0     Production                                                                                                                  
    TNS for IBM/AIX RISC System/6000: Version 8.1.7.4.0 - Production                                                                           
    NLSRTL Version 3.4.1.0.0 - Production                                                                                                      
    SQL> insert into smcbom_load_hours_temp
      2  select data_set_name,deptclass,dept,smcbom_flex_budget.get_period(v_date) v_period,sum(v_hr),-1,sysdate,-1,sysdate
      3  from (
      4  select plan_level,sp.data_set_name,
      5  sp.value1,smcbom_flex_budget.calculate_period_days(sp.period1),inweight ,
      6  usagerate ,operationseq,percent,
      7  sbov.group_id,sp.alloy,sp.planner_code,
      8  sbov.days,sbov.totaloffsetdays,deptclass,dept,
      9  decode(plan_level,1,(sp.value14/smcbom_flex_budget.calculate_period_days(sp.period14)) * (percent/100) * inweight * usagerate *
    10  (SELECT MAX(INWEIGHT)
    11  FROM  SMCBOM_BOM_OPERATION_VIEW
    12  WHERE ALLOY=sbov.alloy
    13  AND   PLANNER_CODE=sbov.planner_code
    14  AND   PLAN_LEVEL = 0
    15  AND   GROUP_ID = sbov.group_id ),
    16  0,(sp.value14/smcbom_flex_budget.calculate_period_days(sp.period14)) * (percent/100) * inweight * usagerate ,
    17  1) v_hr,
    18  smcbom_flex_budget.get_start_date(sp.period14)+sbov.totaloffsetdays v_date,
    19  sum(-sbov.totaloffsetdays)
    20  over (partition by sp.alloy,sp.planner_code,sbov.group_id
    21  order by plan_level asc,operationseq desc)  new_offset
    22  from smcbom_bom_operation_view sbov,smcbom_sales_prod_forecasts sp
    23  where sbov.alloy= sp.alloy
    24  and   sbov.planner_code=sp.planner_code
    25  and group_id=521136
    26  )
    27  group by data_set_name,deptclass,dept,smcbom_flex_budget.get_period(v_date);
    23 rows created.
    SQL> commit;
    Commit complete.
    SQL> declare
      2  begin
      3  insert into smcbom_load_hours_temp
      4  select data_set_name,deptclass,dept,smcbom_flex_budget.get_period(v_date) v_period,sum(v_hr),-1,sysdate,-1,sysdate
      5  from (
      6  select plan_level,sp.data_set_name,
      7  sp.value1,smcbom_flex_budget.calculate_period_days(sp.period1),inweight ,
      8  usagerate ,operationseq,percent,
      9  sbov.group_id,sp.alloy,sp.planner_code,
    10  sbov.days,sbov.totaloffsetdays,deptclass,dept,
    11  decode(plan_level,1,(sp.value14/smcbom_flex_budget.calculate_period_days(sp.period14)) * (percent/100) * inweight * usagerate *
    12  (SELECT MAX(INWEIGHT)
    13  FROM  SMCBOM_BOM_OPERATION_VIEW
    14  WHERE ALLOY=sbov.alloy
    15  AND   PLANNER_CODE=sbov.planner_code
    16  AND   PLAN_LEVEL = 0
    17  AND   GROUP_ID = sbov.group_id ),
    18  0,(sp.value14/smcbom_flex_budget.calculate_period_days(sp.period14)) * (percent/100) * inweight * usagerate ,
    19  1) v_hr,
    20  smcbom_flex_budget.get_start_date(sp.period14)+sbov.totaloffsetdays v_date,
    21  sum(-sbov.totaloffsetdays)
    22  over (partition by sp.alloy,sp.planner_code,sbov.group_id
    23  order by plan_level asc,operationseq desc)  new_offset
    24  from smcbom_bom_operation_view sbov,smcbom_sales_prod_forecasts sp
    25  where sbov.alloy= sp.alloy
    26  and   sbov.planner_code=sp.planner_code
    27  and group_id=521136
    28  )
    29  group by data_set_name,deptclass,dept,smcbom_flex_budget.get_period(v_date);
    30  end;
    31  /
    (SELECT MAX(INWEIGHT)
    ERROR at line 12:
    ORA-06550: line 12, column 2:
    PLS-00103: Encountered the symbol "SELECT" when expecting one of the following:
    ( - + mod not null others <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string>
    ORA-06550: line 22, column 6:
    PLS-00103: Encountered the symbol "(" when expecting one of the following:
    , from
    SQL> spool off;

    In some versions of Oracle (certainly all of the 8.x versions and earlier, and possibly some of the earlier 9 versions) the SQL parsers in the SQL engine and in the PL/SQL engine were different. Some features that worked directly in SQL did not work in PL/SQL. Scalar sub-queries were one of those things.
    You have three options. You can try to re-write the insert statement to eliminate the PL/SQL unimplemented feature. You can create a view in the database for the SELECT part of the insert statement then use that view in the insert. finally, and least desirable, you can build the whole statment as a string, and use EXECUTE IMMEDIATE to run it in PL/SQL.
    HTH
    John

Maybe you are looking for