Hello,

I am seeing a very strange error in ULC when deployed in a servlet 
container.  I am currently deployed in JBoss.  What I am seeing is as 
follows:

1)  I deploy my ulc app to jboss.
2)  I launch the app via web start and the app works fine.
3)  I close the application.
4)  I try to launch the app again and the app will not launch do to an 
exception (listed at the bottom).
5)  If I either restart jboss or redeploy the web app it works the first 
time again, but not subsequent tries.


Baiscally the app only works the first time.  Even if I got to another 
machine to try the second time it fails.  The exception in somewhere in 
the ULC client and is claiming that I am trying to execute the 
"com.ulcjava.base.client.UIButton.setIcon()" method but that I am passing 
that method a 
com.ulcjava.base.client.UIToolBar$UISeparator$BasicToolBarSeparator. 
Obviously this method does not exists.  There is only one tool bar in my 
application.  It does have buttons and separators in it.  However there is 
not where where I try to set an icon of a button and pass it a separator. 

The application works fine out of eclispe using the dev launcher and it 
also works fine the first time I launch it from the Servlet Container via 
web start.  This seems to indicate that my code is actually ok. 
Furthermore, if I comment out all of the code in my app pertaining to the 
tool bar, I get a similar exception but this time saying that I am still 
trying to set the icon of a Button but passing in 
"com.ulcjava.base.client.UITextField$BasicTextField" object.

Comething is obviously going wrong here.  The perplexing thigs is that it 
works the first time and then won't ever work again.  At first I thought 
maybe it was somehting wrong with the servlet context (i.e. that I was 
trying to reconnect to my previous session), however when I tried to 
launch from another workstation (whihc should start an new servlet session 
since it is a new host) it still didn't work.  I am not sure if there is 
something I am doing wrong here or if this is a problem with ULC. 

This is kind of a show stopper for me so I would really appriciate some 
help.  If you need more info from me I would be happy to provide it. 
Thanks.


Regards,
Michael MacFadden


Exception Trace:


11:09:47,671 INFO  [STDOUT] 1    27.07.2006 11:09:47.671        900 
WARNING Thread[http-0.0.0.0-8080-9,5,j
boss]   com.ulcjava.base.server.ULCSession      a       Exception received 
from client: com.ulcjava.base.shared.internal.IllegalStateException: no 
method found for method name 'setIcon' and arguments 
'[com.ulcjava.base.client.UIToolBar$UISeparator$BasicToolBarSeparator[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,orientation=VERTICAL]]'
 
(argument types: '[class 
com.ulcjava.base.client.UIToolBar$UISeparator$BasicToolBarSeparator]') on 
class 'com.ulcjava.base.client.UIButton', proxy OID is 1006
        at 
com.ulcjava.base.shared.internal.ReflectionUtilities.createExceptionForMethodNotFound(ReflectionUtilities.java:15)
        at com.ulcjava.base.client.UIProxy.a(UIProxy.java:10)
        at com.ulcjava.base.client.UIProxy.b(UIProxy.java:161)
        at com.ulcjava.base.client.UIProxy.a(UIProxy.java:68)
        at com.ulcjava.base.client.UIProxy.restoreState(UIProxy.java:199)
        at com.ulcjava.base.client.UIProxy.init(UIProxy.java:143)
        at 
com.ulcjava.base.client.UISession.newInstance(UISession.java:232)
        at com.ulcjava.base.client.UISession.find(UISession.java:291)
        at com.ulcjava.base.client.UISession.getManaged(UISession.java:92)
        at com.ulcjava.base.client.UIProxy.c(UIProxy.java:147)
        at com.ulcjava.base.client.UIProxy.c(UIProxy.java:184)
        at com.ulcjava.base.client.UIProxy.b(UIProxy.java:115)
        at com.ulcjava.base.client.UIProxy.a(UIProxy.java:68)
        at com.ulcjava.base.client.UIProxy.restoreState(UIProxy.java:199)
        at com.ulcjava.base.client.UIProxy.init(UIProxy.java:143)
        at 
com.ulcjava.base.client.UISession.newInstance(UISession.java:232)
        at com.ulcjava.base.client.UISession.find(UISession.java:291)
        at com.ulcjava.base.client.UISession.getManaged(UISession.java:92)
        at com.ulcjava.base.client.UIProxy.c(UIProxy.java:147)
        at com.ulcjava.base.client.UIProxy.c(UIProxy.java:184)
        at com.ulcjava.base.client.UIProxy.b(UIProxy.java:115)
        at com.ulcjava.base.client.UIProxy.a(UIProxy.java:68)
        at com.ulcjava.base.client.UIProxy.restoreState(UIProxy.java:199)
        at com.ulcjava.base.client.UIProxy.init(UIProxy.java:143)
        at 
com.ulcjava.base.client.UISession.newInstance(UISession.java:232)
        at com.ulcjava.base.client.UISession.find(UISession.java:291)
        at com.ulcjava.base.client.UISession.getManaged(UISession.java:92)
        at com.ulcjava.base.client.UIProxy.c(UIProxy.java:147)
        at com.ulcjava.base.client.UIProxy.c(UIProxy.java:184)
        at com.ulcjava.base.client.UIProxy.b(UIProxy.java:115)
        at com.ulcjava.base.client.UIProxy.a(UIProxy.java:68)
        at com.ulcjava.base.client.UIProxy.restoreState(UIProxy.java:199)
        at com.ulcjava.base.client.UIProxy.init(UIProxy.java:143)
        at 
com.ulcjava.base.client.UISession.newInstance(UISession.java:232)
        at com.ulcjava.base.client.UISession.find(UISession.java:291)
        at com.ulcjava.base.client.UISession.getManaged(UISession.java:92)
        at com.ulcjava.base.client.UIProxy.c(UIProxy.java:147)
        at com.ulcjava.base.client.UIProxy.c(UIProxy.java:184)
        at com.ulcjava.base.client.UIProxy.b(UIProxy.java:115)
        at com.ulcjava.base.client.UIProxy.a(UIProxy.java:68)
        at com.ulcjava.base.client.UIProxy.restoreState(UIProxy.java:199)
        at com.ulcjava.base.client.UIProxy.init(UIProxy.java:143)
        at 
com.ulcjava.base.client.UISession.newInstance(UISession.java:232)
        at 
com.ulcjava.base.client.UISession.handleRequest(UISession.java:206)
        at com.ulcjava.base.client.UISession.b(UISession.java:243)
        at 
com.ulcjava.base.client.UISession.access$1600(UISession.java:310)
        at com.ulcjava.base.client.UISession$1.run(UISession$1.java:2)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at 
com.ulcjava.base.client.FilteringEventQueue.dispatchEvent(FilteringEventQueue.java:33)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown 
Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown 
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Michael MacFadden
Tomax Corp - http://www.tomax.com
[EMAIL PROTECTED]
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to