Hi,

Could you please send me the snippet from QueryPoliciesPane where you are
setting text on ULCTextField?

It seems to me you are trying to setValue on a ULC widget from a separate
thread. In a ULC application you are not allowed to spawn separate thread
and neither should you access ULC widgets from that thread.

Thanks and regards,

Janak

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, May 23, 2006 2:25 AM
To: [email protected]
Subject: [ULC-developer] Problem updating the ui



Hi

I'm writing a sample application for evaluation purposes,
but I'm stuck with a problem.

My app just receives some parameters and executes a query,
and it;'s supposed to update a table and a textfield.

The problem is when trying to update the table
(or for that matter, whatever ui component).
Using tomcat, I get the following in stdout.log

java.lang.NullPointerException
        at com.ulcjava.base.application.ULCProxy.a(ULCProxy.java:13)
        at com.ulcjava.base.application.ULCProxy.a(ULCProxy.java:245)
        at com.ulcjava.base.application.ULCProxy.a(ULCProxy.java:430)
        at com.ulcjava.base.application.ULCProxy.a(ULCProxy.java:121)
        at
com.ulcjava.base.application.ULCProxy.setStateUI(ULCProxy.java:256)
        at
com.ulcjava.base.application.ULCTextComponent.setValue(ULCTextComponent.java
:30)
        at
com.ulcjava.base.application.ULCTextField.setValue(ULCTextField.java:1)
        at
com.ulcjava.base.application.ULCTextComponent.setText(ULCTextComponent.java:
51)
        at
com.ulcjava.base.application.ULCTextField.setText(ULCTextField.java:22)
        at
com.ulcjava.sample.onlineshop.view.QueryPoliciesPane$1$1.run(QueryPoliciesPa
ne.java:122)

Here is another version of the same stuff.

java.lang.NullPointerException
        at com.ulcjava.base.application.ULCProxy.a(ULCProxy.java:231)
        at com.ulcjava.base.application.ULCProxy.invokeUI(ULCProxy.java:276)
        at com.ulcjava.base.application.ULCProxy.invokeUI(ULCProxy.java:72)
        at
com.ulcjava.base.application.ULCComponent.repaint(ULCComponent.java:232)
        at
com.ulcjava.sample.onlineshop.view.QueryPoliciesPane$1$1.run(QueryPoliciesPa
ne.java:117)

Please, Does anyoune know what could be wrong?

Thank your

Agustín Ramos Fonseca

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

Reply via email to