Hi Elisabeth,

ULC's extension API has changed in ULC 6.1.

Please refer to:

1. Migration notes in ULC 6.1 Release notes
2. ULC Extension Guide

Please test/review all your ULC Extensions against ULC 6.1.

Some Extensions, like the one for ULCInternalFrame (for memory leak fix) may
not be required any more.

I suspect even the one for ID DataType which enforces long string of digits
is also not necessary because the same can be achieve the same with
RegularExpressionDataType.

So in short, look at all your Extensions and see if they need change or are
needed at all.

There is a new version of DateComponent on the community site which is
compatible with ULC 6.1. Remember that we had made a change to to set
location of the dialog.

Thanks and regards,

Janak

----------------------
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kliman, Elizabeth
Sent: Wednesday, June 21, 2006 3:57 AM
To: [email protected]
Subject: RE: [ULC-developer] ULC 1.6 upgrade - Class Cast Exception in
getBasicDialog


Hi,

Just thought I'd give you an update.  I found the problem.  The method
getBasicDialog() returns a BasicDialog, but in my createBasicObject(), I was
returning a JDialog, the super class of BasicDialog.  I updated the code so
that my createBasicObject() returned a BasicDialog and I got past the error.
I still haven't tested the date component fully, but at least I'm at the
point where the application will at least start up without errors.

Thanks.
Elizabeth Kliman, B.Sc., SCJP
Developer / Développeur
Information Technology / Technologie de l'information
Farm Credit Canada / Financement agricole Canada
1800 Hamilton Street, P.O. Box 4320
1800, rue Hamilton, C.P. 4320
Regina SK S4P 4L3
Tel/Tél. : (306) 780-3382 Fax/Télec. : (306) 780-5655
E-mail/Courriel : [EMAIL PROTECTED]
Agriculture. It's all we do. L'agriculture... notre raison d'être.
This message may contain information that is privileged, protected,
confidential or subject to copyright. Using, disclosing, copying or
distributing such information by anyone other than the intended recipient is
strictly prohibited. If you’ve received this message in error, please delete
it and notify me immediately.
Le présent courriel contient des renseignements de nature privilégiée,
protégée, confidentielle ou assujettie à des droits d’auteur. Toute
utilisation, communication, reproduction ou distribution de l’information
contenue dans ce courriel par toute personne autre que le destinataire visé
est strictement interdite. Si vous avez reçu ce courriel par erreur,
veuillez le supprimer et m’en informer immédiatement.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kliman, Elizabeth
Sent: June 20, 2006 1:23 PM
To: [email protected]
Subject: [ULC-developer] ULC 1.6 upgrade - Class Cast Exception in
getBasicDialog


Hi,
We are attempting to upgrade to ULC 1.6 and our application doesn't run
anymore, and I'm somewhat at a loss to figure out what the error really is.
Here is the stack trace when I try to run our application through the
DevelopmentRunner.
1        20.06.2006 13:14:21.203        1,000   SEVERE
Thread[AWT-EventQueue-1,6,main] com.ulcjava.base.client.UISession       b
got exception while processing  [java.lang.ClassCastException
        at com.ulcjava.base.client.UIDialog.getBasicDialog(UIDialog.java:5)
        at
com.canoo.ulc.community.datecomponent.client.UIDateChooserDialog.postInitial
izeState(UIDateChooserDialog.java:33)
        at com.ulcjava.base.client.UIProxy.init(UIProxy.java:45)
        at com.ulcjava.base.client.UISession.newInstance(UISession.java:133)
        at com.ulcjava.base.client.UISession.handleRequest(UISession.java:6)
        at com.ulcjava.base.client.UISession.b(UISession.java:173)
        at com.ulcjava.base.client.UISession.access$1600(UISession.java:180)
        at com.ulcjava.base.client.UISession$1.run(UISession$1.java:1)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
        at
com.ulcjava.base.client.FilteringEventQueue.dispatchEvent(FilteringEventQueu
e.java:6)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:201)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:151)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
]
At first I thought it was something to do with our extension being written
with the old extension API, so I have updated it to use the new extension
API and I'm getting the same error.  Since the error is happening in ULC
code, I have no idea why this error is occuring.  What can I try to fix this
error?
Thanks.
Elizabeth Kliman, B.Sc., SCJP
Developer / Développeur
Information Technology / Technologie de l'information
Farm Credit Canada / Financement agricole Canada
1800 Hamilton Street, P.O. Box 4320
1800, rue Hamilton, C.P. 4320
Regina SK S4P 4L3
Tel/Tél. : (306) 780-3382 Fax/Télec. : (306) 780-5655
E-mail/Courriel : [EMAIL PROTECTED]
Agriculture. It's all we do. L'agriculture... notre raison d'être.
This message may contain information that is privileged, protected,
confidential or subject to copyright. Using, disclosing, copying or
distributing such information by anyone other than the intended recipient is
strictly prohibited. If you’ve received this message in error, please delete
it and notify me immediately.
Le présent courriel contient des renseignements de nature privilégiée,
protégée, confidentielle ou assujettie à des droits d’auteur. Toute
utilisation, communication, reproduction ou distribution de l’information
contenue dans ce courriel par toute personne autre que le destinataire visé
est strictement interdite. Si vous avez reçu ce courriel par erreur,
veuillez le supprimer et m’en informer immédiatement.

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to