Janak,
Thanks for the info. This got me a bit further in that I was finally able to
get around the "no coder registered" error. I next ran into the error below
and I decided to ensure that all extensions were migrated to 6.1 in case it was
one of the other extensions that was causing the problem. However, now
everything has been migrated and I'm still getting this error. Again, I'm
trying to run the development launcher. The application comes up, but before
you can do anything with it, this error appears and crashes the app.
1 11.08.2006 15:25:31.792 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.UIWindow.getBasicWindow(UIWindow.java:72)
at com.ulcjava.base.client.UIWindow.preInitializeState(UIWindow.java:18)
at com.ulcjava.base.client.UIDialog.preInitializeState(UIDialog.java:13)
at com.ulcjava.base.client.UIProxy.init(UIProxy.java:83)
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(FilteringEventQueue.java:6)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java: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)
]
Could you please let me know what I can 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.
-----Original Message-----
From: Janak Mulani [mailto:[EMAIL PROTECTED]
Sent: August 11, 2006 1:35 AM
To: Kliman, Elizabeth
Cc: [email protected]
Subject: RE: [ULC-developer] Migrating Date Component: no coder
registered error
Hi Elisabeth,
Not only you have to provide a Coder on the client and the server, you also
need to have the coder-registry-provider where you registered the coder on
the client and the server. You'll find documentation on how to create your
own coder and register it with the coder registry in the ULC Extension Guide
of ULC 6.1.
For the DevelopmentRunner you can specify the coder-registry-provider
through command line args as follows:
-client-coder-registry-provider <class name>
-server-coder-registry-provider <class name>
I hope this helps.
Thanks and regards,
Janak
PS; ULC 6.1.1 has been released. So if you are migrating from ULC 6.0.4
might as well migrate to 6.1.1.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kliman, Elizabeth
Sent: Friday, August 11, 2006 2:32 AM
To: [email protected]
Subject: [ULC-developer] Migrating Date Component: no coder registered error
Hi,
I am trying to migrate my Date Component widget to ULC 6.1. On the code
community site the Date Chooser widget has been upgraded, but the Date
Component has not, so I am trying to convert it myself. (It would be
greatly helpful if anyone has already done this!)
I have run into the following error and I haven't been able to make any
progress on it. I don't know where this is coming from because it is in the
ULC code. Maybe you can provide some insight?
1 10.08.2006 11:44:49.541 1,000 SEVERE Thread[ULC
Communication Controller Thread,6,main]
com.ulcjava.base.client.UISession$k_ run exception occured
[com.ulcjava.base.client.ConnectorException: error while sending requests
at
com.ulcjava.base.development.DevelopmentConnector.sendRequests(DevelopmentCo
nnector.java:5)
at com.ulcjava.base.client.UISession$k_.run(UISession$k_.java:107)
at java.lang.Thread.run(Thread.java:534)
Caused by: com.ulcjava.base.shared.internal.IllegalArgumentException: No
coder registered for class sun.util.calendar.ZoneInfo
at
com.ulcjava.base.shared.internal.UlcObjectOutputStream.a(UlcObjectOutputStre
am.java:165)
at
com.ulcjava.base.shared.internal.UlcObjectOutputStream.writeObject(UlcObject
OutputStream.java:93)
at
com.ulcjava.base.shared.internal.UlcObjectOutputStream.writeObject(UlcObject
OutputStream.java:122)
at
com.ulcjava.base.shared.streamcoder.MapCoder.writeObject(MapCoder.java:17)
at
com.ulcjava.base.shared.internal.UlcObjectOutputStream.writeObject(UlcObject
OutputStream.java:96)
at
com.ulcjava.base.shared.streamcoder.AnythingCoder.writeObject(AnythingCoder.
java:5)
at
com.ulcjava.base.shared.internal.UlcObjectOutputStream.writeObject(UlcObject
OutputStream.java:96)
at
com.ulcjava.base.shared.streamcoder.MapCoder.writeObject(MapCoder.java:17)
at
com.ulcjava.base.shared.internal.UlcObjectOutputStream.writeObject(UlcObject
OutputStream.java:96)
at
com.ulcjava.base.shared.internal.Request.writeRequests(Request.java:4)
at
com.ulcjava.base.development.DevelopmentConnector.a(DevelopmentConnector.jav
a:9)
at
com.ulcjava.base.development.DevelopmentConnector.sendRequests(DevelopmentCo
nnector.java:16)
at com.ulcjava.base.client.UISession$k_.run(UISession$k_.java:107)
at java.lang.Thread.run(Thread.java:534)
]
We are using a TimeZone in a number of places for the Date Component and
ZoneInfo is a subclass of TimeZone, so I guess that must be where the
problem is coming from. I'm just not sure which reference is causing the
issue or what it is trying to do that is causing the issue.
I wrote up a coder for ZoneInfo to see if I could get that to work, but it
didn't seem to work. I'm trying to run through the development launcher.
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