Help finding this error!!

could some one please help me with finding this one error.. i dont understand the problem.. this is the error
C:\dateDiff.java:1: 'class' or 'interface' expected
public static long dateDiff (Date dateX, Date dateY) {
^
1 error
this is the code
public static long dateDiff (Date dateX, Date dateY) {
long difference = reducePrecision(dateX, Calendar.DAY_OF_MONTH).getTime() -
reducePrecision(dateY, Calendar.DAY_OF_MONTH).getTime();
long daysBetween = (difference + MILLIS_IN_DAY / 2) / MILLIS_IN_DAY;
return daysBetween;
private static Date reducePrecision (Date date, int maxPrecision) {
Calendar cal = Calendar.getInstance();
cal.setTime(date);
switch (maxPrecision) {
case Calendar.YEAR:
cal.set(Calendar.MONTH, 0);
case Calendar.MONTH:
cal.set(Calendar.DAY_OF_MONTH, 1);
case Calendar.DAY_OF_MONTH:
cal.set(Calendar.HOUR_OF_DAY, 0);
case Calendar.HOUR:
cal.set(Calendar.MINUTE, 0);
cal.set(Calendar.AM_PM, Calendar.AM);
case Calendar.HOUR_OF_DAY:
cal.set(Calendar.MINUTE, 0);
case Calendar.MINUTE:
cal.set(Calendar.SECOND, 0);
case Calendar.SECOND:
cal.set(Calendar.MILLISECOND, 0);
break;
default:
throw new IllegalArgumentException(
"Unsupported maxPrecision: " + maxPrecision);
return cal.getTime();

The start of a class definition must begin with a class declaration (package and import statements notwithstanding). Example:public class DateUtil {
    // your class members
}

Similar Messages

  • Inquiring minds may find this error code helpful: 0x207

    Hopefully I'm asking this in the right forum. I just downloaded the update for Microsoft Remote Desktop for Windows Phone 8.1 (I am actually running Denim on a 1520 but that may not matter). The version is 8.1.8.13 released 3/4/2015. I am trying to connect
    to a RemoteApp application but I am receiving the following error message shortly after it tries the redirection process (I think it fails at the securing remote connection part after it attemps the redirction to the RemoteApp application collection server):
    Connection error
    We couldn't connect to the remote PC. This might be due to an expired password. If this keeps happening, ask your admin or tech support for help.
    Inquiring minds may find this error code helpful: 0x207
    I am able to connect directly to both the broker server as well as the RemoteApp collection server with this application with the same credentials and am only experiencing this when trying to connect to a RemoteApp application.
    We are running Server 2012 R2 for both the broker/web and the collection servers. We are not using a gateway server as we use an SSL VPN concentrator instead for access outside of our network. We have server farms set up as well in the RemoteApp topology.
    Any info would help or let me know if I'm not posting in the right forum for this issue. I know this is a very recent release so I'm trying to figure out if I should wait for a bug fix or if there's something that I can do on my end.
    Thank you in advance for your time!

    Hi Scott,
    Please check your configuration once again and the certificate must be well configured. Also for accessing RemoteApp there might be the permission issue for your use, recheck once and verify. You can also got through
    this article for information.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I need help finding this hp hard drive for dv6521eo

    I need help finding this hp hard drive and memory  for dv6521eo

    Hi:
    You can purchase any SATA II 2.5" notebook hard drive up to 500 GB in size.
    Memory is PC2-6400.
    Paul

  • Can anyone help with this error? ;At line 102 of file"C:/Program files (x86)/Macromedia/Dreamweaver

    Can anyone help with this error please?;At line 102 of file"C:/Program files (x86)/Macromedia/Dreamweaver 8/Configuration/Objects/Common/Images.js"; TypeError: cmdDOM.parentWindow.setFormItem is not a function

    If Dreamweaver shows a message saying "the following JavaScript error(s) occurred",  it's usually a sign of a corrupt cache file. The first thing you should always be to delete the file cache. If that doesn't work, delete your personal Configuration folder. Please go through the steps mentioned in thread Deleting a corrupted cache file.

  • HT204406 I have received an error message when i try to start iTunes Match, "We coulnd not complete your iTunes Store request.  An unknown error occurred (4001).  Can you help with this error?

    I subscribed to iTunes Match, but after the information is gathered about my iTunes library, i get an error message :  "We could not complete your iTunes Store request.  An unknown error occurred (4001).  Try again later." 
    Can you help fix this error?

    Yesterday I went to settings in my iPhone, Music, turned iTunes Match to "Off".  I then updated Match in iTunes and it worked!  I don't know why, but it worked.

  • Help with this error message: System extenstion cannot be used:The system extension "/System/Library/Extensions/AppleACPIPlatform.kext" was installed improperly and cannot be used. Please try reinstalling it, or contact the product's vendor for an update.

    I have this error message:
    System extension cannot be used
    The system extension “/System/Library/Extensions/AppleACPIPlatform.kext” was installed improperly and cannot be used. Please try reinstalling it, or contact the product’s vendor for an update.
    Please help. Is there a update or how do I reinstall?
    Thanks,
    John

    I submitted the above question, later finding that it has been answered by Buller already.  No one need reply as Buller's answer seems to solve the problem for others, and I'll try that.
    Jim

  • Help Resolve this ERROR please!!!!!!

    I have had an iweb site, however today I have started to receive this error message when I try and view images in the photo gallery. The rest of the site works fine the blog etc. The Error message is
    SORRY
    but we can't find the iWeb page you've requested. It's possible that:
    · The address was entered incorrectly. Check your spelling and try again.
    · The .Mac member of this name has either created a page and removed it or has never published an iWeb site.
    · There is no .Mac member of this name. If you'd like this member name for yourself, sign up for a .Mac account right now and have your own iWeb site in minutes
    Can anyone help me resolve this issue? Is it a fault at Apples end or is it on my system?
    Regards
    madie

    For the past couple of weeks, I've had a similar problem. I've been trying to add a photo page to my iweb site (I already have several photo pages in existence on the site). When I try to publish the new photo page, it gets to the point where it says "publishing will now take place in the background, etc.", but that step never finishes. The folders revert to red, and it looks as though nothing has published. But, when I check the site from outside, the pages with the new link to the new photo page are published, but the link themselves don't work and I get that same message about "Sorry, but we can't find the iweb page......blah, blah, blah. Can anyone help? Why would the existing pages update with the new link, but the actual photo page doesn't seem to publish. Help!

  • Mac Book Crashing Can anyone please help with this error message,  I've run Disk warrior and everthing is coming up fine, so may be a hardware issue, thank you Interval Since Last Panic Report:  22119 sec Panics Since Last Report:          14 Anonymous UU

    I've run Disk warrior, it says all the files and harddrive are fine.
    thanks for your help.  This crashing was happening before I upgraded to Lion
    Interval Since Last Panic Report:  22119 sec
    Panics Since Last Report:          14
    Anonymous UUID:                    1DA2B715-D1E5-4BF1-A47F-D31CBD8C1E78
    Wed Mar  7 13:21:17 2012
    panic(cpu 2 caller 0xffffff7f8098c907): NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0x0a2910de 0x00100000 0x00000000, BAR0 0xd2000000 0xffffff80a0354000 0x0a5480a2, D0, P2/4
    Backtrace (CPU 2), Frame : Return Address
    0xffffff80a398b800 : 0xffffff8000220702
    0xffffff80a398b880 : 0xffffff7f8098c907
    0xffffff80a398b910 : 0xffffff7f80a7ca64
    0xffffff80a398b960 : 0xffffff7f80a7cb24
    0xffffff80a398b9c0 : 0xffffff7f80d29749
    0xffffff80a398bb00 : 0xffffff7f80a9bbad
    0xffffff80a398bb30 : 0xffffff7f80996282
    0xffffff80a398bbe0 : 0xffffff7f80991b84
    0xffffff80a398bdd0 : 0xffffff7f80993639
    0xffffff80a398beb0 : 0xffffff7f8092e484
    0xffffff80a398bf00 : 0xffffff7f820a47d6
    0xffffff80a398bf50 : 0xffffff7f820a4f2a
    0xffffff80a398bf70 : 0xffffff800023db2c
    0xffffff80a398bfb0 : 0xffffff8000820057
          Kernel Extensions in backtrace:
             com.apple.NVDAResman(7.1.8)[94BA87BA-B128-3310-9860-98EC67AB7FAF]@0xffffff7f809 2c000->0xffffff7f80c05fff
                dependency: com.apple.iokit.IOPCIFamily(2.6.8)[F63D4ABE-42DA-33EF-BADD-3415B0CB0179]@0xffff ff7f808b7000
                dependency: com.apple.iokit.IONDRVSupport(2.3.2)[4B3F84DC-18B3-3897-BC56-4E3940878047]@0xff ffff7f8091a000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.2)[FE536983-1897-3D6B-965E-24B5A67080DA]@0 xffffff7f808e2000
             com.apple.nvidia.nv50hal(7.1.8)[7596DB8C-AE9D-3C87-B11A-0ED8F940CAF8]@0xffffff7 f80c06000->0xffffff7f80f27fff
                dependency: com.apple.NVDAResman(7.1.8)[94BA87BA-B128-3310-9860-98EC67AB7FAF]@0xffffff7f809 2c000
             com.apple.driver.AGPM(100.12.42)[380DAA3B-4F08-3152-A3A0-E3F8B6E4B92B]@0xffffff 7f820a3000->0xffffff7f820adfff
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.2)[FE536983-1897-3D6B-965E-24B5A67080DA]@0 xffffff7f808e2000
                dependency: com.apple.iokit.IONDRVSupport(2.3.2)[4B3F84DC-18B3-3897-BC56-4E3940878047]@0xff ffff7f8091a000
                dependency: com.apple.iokit.IOPCIFamily(2.6.8)[F63D4ABE-42DA-33EF-BADD-3415B0CB0179]@0xffff ff7f808b7000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    11D50
    Kernel version:
    Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64
    Kernel UUID: 7B6546C7-70E8-3ED8-A6C3-C927E4D3D0D6
    System model name: MacBookPro6,2 (Mac-F22586C8)
    System uptime in nanoseconds: 5224512131000
    last loaded kext at 1624245923653: com.apple.driver.AppleFireWireStorage    3.0.1 (addr 0xffffff7f808b3000, size 16384)
    last unloaded kext at 1739101632802: com.apple.driver.StorageLynx    3.0.1 (addr 0xffffff7f80809000, size 8192)
    loaded kexts:
    com.regularrateandrhythm.driver.RowmoteIREmu    1.0
    com.bresink.driver.BRESINKx86Monitoring    8.0
    com.AmbrosiaSW.AudioSupport    3.2
    com.apple.driver.Oxford_Semi    3.0.1
    com.apple.driver.AppleUSBDisplays    317
    com.apple.driver.AppleHWSensor    1.9.4d0
    com.apple.filesystems.autofs    3.0
    com.apple.driver.AudioAUUC    1.59
    com.apple.driver.AGPM    100.12.42
    com.apple.driver.AppleMikeyHIDDriver    122
    com.apple.driver.AppleHDA    2.1.7f9
    com.apple.driver.AppleUpstreamUserClient    3.5.9
    com.apple.driver.AppleMCCSControl    1.0.26
    com.apple.driver.AppleMikeyDriver    2.1.7f9
    com.apple.driver.AppleIntelHDGraphics    7.1.8
    com.apple.driver.AppleIntelHDGraphicsFB    7.1.8
    com.apple.driver.SMCMotionSensor    3.0.1d2
    com.apple.iokit.IOUserEthernet    1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X    7.0.0
    com.apple.driver.AudioIPCDriver    1.2.2
    com.apple.driver.AppleSMCLMU    2.0.1d2
    com.apple.GeForce    7.1.8
    com.apple.driver.ACPI_SMC_PlatformPlugin    4.7.5d4
    com.apple.driver.AppleMuxControl    3.0.16
    com.apple.driver.AppleLPC    1.5.3
    com.apple.driver.AppleUSBTCButtons    225.2
    com.apple.driver.AppleIRController    312
    com.apple.driver.AppleUSBTCKeyboard    225.2
    com.apple.driver.AppleUSBCardReader    3.0.1
    com.apple.iokit.SCSITaskUserClient    3.0.3
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.BootCache    33
    com.apple.iokit.IOAHCIBlockStorage    2.0.1
    com.apple.driver.AppleUSBHub    4.5.0
    com.apple.driver.AppleSmartBatteryManager    161.0.0
    com.apple.driver.AppleFWOHCI    4.8.9
    com.apple.driver.AirPort.Brcm4331    513.20.19
    com.apple.iokit.AppleBCM5701Ethernet    3.0.8b2
    com.apple.driver.AppleEFINVRAM    1.5.0
    com.apple.driver.AppleAHCIPort    2.2.0
    com.apple.driver.AppleUSBEHCI    4.5.8
    com.apple.driver.AppleACPIButtons    1.4
    com.apple.driver.AppleRTC    1.4
    com.apple.driver.AppleHPET    1.6
    com.apple.driver.AppleSMBIOS    1.7
    com.apple.driver.AppleACPIEC    1.4
    com.apple.driver.AppleAPIC    1.5
    com.apple.driver.AppleIntelCPUPowerManagementClient    167.3.0
    com.apple.nke.applicationfirewall    3.2.30
    com.apple.security.quarantine    1.1
    com.apple.driver.AppleIntelCPUPowerManagement    167.3.0
    com.apple.iokit.IOFireWireSerialBusProtocolTransport    2.1.0
    com.apple.iokit.IOFireWireSBP2    4.2.0
    com.apple.driver.AppleUSBHIDKeyboard    152.3
    com.apple.driver.AppleHIDKeyboard    152.3
    com.apple.driver.AppleUSBAudio    2.8.2f5
    com.apple.kext.triggers    1.0
    com.apple.driver.DspFuncLib    2.1.7f9
    com.apple.driver.AppleSMBusController    1.0.10d0
    com.apple.iokit.IOSurface    80.0
    com.apple.iokit.IOBluetoothSerialManager    4.0.3f12
    com.apple.iokit.IOSerialFamily    10.0.5
    com.apple.iokit.IOFireWireIP    2.2.4
    com.apple.iokit.IOAudioFamily    1.8.6fc6
    com.apple.kext.OSvKernDSPLib    1.3
    com.apple.driver.AppleHDAController    2.1.7f9
    com.apple.iokit.IOHDAFamily    2.1.7f9
    com.apple.driver.ApplePolicyControl    3.0.16
    com.apple.driver.AppleSMC    3.1.1d8
    com.apple.driver.IOPlatformPluginFamily    4.7.5d4
    com.apple.driver.AppleSMBusPCI    1.0.10d0
    com.apple.driver.AppleGraphicsControl    3.0.16
    com.apple.driver.AppleBacklightExpert    1.0.3
    com.apple.nvidia.nv50hal    7.1.8
    com.apple.NVDAResman    7.1.8
    com.apple.iokit.IONDRVSupport    2.3.2
    com.apple.iokit.IOGraphicsFamily    2.3.2
    com.apple.driver.BroadcomUSBBluetoothHCIController    4.0.3f12
    com.apple.driver.AppleUSBBluetoothHCIController    4.0.3f12
    com.apple.iokit.IOBluetoothFamily    4.0.3f12
    com.apple.driver.AppleUSBMultitouch    227.1
    com.apple.iokit.IOUSBHIDDriver    4.4.5
    com.apple.iokit.IOSCSIBlockCommandsDevice    3.0.3
    com.apple.iokit.IOUSBMassStorageClass    3.0.1
    com.apple.driver.AppleUSBMergeNub    4.5.3
    com.apple.driver.AppleUSBComposite    4.5.8
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.0.3
    com.apple.iokit.IOBDStorageFamily    1.6
    com.apple.iokit.IODVDStorageFamily    1.7
    com.apple.iokit.IOCDStorageFamily    1.7
    com.apple.driver.XsanFilter    403
    com.apple.iokit.IOAHCISerialATAPI    2.0.1
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.0.3
    com.apple.iokit.IOUSBUserClient    4.5.8
    com.apple.iokit.IOFireWireFamily    4.4.5
    com.apple.iokit.IO80211Family    412.2
    com.apple.iokit.IOEthernetAVBController    1.0.0d5
    com.apple.iokit.IONetworkingFamily    2.0
    com.apple.iokit.IOAHCIFamily    2.0.7
    com.apple.iokit.IOUSBFamily    4.5.8
    com.apple.driver.AppleEFIRuntime    1.5.0
    com.apple.iokit.IOHIDFamily    1.7.1
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    177.3
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.security.TMSafetyNet    7
    com.apple.driver.DiskImages    331.3
    com.apple.iokit.IOStorageFamily    1.7
    com.apple.driver.AppleKeyStore    28.18
    com.apple.driver.AppleACPIPlatform    1.4
    com.apple.iokit.IOPCIFamily    2.6.8
    com.apple.iokit.IOACPIFamily    1.4

    Please describe:
    Computer model & hardware characteristics (especially RAM).
    How much free space left on HDD.
    Any add-ons you may have added to the system (antivirus, screen eye candy, etc.)
    What applications were running when the crash occurred.
    What were you doing when the crash occurred.

  • Please help with this error: "Your request could not be completed because of a disk error"

    So photoshop cs6 was working fine a few weeks ago. After not using it for about 2 weeks, I try opening a RAW file and I get this error every time. JPGs open and work fine. I have extensively searched on the internet for solutions and have tried everything such as: disk checking, deframgenting, playing around with photoshop preferences, deleting temp files, resetting preferences, clearing disk space. I have assigned two hard drives for photoshop, one with 16 GB free and the other with 8 GB free. I am getting very frustrated. Please help!

    mistahbo1 wrote:
    …I have assigned two hard drives for photoshop, one with 16 GB free and the other with 8 GB free. I am getting very frustrated. Please help!
    That's woefully inadequate for scratch file space.
    The rule of thumb I follow says to figure on 50 to 100 times the size of your largest file ever multiplied by the number of files you have open.  I have seen the scratch file exceed 300 GB once, an admittedly rare occurrence, but it often exceeds 200 GB when stitching large panoramas and the like.
    Additionally, if either one those two drives you mention with "16 GB free and the other with 8 GB free" happened to be your boot drive, you'd be in a heap of trouble because neither one of those drives has nearly enough space to accommodate the swap files of the OS and Photoshop's scratch.
    As an example—and stressing that I'm aware that others have even more scratch space than I do—I keep two dedicated, physically separate hard drives as my primary and secondary Photoshop scratch disks and a lot of GB free on my boot drive for the OS.  I have 16 GB of RAM installed:

  • Need help on this error

    Hi friends,
    thanks to your suggestions i could solve most of the problems i faced. i get this error, could someone help me with it.
    Error in conversion exit CONVERSION_EXIT_CUNIT_INPUT
    Message no. RSAR137
    Diagnosis
    An error occurred in record 1 during execution ofconversion exit CONVERSION_EXIT_CUNIT_INPUT for field /BIC/UNITQ40.
    Procedure
    Check that the record where the error occurred has the correct format, and correct it accordingly.
    regards
    kris

    hi kris,
    it's happened that value in your characteristics unitq40 not valid, it can be the value not exist in 0unit master data, try to solve this with
    - check the monitoring for detail, the invalid value, e.g EA
    - transaction se16, table t006a, check this value may not exist here
    - logon r/3 side, check if this value exist in table t006a, if so do transfer global setting with use rsa1->source system->right click r/3 source system->'transfer global setting', mark 'unit of measurements' and choose option 'update table'->execute
    - if the value also not exist in r/3 then you need to maintain with transaction cuni
    see these 2 threads
    Re: Error: CONVERSION_EXIT_CUNIT_INPUT and 0Unit
    Re: 0Unit / se16 / CUNI
    hope this helps.

  • Need urgent help on this error "oracle.jbo.AttrValException: JBO-27019"

    This is regarding Print Quote eror.
    "oracle.jbo.AttrValException: JBO-27019"
    I am facing the above error .(I am new to OA Framework) whenever i tried to add a new column to the select query 'Comp_info' .
    My development has come to an Halt really :(
    The code is :
    <?xml version="1.0" encoding='windows-1252'?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!-- $Header: LinesVO.xml 115.3 2003/12/30 07:01:46 asetti noship $-->
    <ViewObject
    Name="LinesVO"
    BindingStyle="Oracle"
    CustomQuery="true"
    RowClass="oracle.apps.aso.print.server.LinesVORowImpl"
    ComponentClass="oracle.apps.aso.print.server.LinesVOImpl"
    MsgBundleClass="oracle.jbo.common.JboResourceBundle"
    FetchMode="FETCH_AS_NEEDED"
    Passivate="None"
    UseGlueCode="false" >
    <SQLQuery><![CDATA[
    SELECT
    qte.ui_line_number line_number
    ,qte.padded_concatenated_segments item_number
    ,qte.item_description item_description
    ,qte.uom_code Order_Quantity_Uom
    ,DECODE(qte.line_category_code, 'RETURN', qte.quantity*(-1), qte.quantity) Ordered_Quantity
    ,qte.line_category_code
    ,qte.service_ref_line_id
    ,UPPER(qte.service_ref_type_code) srv_ref_type_code
    ,DECODE(qte.line_category_code, 'RETURN', qte.line_list_price*(-1), qte.line_list_price) unit_list_price
    ,DECODE(qte.line_category_code, 'RETURN', qte.line_adjusted_amount*(-1), qte.line_adjusted_amount) line_adj_price
    ,DECODE(qte.line_category_code, 'RETURN', qte.line_quote_price*(-1), qte.line_quote_price) unit_selling_price
    ,DECODE(qte.line_category_code, 'RETURN', qte.extended_list_price*(-1), qte.extended_list_price) line_total_list_price
    ,DECODE(qte.line_category_code, 'RETURN', qte.extended_adjusted_amount*(-1), qte.extended_adjusted_amount) line_total_adj_amt
    ,DECODE(qte.line_category_code, 'RETURN', qte.extended_selling_price*(-1), qte.extended_selling_price) line_total
    ,line_number old_line_number
    ,to_char(qte.start_date_active,nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) start_date_active
    ,to_char(qte.end_date_active,nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) end_date_active
    ,qte.service_duration
    ,qte.service_period
    ,qte.item_type_code
    ,decode(qte.item_type_code, 'MDL', NVL(qte.complete_configuration_flag, 'N'), 'Z') Model_Status
    ,qte.quote_line_id qlid
    ,qte.quote_header_id
    ,DECODE(qte.line_category_code,
    'RETURN',
    (select qte.quantity * (nvl(sum(decode(apav.applied_flag,'Y',decode(apav.charge_type_code,NULL,0,apav.adjusted_amount),0) ), 0))
    FROM aso_price_adjustments_v apav
    where qte.quote_line_id = apav.quote_line_id )*(-1),
    (select qte.quantity * (nvl(sum(decode(apav.applied_flag,'Y',decode(apav.charge_type_code,NULL,0,apav.adjusted_amount),0) ), 0))
    FROM aso_price_adjustments_v apav
    where qte.quote_line_id = apav.quote_line_id )) line_charges
    ,DECODE(qte.line_category_code,
    'RETURN',
    (decode(qte.item_type_code,
    'MDL',
    decode (qte.config_header_id,
    NULL,
    qte.extended_selling_price,
    (select sum(QUOTE_LINES.LINE_QUOTE_PRICE * QUOTE_LINES.QUANTITY)
    from ASO_QUOTE_LINES_ALL QUOTE_LINES,
    ASO_QUOTE_LINE_DETAILS QUOTE_LINE_DETAILS
    where quote_line_details.config_header_id=qte.config_header_id
    and quote_line_details.quote_line_id =quote_lines.quote_line_id)),
    qte.extended_selling_price))*(-1),
    (decode(qte.item_type_code,
    'MDL',
    decode (qte.config_header_id,
    NULL,
    qte.extended_selling_price,
    (select sum(QUOTE_LINES.LINE_QUOTE_PRICE * QUOTE_LINES.QUANTITY)
    from ASO_QUOTE_LINES_ALL QUOTE_LINES,
    ASO_QUOTE_LINE_DETAILS QUOTE_LINE_DETAILS
    where quote_line_details.config_header_id=qte.config_header_id
    and quote_line_details.quote_line_id =quote_lines.quote_line_id)),
    qte.extended_selling_price))) model_total
    ,qte.attribute3 Comp_Info
    FROM
    aso_pvt_quote_lines_bali_v qte
    ]]></SQLQuery>
    <DesignTime>
    <Attr Name="_isCodegen" Value="true" />
    <Attr Name="_version" Value="9.0.3.11.21" />
    <Attr Name="_CodeGenFlagNew" Value="36" />
    </DesignTime>
    <ViewAttribute
    Name="LineNumber"
    IsQueriable="false"
    IsPersistent="false"
    Precision="4000"
    Type="java.lang.String"
    AliasName="UI_LINE_NUMBER"
    ColumnType="VARCHAR2"
    Expression="UI_LINE_NUMBER"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="4000" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ItemNumber"
    IsQueriable="false"
    IsPersistent="false"
    Precision="30"
    Type="java.lang.String"
    AliasName="LINE_SEGMENT"
    ColumnType="VARCHAR2"
    Expression="LINE_SEGMENT"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="comp_product"
    IsQueriable="false"
    IsPersistent="false"
    Precision="30"
    Type="java.lang.String"
    AliasName="comp_product"
    ColumnType="VARCHAR2"
    Expression="comp_product"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ItemDescription"
    IsQueriable="false"
    IsPersistent="false"
    Precision="240"
    Type="java.lang.String"
    AliasName="LINE_DESC"
    ColumnType="VARCHAR2"
    Expression="LINE_DESC"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="240" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="OrderQuantityUom"
    IsQueriable="false"
    IsPersistent="false"
    IsNotNull="true"
    Precision="3"
    Type="java.lang.String"
    AliasName="LINE_UOM_CODE"
    ColumnType="VARCHAR2"
    Expression="LINE_UOM_CODE"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="3" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="OrderedQuantity"
    IsQueriable="false"
    IsPersistent="false"
    IsNotNull="true"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_QTY"
    ColumnType="VARCHAR2"
    Expression="LINE_QTY"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="LineCategoryCode"
    IsQueriable="false"
    IsPersistent="false"
    Precision="30"
    Type="java.lang.String"
    AliasName="LINE_CATEGORY_CODE"
    ColumnType="VARCHAR2"
    Expression="LINE_CATEGORY_CODE"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ServiceRefLineId"
    IsQueriable="false"
    IsPersistent="false"
    Type="oracle.jbo.domain.Number"
    AliasName="SERVICE_REF_LINE_ID"
    ColumnType="VARCHAR2"
    Expression="SERVICE_REF_LINE_ID"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="SrvRefTypeCode"
    IsQueriable="false"
    IsPersistent="false"
    Precision="30"
    Type="java.lang.String"
    AliasName="SRV_REF_TYPE_CODE"
    ColumnType="VARCHAR2"
    Expression="SRV_REF_TYPE_CODE"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="UnitListPrice"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="LINELIST_PRICE"
    ColumnType="VARCHAR2"
    Expression="LINELIST_PRICE"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="LineAdjPrice"
    IsQueriable="false"
    IsPersistent="false"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_ADJ_PRICE"
    ColumnType="VARCHAR2"
    Expression="LINE_ADJ_PRICE"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="UnitSellingPrice"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_NET_PRICE"
    ColumnType="VARCHAR2"
    Expression="LINE_NET_PRICE"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="LineTotalListPrice"
    IsQueriable="false"
    IsPersistent="false"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_TOTAL_LIST_PRICE"
    ColumnType="VARCHAR2"
    Expression="LINE_TOTAL_LIST_PRICE"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="LineTotalAdjAmt"
    IsQueriable="false"
    IsPersistent="false"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_TOTAL_ADJ_AMT"
    ColumnType="VARCHAR2"
    Expression="LINE_TOTAL_ADJ_AMT"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="LineTotal"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_TOTAL_NET_PRICE"
    ColumnType="VARCHAR2"
    Expression="LINE_TOTAL_NET_PRICE"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="OldLineNumber"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_NUMBER"
    ColumnType="VARCHAR2"
    Expression="LINE_NUMBER"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="StartDateActive"
    IsQueriable="false"
    IsPersistent="false"
    DiscrColumn="true"
    Precision="255"
    Type="java.lang.String"
    AliasName="START_DATE_ACTIVE"
    ColumnType="VARCHAR2"
    Expression="START_DATE_ACTIVE"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="EndDateActive"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="END_DATE_ACTIVE"
    ColumnType="VARCHAR2"
    Expression="END_DATE_ACTIVE"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ServiceDuration"
    IsQueriable="false"
    IsPersistent="false"
    Type="oracle.jbo.domain.Number"
    AliasName="SERVICE_DURATION"
    ColumnType="VARCHAR2"
    Expression="SERVICE_DURATION"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ServicePeriod"
    IsQueriable="false"
    IsPersistent="false"
    Precision="3"
    Type="java.lang.String"
    AliasName="SERVICE_PERIOD"
    ColumnType="VARCHAR2"
    Expression="SERVICE_PERIOD"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="3" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ItemTypeCode"
    IsQueriable="false"
    IsPersistent="false"
    Precision="30"
    Type="java.lang.String"
    AliasName="ITEM_TYPE_CODE"
    ColumnType="VARCHAR2"
    Expression="ITEM_TYPE_CODE"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ModelStatus"
    IsUpdateable="false"
    IsQueriable="false"
    IsPersistent="false"
    Precision="1"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    Expression="ModelStatus"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="Qlid"
    IsQueriable="false"
    IsPersistent="false"
    IsNotNull="true"
    Precision="1"
    Type="oracle.jbo.domain.Number"
    AliasName="QLID"
    ColumnType="VARCHAR2"
    Expression="QLID"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="QuoteHeaderId"
    IsQueriable="false"
    IsPersistent="false"
    IsNotNull="true"
    Type="oracle.jbo.domain.Number"
    AliasName="QUOTE_HEADER_ID"
    ColumnType="VARCHAR2"
    Expression="QUOTE_HEADER_ID"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="LineCharges"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_TOTAL_CHARGES"
    ColumnType="VARCHAR2"
    Expression="LINE_TOTAL_CHARGES"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ModelTotal"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="MODEL_TOTAL"
    ColumnType="VARCHAR2"
    Expression="MODEL_TOTAL"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="Comp_Info"
    IsQueriable="false"
    IsPersistent="false"
    Precision="30"
    Type="java.lang.String"
    AliasName="Comp_Info"
    ColumnType="VARCHAR2"
    Expression="Comp_Info"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </ViewAttribute>
    <ViewLinkAccessor
    Name="ServiceToOrderLineVO"
    ViewLink="oracle.apps.aso.print.server.ServiceToOrderLineVL"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false" >
    </ViewLinkAccessor>
    <ViewLinkAccessor
    Name="ServiceToInstBaseVO"
    ViewLink="oracle.apps.aso.print.server.ServiceToInstBaseVL"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false" >
    </ViewLinkAccessor>
    <ViewLinkAccessor
    Name="QuoteLineChargesVO"
    ViewLink="oracle.apps.aso.print.server.QuoteLineChargesVL"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false" >
    </ViewLinkAccessor>
    <ViewLinkAccessor
    Name="QuoteLineTaxesVO"
    ViewLink="oracle.apps.aso.print.server.QuoteLineTaxesVL"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false" >
    </ViewLinkAccessor>
    <ViewLinkAccessor
    Name="LineTemplateVO"
    ViewLink="oracle.apps.aso.print.server.LineTemplateVL"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false" >
    </ViewLinkAccessor>
    <ViewLinkAccessor
    Name="LineAttachmentVO"
    ViewLink="oracle.apps.aso.print.server.LineAttachmentVL"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false" >
    </ViewLinkAccessor>
    </ViewObject>
    It gives me an error as "oracle.jbo.AttrValException: JBO-27019: Get method for attribute "comp_info" in LinesVO_HeaderLinesVL_LinesVO could not be resolved.
    I have added the getter and setter as well in the RowImpl.java file but still its givn this error.
    I need to add many more columns after this error is solved.
    I tried all permutation n combination but all in vain.
    Any help on this would be highly appreciated.
    Thanks,
    Ajit

    Ajit,
    Writing getter/setter methods manually is not a good idea, when jdev provides u that facility. Moreover in ur case i m getting a feeling as if ur VO mappings are corrupted. Can u try one thing ,assuming this is a custom VO,Delete the VO from the project and delete all related files in myclasses and my projects.Recreate the VO with all the attributes and try if same error is coming.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I need help with this error message "seek encountered an internal error"

    I wonder if anyone can help me with a Captivate issue: I just upgraded to 5.5 - when I try to insert a video slide I get an error "seek encountered an internal error". The video is a 35.3 MB flv file.
    This is a prroject that I have been working on for months and need to switch the video on the slide to an updated video - so I try to delete the video slide that is there and insert a new slide but when browse for the new video file I want to use, I keep getting this error message.

    Try <fx:XML>

  • Help Regarding this error message

    Hi Gurus,
    I had this error this morning saying that"State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 16001] ODBC error state: 22003 code: 248 message: [Microsoft][ODBC SQL Server Driver][SQL Server]The conversion of the varchar value '1101000002736342' overflowed an int column. Maximum integer value exceeded.. [nQSError: 16015] SQL statement execution failed. (HY000)
    The logic is that I need to create a new logical column in fact named by " indicator1" which has this logical formula
    CASE WHEN "fact"."store indicator" > 0 THEN 'Y' ELSE 'N' END
    The column name "store indicator" which is of varchar type.
    How to solve this issue.I had even tried to to use cast function changing the data type to varchar(20) but no help with that....
    help me gurus...

    user13001889 wrote:
    Hi Gurus,
    I had this error this morning saying that"State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 16001] ODBC error state: 22003 code: 248 message: [Microsoft][ODBC SQL Server Driver][SQL Server]The conversion of the varchar value '1101000002736342' overflowed an int column. Maximum integer value exceeded.. [nQSError: 16015] SQL statement execution failed. (HY000)
    The logic is that I need to create a new logical column in fact named by " indicator1" which has this logical formula
    CASE WHEN "fact"."store indicator" > 0 THEN 'Y' ELSE 'N' END
    The column name "store indicator" which is of varchar type.
    How to solve this issue.I had even tried to to use cast function changing the data type to varchar(20) but no help with that....
    help me gurus...If the logic you are trying to achieve is to simply have a column with a "Y" if the fact."store indicator" is "greater than 0" on an integer column, than what you imply is one of several things:
    1) Some values are NULL, or...
    2) Some values are 0 (or less than zero, though this is highly doubtful and would be weird to have a negative sign)
    3) Both 1) and 2)
    So really, all you care about is whether the value in the column is +not+ NULL or 0.
    The ASCII code for NULL is 00 and the ASCII code for 0 is 48, so try writing this:
    CASE WHEN ASCII(fact."store indicator") IN (00, 48) THEN 'N' ELSE 'Y' END
    This avoids trying to perform an "integer" function on a huge number.

  • Can anyone help with this error message (The operation couldn't be completed. (NSURLErrorDomain error -(1012.) (-1012)

    The most recent update I have in the App Store is an OSX update but I receive this error message when I select the update button. (The operation couldn’t be completed. NSURLErrorDomain error -1012. -1012.  Can anyone tell me why or how to delete this update in the que from the app center and try again? Any help would be greatly appreciated.  Thanks.

    http://www.apple.com/support/mac/app-store/contact.html?form=account

  • Need Help with this Error message in App World

    hi, i just install the new version of app world. when i try to open my world or my account, i got this error message "THERE IS AN ISSUE WITH THE CURRENT SESSION. PLEASE LOGIN TO CONTINUE. (Error Id: 30702).
    when i press Ok..nothing happen at all..anyone please help..i already try install the previous version app world but still the same.

    Hello azain
    Welcome to the Community
    Please check the Article below to help you solve the issue.
    "Unable to login to your BlackBerry ID account" or "Unable to update your BlackBerry ID account info...
    Goodluck and please let us know if it helps you
    Ron
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up Blackberry Battery Saving Tips | Follow me on Twitter

Maybe you are looking for

  • Problem with Informix drivers

    Informix drivers appear to not work with some components. Please refer to: http://swforum.sun.com/jive/thread.jspa?threadID=46728

  • Payment Method while manually entering Receipt

    Hi, I am not getting any payment method in the LOV for Payment Method while manually entering the receipt information. Receipt class and Payment method is defined in the system. Do I need to do any other setting so that the defined Payment method wil

  • Method to capture User ID of Oracle Applications?

    Dear Members, We want to create some database triggers on GL_INTERFACE table. The requirement is as follows: We want to capture the information of the users like user id etc when ever they update the information on GL_INTERFACE. We dont want to custo

  • JavaMail error in getting message variable

    Hi SDN, try{           PrintWriter out=response.getWriter();           InitialContext ctx=new InitialContext();           Session session = (Session) ctx.lookup("java:comp/env/mail/Email");           Properties props = session.getProperties();       

  • Java is not unloading from FireFox

    At yahoo chess when I close out of a game window it disappears but I am still the room. This all happened after the latest update. I tried reinstalling Java update and Firefox both but it still is hanging in the background until I exit Firefox. It se