JBCL Field Control problem, is this a bug??

Hi,
When I use a JBCL Field control I get errors.I have already
developed an application using JDeveloper 1.02.Now I am using
2.0.184 beta.When ever I use a field control I get this error
even though i dont assign it to a dataset and column name.If i
remove the field control the program compiles and runs perfectly
this is the error mesg
at com.sun.java.swing.JComponent.paint(Compiled Code)
at com.sun.java.swing.JComponent.paintChildren(Compiled
Code)
at com.sun.java.swing.JComponent.paint(Compiled Code)
at java.awt.Container.paint(Compiled Code)
at sun.awt.windows.WComponentPeer.handleEvent(Compiled
Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
Exception occurred during event dispatching:
java.lang.ClassCastException: borland.jbcl.control.FieldControl
at
com.sun.java.swing.plaf.metal.MetalTextFieldUI$TextFieldBorder.pa
intB
order(Compiled Code)
at com.sun.java.swing.border.CompoundBorder.paintBorder
(Compiled Code)
at com.sun.java.swing.plaf.BorderUIResource.paintBorder
(Compiled Code)
at com.sun.java.swing.JComponent.paintBorder(Compiled
Code)
at com.sun.java.swing.JComponent.paint(Compiled Code)
at java.awt.Container.paint(Compiled Code)
at sun.awt.windows.WComponentPeer.handleEvent(Compiled
Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
I am not able to run the appln that I had developed earlier due
to this.Is this a bug????
I would be thankful if I get a reply for this at the earliest
Ram
null

Ram,
You are raising an important issue. I will answer this question
in a new thread so that more people will read it. The subject
will be: "Problems with upgrading version 1.x applications (using
JBCL)"
Thanks.
Ram (guest) wrote:
: Hi,
: When I use a JBCL Field control I get errors.I have already
: developed an application using JDeveloper 1.02.Now I am using
: 2.0.184 beta.When ever I use a field control I get this error
: even though i dont assign it to a dataset and column name.If i
: remove the field control the program compiles and runs
perfectly
: this is the error mesg
: at com.sun.java.swing.JComponent.paint(Compiled Code)
: at com.sun.java.swing.JComponent.paintChildren(Compiled
: Code)
: at com.sun.java.swing.JComponent.paint(Compiled Code)
: at java.awt.Container.paint(Compiled Code)
: at sun.awt.windows.WComponentPeer.handleEvent(Compiled
: Code)
: at java.awt.Component.dispatchEventImpl(Compiled Code)
: at java.awt.Container.dispatchEventImpl(Compiled Code)
: at java.awt.Window.dispatchEventImpl(Compiled Code)
: at java.awt.Component.dispatchEvent(Compiled Code)
: at java.awt.EventDispatchThread.run(Compiled Code)
: Exception occurred during event dispatching:
: java.lang.ClassCastException: borland.jbcl.control.FieldControl
: at
com.sun.java.swing.plaf.metal.MetalTextFieldUI$TextFieldBorder.pa
: intB
: order(Compiled Code)
: at com.sun.java.swing.border.CompoundBorder.paintBorder
: (Compiled Code)
: at com.sun.java.swing.plaf.BorderUIResource.paintBorder
: (Compiled Code)
: at com.sun.java.swing.JComponent.paintBorder(Compiled
: Code)
: at com.sun.java.swing.JComponent.paint(Compiled Code)
: at java.awt.Container.paint(Compiled Code)
: at sun.awt.windows.WComponentPeer.handleEvent(Compiled
: Code)
: at java.awt.Component.dispatchEventImpl(Compiled Code)
: at java.awt.Container.dispatchEventImpl(Compiled Code)
: at java.awt.Component.dispatchEvent(Compiled Code)
: at java.awt.EventDispatchThread.run(Compiled Code)
: I am not able to run the appln that I had developed earlier due
: to this.Is this a bug????
: I would be thankful if I get a reply for this at the earliest
: Ram
null

Similar Messages

  • IOS 6.1 can no longer air print to HP 6700; it worked before with no problems; is this a bug with 6.1?

    We have 2 iPads (2nd and 4th generation).  Both have been air printing without trouble to our HP 6700, which is on Apple's list of supported printers.  Both iPads were updated to OS 6.1 last night.  Now when attempting to air print something, the HP 6700 does not appear on the printer options list of printers to select from.  Interestingly, the other supported printer, and HP 8500, does show on the list, but when attempting to air print to it, this results in an error message "An error occurred printing this document."  This error happens in multiple apps that support air printing.  Is this a bug in iOS 6.1?
    The printers are visible in AirPort, AND I can print from a computer (MB Air and a Dell Win7)  to the HP 6700 without problems, but no longer from the iPads.  What gives?  I have powered down the HP 6700 and back up.  I even restarted the AirPort Express.  The problem persists with printing from the iPads.

    Hi, everyone, I yesterday bought a HP 6700, after setting everything like supposed to be, I could scan to computer and by eWeb service but not Print directly from iMacs (10.7.5 and 10.8.5) or iPhone, after installing things as suggesting here and HP support site, I decides to called HP support, and they do something, first they force to eliminated all printers from Print & Scan pannel (system preferences) by right-click over printer list on that pannel, and then create the printer from the IP address instead of by default selecting it from list (bonjour), that make the iMacs start printing fine. But iPhone still not. Then HP support suggested that maybe my router didn't support bonjour or it was not activated, so I tried with my phone company with no luck, since they told me that they never hear about this and that my router didn't support it, even if I think they didn't know, period. So I decided to create a network over my regular network, using an Airport Express, I create a new network (connected the Airport through ethernet cable to the router), and then place the iMacs and iPhone over the new network, restarted printer and iPhone, and then finally the iPhone could print on the HP 6700.
    So I suggest you try first force the printer using the IP address, thaht solved the problem with iMacs, and then if you can, used another router cause maybe the one you use have "issues" with bonjour/airprint etc....
    Hope this help.

  • SB Audigy 2 Platinum Remote Control Problem, Need THis Resolved quic

    Hi
    this is a Known issue to Symantec Support, I really really want to be able to use my Audigy 2 Remote Control with this Soundcard, but I can't, until Symantec or YOUR SLOW AS MOLASSES COMPANY UPDATES MEDIASOURCE SOFTWARE SO THESE 2 PROGRAMS DON"T CONFLICT, WITH REMOTE CENTER LOADING ON STARTUP, IT WILL NOT LOAD AUTOPROTECT FOR NORTON ANTIVIRUS 2005
    FIX THIS, and quickly, is all I have to say
    Or let use SB Audigy 2 Platinum Users download the newest versions of the software
    Message Edited by bikeman on 0-22-2004 03:34 AM

    Hi
    I don't have that file on startup--SBDrvdet, All I have is Creative DVD Audio Driver Detector, CTHelper, and RCman, which is disabled so Norton's Autoprotect will work ok.
    Thanks for the reply though
    Here is Symantecs workaround, I guess I can li've with these, but if Norton's Autoprotect winds up disabling by this workaround, and I happen to get a trojan or virus in..then I won't be very happy
    To stop Creative MediaSource Go! from running when the computer starts
    On the Windows taskbar, click <B>Start </B>><B>Programs </B>><B>Creative </B>><B>Creative MediaSource Go!</B>, and then click <B>Creative MediaSource Go!</B></LI>
    Right-click anywhere on Creative MediaSource Go!</LI>
    In the new window that appears, click <B>Close</B>. This prevents the program from loading when the computer starts.</LI>
    Do one of the following:
    If you also have Creative RemoteCenter, then go on to "To stop Creative RemoteCenter from running when the computer starts."</LI>
    If you do not have Creative RemoteCenter, then restart the computer and go to the next step.</LI>
    </LI>
    After the computer starts and Norton AntiVirus runs without a problem, then re-enable Creative MediaSource Go!</LI>
    <B>To stop Creative RemoteCenter from running when the computer starts</B>
    Do one of the following:
    In Windows XP, on the taskbar, click <B>Start </B>><B>Control Panel </B>><B>Remote Control Center</B>.</LI>
    In Windows 2000, on the taskbar, click <B>Start </B>><B>Settings </B>><B>Control Panel </B>><B>Remote Control Center</B>.</LI>
    </LI>
    Uncheck <B>Enable RemoteCenter</B>.</LI>
    Uncheck <B>Show RemoteCenter icon on taskbar</B>.</LI>
    Uncheck <B>Show RemoteCenter splash screen when RemoteCenter is started</B>.</LI>
    Restart the computer.</LI>
    After the computer starts and Norton AntiVirus runs without a problem, then re-enable RemoteCenter. To re-enable RemoteCenter, repeat steps through 5, this time checking each entry.You must repeat these steps whenever you start the computer.</LI>
    After Disabling Creative DVD Audio Detector, I reenabled the Remote Control and restarted, and so far so good last 2 days without a conflict With Norton Antivirus, if it really does solve the problem, I will email Symantec Support and let them know the solution, so they can inform other users with the same problem, since obviously creative doesn't want to assist them in finding the problem or provide help fixing it. So far Remote Control hasn't been an issue, but I'm gonna wait til end of month to send off an email to Symantec to make sure it's actually fixed. Since if it doesn't drop out of me by then, then I know it's fixed, since was only in 2 weeks before it got the internal program error before.
    Message Edited by bikeman on <SPAN class=date_text>0-25-2004<SPAN class=time_text>04:47 AM
    Message Edited by bikeman on <SPAN class=date_text>0-25-2004 <SPAN class=time_text>04:47 AM
    Message Edited by bikeman on 0-29-2004 04:08 AM

  • Sticking notes problem - is this a bug? Is there a workaround?

    Hi
    does anyone have any advice for stopping "sticking midi notes" when played using a midi keyboard?
    I think the instrument my friend has been having trouble with is specifically the evb6 and notes sticking - with the only way for him to remedy the situation is by starting and stopping the transport play.
    He has tried two midi controllers: an old midi keyboard and a yamaha 1100. Both recreate the issue.
    I have tried replicating it on my setup with an oxygen 8 - can't seem to make notes stick the way he describes.
    He wants to use Logic live - so obviously this would be unacceptable. I'm gonna take a look through his Logic setup when i see him and wanted to know if anyone has any advice or tips on this one.
    Cheers
    Rounik
    p.s i should mention he is on a macbook pro - logic pro 7.2.x (i'll find that out) and os 10.4.8 i think.
    Message was edited by: rounik music

    rounik,
    don't have to read your post, as title says it all.
    got the same prob here from day one.
    given up on it.
    also logic doesn't handle mono mode - same key/note repeated with overlaps.
    my old roland midi sequencer did this properly over 15yrs ago.
    best.
    DR9.

  • OBIEE 10G Total by in answers not correct for count distinct fields. Is this a bug?

    For example:
    Sales fact has receipt no  and line no as key. It has data like:
    receipt no, line no, value
    1, 1, 30
    1, 2, 40
    2, 1, 10
    2, 2, 10
    There is also a transaction field defined as count distinct of receipt no (in BMM)
    In answers, I set to show Total.
    without any filters:
    receipt no, value, transactions
    1, 70, 1
    2, 20, 1
    total: 90, 2
    Transactions is 2, which is correct.
    If apply filter of transaction value greater than 50.
    Then transactions in total will still show 2
    1, 70, 1
    total: 70, 2
    Is this a bug? It looks only SUM works no problem in the total by.

    I did look at the physical query and saw how it calculated the Total transactions and it didn't take into account of the filter of transaction value greater than 50. Don't know why though. I don't know why you want to count line no. The result would be still 2.

  • Is anyone facing the similar problem of visible lag while opening app with 3G data on? It seems apple has made 5s slow to improve iphone 4 performance.5s was very smooth on 7.0.6 even with 3G data on. Is this a bug? Is apple going to fix this soon?

    Is anyone facing the similar problem of visible lag while opening app with 3G data on? It seems apple has made 5s slow to improve iphone 4 performance.5s was very smooth on 7.0.6 even with 3G data on. Is this a bug? Is apple going to fix this soon?

    I have same Problem. I tried all options - Reset All Settings, Erase Content & reset all settings, Upgrated to IOS8.1, Restore using iTune. But problem persists.
    When I turn Cellular Data or Wifi ON, then there is a lag while opening the Apps. But If I turn Data/Wifi off, phone becomes super fast. I have checked with my friends. They are not facing this issue. Not sure if Apple know this.

  • Hai team,  I found problem on iPhone 4S IOS 6.1.2 , whether this is bug?? Or normal?? I see "time since last full charge" can't showing time. Sory if my english very bad.

    Hai team,
    I found problem on iPhone 4S IOS 6.1.2 , whether this is bug?? Or normal?? I see my iPhone in setting->general->usage "time since last full charge"!!! Can't showing time.
    Sory if my english very bad
    Sent from iPhone

    A good read. Have you done anything at all to resolve your problem. Reset? Restore?
    By the way - "your products"... nobody here produced the iPhone, we are all just users. Apple is not here.

  • My apple ID was hacked and a game by GodGame Inc was bought and installed. When I try to report a problem about this transaction, the link automatically sends me to the apple store support. The application is bugged. Please help.

    My apple ID was hacked and a game by GodGame Inc was bought and installed. When I try to report a problem about this transaction, the link automatically sends me to the apple store support. The application is bugged. Please help.

    thanks for your response roaminggnome. I changed my password immediately after it happened and I have contacted i tunes to let them know of this dillemma.
    The I-tunes credit was a promotional thing by Apple to buy their laptop. So I didn't pay for the i-tunes credit in the first place. Do you think my bank will be able to reinburse Itunes credit then? I will ask support when they get back to me.

  • When I am turning my iphone off, while sliding it makes white little square in the final part of sliding. Is this a bug or only I have this problem?

    When I am turning my iphone off, while sliding it makes white little square in the final part of sliding. Is this a bug or only I have this problem?

    Please look over the System Requirements for Lion:
    Mac OS X Lion System Requirements
    In order to install Mac OS X 10.7 you will need:
    Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of RAM (4GB recommended)
    Mac OS X 10.6.6 or later with the Mac App Store installed( 10.6.8 Recommended)
    At least 4GB of additional disk space to accommodate the download, but more is obviously recommended

  • Is this a bug? Resizing content box problems with opacity.

    I was wondering if this is a bug? I've been trying to get a box set behind a text box to resize depending on the amount of content that's within a textbox above it. It works fine when the box underneath the text box is set to 100% opacity. However when I adjust the box below to less than 100% opacity the box stops resizing with the text box. My questions are is this a bug or intended and if it is a bug is there a work-around or will it be fixed soon?

    Hello,
    Thank you for bringing this up. We were able to reproduce the issue and it has been logged as a Bug.
    It seems to be an issue when opacity is reduced from the toolbar at the top.
    However, as a workaround, I would like to suggest you to use the opacity option under the Fill Panel.
    For this you need to select the rectangle in the background and then click on Fill Panel which comes up on the right hand side. And you can change the value of opacity from there.
    Please have a look at the screenshot below which might help :
    When the value of opacity is changed from this Fill Panel, the property of rectangle to resize with text is kept.
    We have logged a bug for the issue and hopefully it will be fixed in future releases of Adobe Muse.
    Apologies for the inconvenience.
    Regards,
    Sachin

  • The new version of Firefox does not seem to allow multi-touchscreen pinch/zoom feature. Is this a bug or is there something I can do to fix the problem? Thanks.

    Since the new version of Firefox (which I love, esp the reduced menu bars at the top, leaving more web page viewable space), I am unable to use the multi-touch pinch/zoom function to resize pages. the scrolling still works, and all worked fine before.
    Is this a bug or is there something I can do to fix it?
    Thanks for your time.
    Mx

    Not a fix but if it's just a web site here and there that you find yourself using the pinch zoom feature you can use the IE Tab 2 addon to automatically use the ie engine and the zoom works.
    You lose the other firefox features on those pages but as I said, if it's just a few sites it's worth a look.
    I sure hope the Mozilla community fixes this in their desktop PC version soon. You can't gripe if it's free so I just keep waiting. :)
    Their android and iOS version supports it so why not the PC version?

  • Field mapping problem using EntityManager.refresh(...) and @SecondaryTable

    I am experiencing an exception indicating a missing mapping for a field. My problem is that I have a mapping! I suspect the problem has something to do with the fact the field in question is also the @PrimaryKeyJoinColumn. Am I doing something wrong or is this a bug in the refresh() method code since the find() method works with no problem? Thanks in advance.
    Code and log excerpts follow:
    Calling Code...
    TaxableDescription description = em.find( TaxableDescription.class, cusip );
    if (refreshEntity) {
    {color:#ff0000}em.refresh( description );{color}
    Entity Code..
    @Entity
    {color:#ff0000}@Table( name="f_ISSUE" )
    @SecondaryTable(
    name="f_COUPON_INFO",
    pkJoinColumns=@PrimaryKeyJoinColumn(
    referencedColumnName="issue_id", name="issue_id"
    ){color}
    @NamedQueries({
    @NamedQuery(
    name="TaxableDescription.findByCusip",
    query="SELECT d FROM TaxableDescription d WHERE d.cusip = :cusip"
    public class TaxableDescription
    extends Description implements Serializable
    private long issueID;
    private long fkIssueID;
    private String interestFrequencyCode;
    private Date nextCallDate;
    private double nextCallPrice;
    private Date parCallDate;
    private double parCallPrice;
    private boolean defaulted;
    private String variableCouponType;
    //@Id
    @Column( name="issue_id", table="f_ISSUE" )
    public long getIssueID() {
    return issueID;
    public void setIssueID( long issueID ) {
    this.issueID = issueID;
    @Override
    @Id
    @Column( name="CUSIP_nbr" )
    public String getCusip() {
    return super.getCusip();
    @Override
    public void setCusip(String cusip) {
    super.setCusip(cusip);
    @Override
    @Column( name="maturity", updatable=false, insertable=false )
    @Temporal(TemporalType.DATE)
    public Date getMaturity() {
    return super.getMaturity();
    @Override
    public void setMaturity(Date maturity) {
    super.setMaturity(maturity);
    {color:#ff0000} @Column( table="f_COUPON_INFO", name="issue_id", insertable=false, updatable=false )
    {color} public long getFkIssueID() {
    return fkIssueID;
    public void setFkIssueID( long fkIssueID ) {
    this.fkIssueID = fkIssueID;
    @Override
    @Column( table="f_COUPON_INFO", name="coupon", updatable=false, insertable=false )
    public double getCoupon() {
    return super.getCoupon();
    @Override
    public void setCoupon(double coupon) {
    super.setCoupon( coupon );
    @Column( table="f_COUPON_INFO", name="interest_frequency", updatable=false, insertable=false )
    public String getInterestFrequencyCode() {
    return interestFrequencyCode;
    public void setInterestFrequencyCode( String interestFrequencyCode ) {
    this.interestFrequencyCode = interestFrequencyCode;
    @Override
    @Column( table="f_COUPON_INFO", name="dated_date", updatable=false, insertable=false )
    @Temporal( TemporalType.DATE )
    public Date getDatedDate() {
    return super.getDatedDate();
    @Override
    public void setDatedDate(Date datedDate) {
    super.setDatedDate(datedDate);
    @Override
    @Column( table="f_COUPON_INFO", name="first_interest_date", updatable=false, insertable=false )
    @Temporal( TemporalType.DATE )
    public Date getFirstInterestDate() {
    return super.getFirstInterestDate();
    @Override
    public void setFirstInterestDate(Date firstInterestDate) {
    super.setFirstInterestDate(firstInterestDate);
    @Column( name="next_call_date", updatable=false, insertable=false )
    @Temporal( TemporalType.DATE )
    protected Date getNextCallDate() {
    return nextCallDate;
    protected void setNextCallDate( Date date ) {
    this.nextCallDate = date;
    @Column( name="next_call_rate", updatable=false, insertable=false )
    protected double getNextCallPrice() {
    return nextCallPrice;
    protected void setNextCallPrice( double value ) {
    this.nextCallPrice = value;
    @Column( name="par_call_date", updatable=false, insertable=false )
    @Temporal( TemporalType.DATE )
    protected Date getParCallDate() {
    return parCallDate;
    protected void setParCallDate( Date date ) {
    this.parCallDate = date;
    @Column( name="par_call_rate", updatable=false, insertable=false )
    protected double getParCallPrice() {
    return parCallPrice;
    protected void setParCallPrice( double value ) {
    this.parCallPrice = value;
    @Column( name="moodys_code", updatable=false, insertable=false )
    public Integer getIntegerMoodysCode() {
    return super.getMoodysCode();
    public void setIntegerMoodysCode(Integer moodysCode) {
    super.setMoodysCode( moodysCode != null ? moodysCode : 99 );
    @Column( name="s_p_code", updatable=false, insertable=false )
    public Integer getIntegerSpCode() {
    return super.getSpCode();
    public void setIntegerSpCode(Integer spCode) {
    super.setSpCode( spCode != null ? spCode : 99 );
    @Column( name="fitch_code", updatable=false, insertable=false )
    public Integer getIntegerFitchCode() {
    return super.getFitchCode();
    public void setIntegerFitchCode(Integer fitchCode) {
    super.setFitchCode( fitchCode != null ? fitchCode : 99 );
    @Override
    @Column( name="principal_amt", updatable=false, insertable=false )
    public double getPrincipalAmount() {
    return super.getPrincipalAmount();
    @Override
    public void setPrincipalAmount(double principalAmount) {
    super.setPrincipalAmount(principalAmount);
    @Transient
    public boolean getDefaulted() {
    return defaulted;
    @Transient
    public boolean isDefaulted() {
    return defaulted;
    public void setDefaulted( boolean defaulted ) {
    this.defaulted = defaulted;
    @Column( name="defaulted", updatable=false, insertable=false )
    public String getDefaultedFlag() {
    return defaulted ? "Y" : "N";
    public void setDefaultedFlag( String defaultedFlag ) {
    this.defaulted = "Y".equalsIgnoreCase( defaultedFlag );
    @Column( table="f_COUPON_INFO", name="coupon_change_indicator", updatable=false, insertable=false )
    public String getVariableCouponType() {
    return variableCouponType;
    public void setVariableCouponType( String variableCouponType ) {
    this.variableCouponType = variableCouponType;
    @OneToMany( targetEntity=com.bondtrac.entities.TaxableCouponStepEntity.class )
    @JoinTable(
    name="f_CHANGE_SCHEDULE",
    joinColumns=@JoinColumn( name="issue_id", referencedColumnName="issue_id" )
    public List getCouponSteps() {
    return super.getCouponStepSchedule();
    public void setCouponSteps( List couponSteps ) {
    super.setCouponStepSchedule( couponSteps );
    @PostLoad
    private void postLoad() {
    if ( interestFrequencyCode != null &&
    interestFrequencyCode.length() &gt; 0 )
    int intFreq = 2;
    try {
    intFreq = Integer.parseInt( interestFrequencyCode );
    catch ( Exception e ) {}
    if ( intFreq &lt;= 0 ) intFreq = 2;
    super.setInterestFrequency( intFreq );
    else {
    super.setInterestFrequency( 2 );
    if ( nextCallDate != null || parCallDate != null ) {
    CallSchedule _callSchedule = super.getCallSchedule();
    if ( _callSchedule == null ) {
    _callSchedule = new CallSchedule();
    super.setCallSchedule( _callSchedule );
    if ( nextCallDate != null ) {
    _callSchedule.addCall( nextCallDate, nextCallPrice );
    if ( parCallDate != null ) {
    _callSchedule.addCall( parCallDate, parCallPrice );
    @PrePersist
    @PreUpdate
    private void preUpdate() {
    switch ( super.getInterestFrequency() ) {
    case 2 : interestFrequencyCode = "2"; break;
    case 1 : interestFrequencyCode = "1"; break;
    case 4 : interestFrequencyCode = "4"; break;
    case 12 : interestFrequencyCode = "12"; break;
    case 99 : interestFrequencyCode = "99"; break;
    default : interestFrequencyCode = "2"; break;
    nextCallDate = null;
    nextCallPrice = 0.0;
    parCallDate = null;
    parCallPrice = 0.0;
    CallSchedule _callSchedule = super.getCallSchedule();
    if ( _callSchedule != null ) {
    Call call = _callSchedule.getNextCall();
    if ( call != null ) {
    nextCallDate = call.getDate();
    nextCallPrice = call.getAmount();
    call = _callSchedule.getNextParCall();
    if ( call != null ) {
    parCallDate = call.getDate();
    parCallPrice = call.getAmount();
    @Override
    public int hashCode() {
    return cusip != null ? cusip.hashCode() : 0;
    @Override
    public boolean equals( Object o ) {
    if ( !( o instanceof TaxableDescription ) ) return false;
    TaxableDescription otherDescription = (TaxableDescription)o;
    if ( cusip == otherDescription.cusip ) return true;
    if ( cusip != null ) return cusip.equals( otherDescription.cusip );
    return false;
    Server log entry...
    [#|2008-11-20T17:41:42.389-0600|WARNING|sun-appserver9.1|oracle.toplink.essentials.session.file:/opt/SUNWappserver/domains/domain1/applications/j2ee-apps/Bondtrac-EE/Bondtrac-EE-pu.jar-BondtracPU|_ThreadID=36;_ThreadName=p: thread-pool-1; w: 44;_RequestID=5b92f658-e52c-4b83-aafc-454a052fc30b;|
    Local Exception Stack:
    Exception [TOPLINK-45] (Oracle TopLink Essentials - 2.0.1 (Build b04-fcs (04/11/2008))): oracle.toplink.essentials.exceptions.DescriptorException
    {color:#ff0000}Exception Description: Missing mapping for field [f_COUPON_INFO.issue_id].{color}
    Descriptor: RelationalDescriptor(com.bondtrac.entities.TaxableDescription --&gt; [DatabaseTable(f_ISSUE), DatabaseTable(f_COUPON_INFO)])
    at oracle.toplink.essentials.exceptions.DescriptorException.missingMappingForField(DescriptorException.java:901)
    at oracle.toplink.essentials.internal.descriptors.ObjectBuilder.addPrimaryKeyForNonDefaultTable(ObjectBuilder.java:154)
    at oracle.toplink.essentials.internal.descriptors.ObjectBuilder.buildRowForTranslation(ObjectBuilder.java:899)
    at oracle.toplink.essentials.queryframework.ReadObjectQuery.prepareForExecution(ReadObjectQuery.java:502)
    at oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:622)
    at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:692)
    at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:746)
    at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2233)
    at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:952)
    at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:909)
    at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.refresh(EntityManagerImpl.java:389)
    at com.sun.enterprise.util.EntityManagerWrapper.refresh(EntityManagerWrapper.java:511)
    at com.bondtrac.ejb.DescriptionDAOBean.getDescription(DescriptionDAOBean.java:76)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
    at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895)
    at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:83)
    at $Proxy197.getDescription(Unknown Source)
    at com.bondtrac.offeringprocessor.OfferingProcessorBean.process(OfferingProcessorBean.java:1373)
    at com.bondtrac.offeringprocessor.OfferingProcessorBean.processOfferingEntity(OfferingProcessorBean.java:642)
    at com.bondtrac.offeringprocessor.OfferingProcessorBean.calculateOfferings(OfferingProcessorBean.java:926)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
    at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895)
    at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986)
    at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:203)
    at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:77)
    at $Proxy198.calculateOfferings(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:154)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
    |#]

    What database are you using? My guess is that the database you are using returns field names in Uppercase. While the database may not be case sensitive, most databases will convert the field names to either all upper or lower case when returning the metadata - which associates the fields to the values. In this case, it is looking for a value for "issue_id" in the returned results, when I suspect that the database returned a value for "ISSUE_ID". Try having your column names match what the database will return and see if you still get problems.
    The other part to this problem is that it does not appear mapped correctly. The primarykeyJoincolumn isn't using primary key fields (CUSIP_nbr is specified as the id), and you have a join table also using the "issue_id" field, so it really should be the id. Either way, the Secondary table is specifying f_ISSUE.issue_id to be a foreign key to f_COUPON_INFO.issue_id, and so the getFkIssueID annotation should be marked insertable=true, updateable =true and the annotation on getIssueID marked insertable=false, updatable=false,since it is set through the f_COUPON_INFO.issue_id field. Fixing this will also likely resolve the issue - the error says it can't find a mapping for the f_COUPON_INFO.issue_id but from looking at the code, what I believe it means is that it can't find a writable mapping. Reading this over again, it looks very confusing but I dont know if I can explain it much better. The field f_COUPON_INFO needs to be writeable and set by the application because you have marked it as controlling the field in f_ISSUE. The field in f_ISSUE needs to be read only, because the value is set/controlled by the value in f_COUPON_INFO.
    Best Regards,
    Chris

  • Is this a bug in JVM?

    Hello all.
    Whenever I try to make JNI calls to Ms Word in multiclient environment on server, the JVM closes with the following message.
    Another exception has been detected while we were handling last error.
    Dumping information about last error:
    ERROR REPORT FILE = (N/A)
    PC = 0x19BFC46D
    SIGNAL = -1073741819
    FUNCTION NAME = (N/A)
    OFFSET = 0xFFFFFFFF
    I am using JRE1.4.0 .
    The heap size of JVM I have set is 256 MB.
    Is this a bug in JVM?
    Please guide me in this problem if possible because it is urgent for me.
    Thanks in advance.

    Hallo,
    if I understand your problem correctly, you are trying to call MS Word on your server from Java code in your server. This is not to be recommended!
    I have seen references to this problem elsewhere in the Sun forums but cannot at the moment find them. There is also something in MSDN. As far as I remember, the story goes like this:
    1. Word is a program for client PCs.
    2. Word expects to have a GUI available for it to display messages and so on.
    3. Although you can control Word over OLE, 1 and 2 above still apply.
    4. If you still want to use Word in your server, then on your own head be it.

  • Is this a bug in mx:ComboBox ?

    Hi All,
    I'm using a mx:ComboBox control in my extension project for InDesign CS5/CS55.5/CS6 using Extension Builder 2.1, Flash Builder 4.6 and Extension Builder 3.4 SDK.
    Problem:
    When I click my ComboBox control(the text part excluding the down arrow part) after switching application to another and then back to InDesign, the list is shown and then closed quickly. Again if I click on ComboBox then the list is displayed properly.
    Is this a BUG in mx:ComboBox ?
    Please suggest any solutions/workaround to fix the issue.
    ComboBoxTest.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" historyManagementEnabled="false"
      initialize="initializeHandler(event)">
      <mx:Script>
      <![CDATA[
      import mx.collections.ArrayCollection;
      import mx.events.DropdownEvent;
      import mx.events.FlexEvent;
      import mx.events.ListEvent;
      [Bindable]
      private var cmbBoxItems:ArrayCollection;
      private function onComboBoxClick(event:MouseEvent):void{
      trace('onComboBoxClick() - '+event);
      private function onComboBoxOpen(event:DropdownEvent):void{
      trace('onComboBoxOpen() - '+event);
      private function onComboBoxChange(event:ListEvent):void{
      trace('onComboBoxChange() - '+event);
      private function onComboBoxClose(event:DropdownEvent):void{
      trace('onComboBoxClose() - '+event);
      trace('\n');
      protected function initializeHandler(event:FlexEvent):void
      cmbBoxItems = new ArrayCollection(["One","Two","Three","Four","Five"]);
      ]]>
      </mx:Script>
      <mx:VBox height="100%" width="100%" verticalAlign="middle" horizontalAlign="center" verticalGap="10">
      <mx:ComboBox  id="testCmbBox" dataProvider="{cmbBoxItems}" click="onComboBoxClick(event)" open="onComboBoxOpen(event)" change="onComboBoxChange(event)" close="onComboBoxClose(event)"/>
      </mx:VBox>
    </mx:Application>

    Now I'm sure that its a BUG in mx:ComboBox(Mac OS X Lion, InDesign CS5.5) as I'm able to reproduce in Adobe's Kuler panel also as follows,
    Open Kuler panel and switch to Browse tab.
    Then switch application(Cmd+Tab) and come back to InDesign.
    Then click on any combo-box(Highest Rated or All Time).
    We see that the combo-box is not opened for the first time.
    Any help/suggestion/workaround is highly appreciated.
    Thanks.

  • Unexpected problem with this printable

    Started by trying to stop the printing of the "Samples" printable that was acquired accidentally.  Tried directions found in the forums to no avail.  Tried through the HP Go manageprint route and never saw the minus sign in the printable header as described.  Trying on the control panel of the printer, I get to the "Select activity" option and select the "Schedule it" icon.  Loading....then error message:  "There was an unexpected problem with this printable.  Please try again later."  I also had problems previously connecting to web services when I tried to scan a document to my email address (which I have done many time previously successfully). Performed wireless network test and all results were good.  Something is screwed up.  Any assistance is appreciated. 

     I suspect the whole setup is "not quite right" and that is not your fault -- it is a multi-step process and if it does go well the first time around, it can seem like the size 14 is a solution to fit the need. I do not have an answer - know that.  The print App is stuck, no doubt about that. I will try and help you straighten out the setup; understand I am not a Printer Expert.  Not.  This may make it worse. You might want to call Cloud Services if you can do so...  SideBar:At the least, the Snapfish bits may be just one more worm in the bucket of troubles - at this point, you might as well Click Reset Snapfish -- frankly, while used to understand what Snapfish is and why it might be on the printer panel, I have never heard of Snapfish Country.  Final note about Snapfish -- if you ever get into some sort of evil loop about logging into (creating) your HP Connected Account and it is offing something about Snapfish account -- saying you have to have the Snapfish account or you can just die and never be able to log into your HP Connected Account:  Give the program what it wants --- it is a bug.  Create the Snapfish account and you will be able to get in.  I did not write the program.  I did not create the bug.  I may have done some stupid things when I wrote code in my life -- this one is not mine.  Smiling. You can "reset" at least the "web services" by simply disabling Web Services on the printer front panel.  This is perhaps a good plan all things considered; you might read first and then decide. The one thing I have noted is that I have never had had any luck resetting, redoing, or entering much of anything from a printer panel.  I lack the patience to type on tiny panels. I do know the Printable / Print App has to be "scheduled", that is, active before it can be cancelled.  So, if it is in some sort of zombie state of half-life, you may want log in to your HP Connected account and make sure the Print App is "active" -- then try to kill it. Also -- see the note below about the Safari browser -- there may be other browsers (Chrome??) that do not handle the HP Connected account management page setup.  There are several parts to the whole "ePrint" business.   The following might be useful to help you make sure you have your setup in place.-----------------------------------------------------------------------------------------Reference:Add Device to Printer See Section:Computer gets Full Feature Software (Printer Software)If you are printing from a mobile device on the same (home) network, then you probably have a home computer in the mix (on that same network).  On that home computer, you would want to have installed the Full Feature Software for the Printer. -----------------------------------------------------------------------------------------ePrint SetupThe ePrint setup on ePrint capable printers involves the setting of the printer's own email address and the switching on of the ePrint service on the printer.  The ePrint email address is the email address to which you send your print jobs from your mobile device(s).  Note that a mobile device can also include your notebook computer.  "If you can send an email, you can use ePrint." -----------------------------------------------------------------------------------------The HP Connected AccountThe HP Connected Account (still called ePrint account in some countrys) is the account you use to manage your ePrint setup.  You can customize your ePrint email address, add / remove your ePrint printer from the HP Connected account, check your ePrint job log, and -- when things are working as intended -- manage your Print Apps (formally Printables). For example,If you have had to Reset Web Services, you may need to log into your HP Connected Account > Settings > and Add your printer. If you have had to Reset Web Services, you must change your Custom ePrint email address. If you gave your ePrint address to someone you no longer "like", you can change the address or remove that person from the "Allowed Senders" list. There are a couple of oddities having to do with the managing of the HP Connected Account.  For all that it is intended to be fully functional under most circumstances, some Browsers do not seem to be able to handle the code in which the WebPage is written.  Safari is notorious for not handling the Print Apps section of the HP Connected setup.   If you have trouble managing the features in  your HP Connected Account, try a different Browser. -----------------------------------------------------------------------------------------Mobile Device / iPad gets an App Once everything else is set up, mobile device(s) can be added to the ePrint setup.  The type of Application used to support the mobile device depends on the device. For example, iPhone and other Apple flavored products typically use those products found in the Apply Store.  Android has its own download, etc. Most devices and printers that can be connected with ePrint or some sort of Cloud or Web services print service are mentioned and / or covered in the Mobile Printing Link in the document. -----------------------------------------------------------------------------------------Troubleshooting and Additional HelpTips, Suggestions, lists, and extra "bits".   When you see a Post that helps you,Inspires you, provides fresh insight,Or teaches you something new,Click the "Thumbs Up" on that Post. Click my Answer Accept as Solution to help others find Answers.

Maybe you are looking for

  • Update cfdiv in Parent Window from popup window

    I need help trying to update a cfdiv in the parent window from a popup window. The parent window displays a color (red by default) The popup gives you a radio selection which would let you select a different color. I need to have this submit button u

  • Apps blink but don't start since update to 5.0.1

    After completing msync and backup and update to 5.0.1, many of my apps just flash when I touch them, instead of opening and starting. I've rebooted, I've done a hard reset. What now? Help!

  • SRM WEBSURVEY - VIEW OF THE RESULTS

    Dear experts, We are implanting version 5.5 of the SRM and we are using the WebSurvey functionality to send a questionary manually via transaction BBP_EVAL_SURVEY. We are able to create a survey, create a questionary, associate a questionary to the s

  • Finder ALWAYS has to recalculate Applications file sizes - WHY?

    I must be missing something simple here. Every time I open the Applications folder the Finder seems to take 2-3 minutes to re-calculate the file size of every app. I don't usually care because they don't usually change. Any ideas on how I can stop th

  • Mac Mouses

    Has mac ever made a mouse that would work with a mini, that has a scroll wheel to let you scroll up and down?