logo       

RE: Re[5]: No proxy description found for oid...: msg#00111

java.ulc.devel

Subject: RE: Re[5]: No proxy description found for oid...

Hi Dejan,

OK, then let's investigate more.

First of all: what ULC version are you on
(from the stacktrace it looks like ULC 6.0.x)? What JDK?

The general problem is a follows: ULC tries to lookup a component
with a special ID on the client side but it cannot find it. This happens
while a tree of other components is being initialized on the client side.

A potential source of problems could be extensions:
did you write any extension and are are they used in the context of the
error?

It would be very helpful if you could isolate the problem via
a code snippet, otherwise it is very difficult for me to track this.

The least you should do is to turn on the LOG level FINEST
(see the ULC docu on how to do this) and send the LOG which produces
the error.

Greetings,

Daniel





-----Original Message-----
From: ulc-developer-admin@xxxxxxxxxxxxxxx
[mailto:ulc-developer-admin@xxxxxxxxxxxxxxx]On Behalf Of Dejan Pecar
Sent: Dienstag, 18. Juli 2006 16:41
To: Daniel Pfeifer
Cc: Ulc-Developer@Lists. Canoo. Com
Subject: Re[5]: [ULC-developer] No proxy description found for oid...


hi daniel,

we're aware of the problem of the static fields.
(thats why i have scanned all the code for it)

i can really tell for sure that i also do not reference a static object
indirectly.
i have checked all static variables in our code. there are only a few non
primitive statics which have
nothing todo with ulc.

i'm working with singletons but they always create new instances of the
objects.


regards
Dejan
mailto:pecar@xxxxxxxxx

Tuesday, July 18, 2006, 4:03:47 PM, you wrote:

DP> Hi Dejan,

DP> could it be that you INDIRECTLY reference a ULCProxy via a static field?
DP> (E.g., there could be another object which is statically referenced and
DP> that object references a ULCProxy.)
DP> I am asking this since you were talking about static methods in your
DP> previous email - e.g., maybe you have a singleton which references a
DP> ULCProxy?

DP> Sorry for being so focused on the static field issue - it's just that
DP> from our experience, this almost always turned out to be the problem,
when
DP> other
DP> customers reported similar bugs.

DP> Greetings,

DP> Daniel

DP> -----Original Message-----
DP> From: ulc-developer-admin@xxxxxxxxxxxxxxx
DP> [mailto:ulc-developer-admin@xxxxxxxxxxxxxxx]On Behalf Of Dejan Pecar
DP> Sent: Dienstag, 18. Juli 2006 15:05
DP> To: Ulc-Developer@Lists. Canoo. Com
DP> Subject: Re[3]: [ULC-developer] No proxy description found for oid...


DP> hi,

DP> i've scanned the hole code for static ULCProxy objects. there is not a
DP> single one.
DP> so i'm pretty sure this error is something different.

DP> regards
DP> Dejan
DP> mailto:pecar@xxxxxxxxx

DP> Tuesday, July 18, 2006, 2:27:36 PM, you wrote:

DP>> hi daniel,

DP>> i do not use static fields. well actually i cannot tell for sure that
DP> some subcomponent may
DP>> use static fields. it's really a lot of code involved there so it's not
DP> possible for me to
DP>> provide you a sample where you can reproduce it.

DP>> can you give me a hint how to find a subcomponent that may be
statically
DP> initialized ?

DP>> regards
DP>> Dejan
DP>> mailto:pecar@xxxxxxxxx

DP>> Tuesday, July 18, 2006, 2:13:22 PM, you wrote:

DP>>> Hi Dejan,

DP>>> with ULC you must NOT USE STATIC FIELS in order to store ULC proxies
DP>>> because ULC proxies ALWAYS belong to a non-static context - the ULC
DP> session.
DP>>> This is most likely the reason of your problem.
DP>>> If you assume that it is something else, then please send us a code
DP> snippet
DP>>> which illustrates problem.

DP>>> Greetings,

DP>>> Daniel

DP>>> -----Original Message-----
DP>>> From: ulc-developer-admin@xxxxxxxxxxxxxxx
DP>>> [mailto:ulc-developer-admin@xxxxxxxxxxxxxxx]On Behalf Of Dejan Pecar
DP>>> Sent: Dienstag, 18. Juli 2006 13:24
DP>>> To: ULC-developer@xxxxxxxxxxxxxxx
DP>>> Subject: [ULC-developer] No proxy description found for oid...


DP>>> hi,

DP>>> we have developed an own ULC extension for showing modal dialogs.
DP>>> these are static methods which basically create dialogs and show them.

DP>>> now about every second time i start the application i get the
following
DP>>> error:

DP>>> com.ulcjava.base.shared.internal.IllegalStateException: No proxy
DP> description
DP>>> found for oid 1009
DP>>> at
DP> com.ulcjava.base.client.UISession.newInstance(UISession.java:174)
DP>>> at com.ulcjava.base.client.UISession.find(UISession.java:263)
DP>>> at
DP> com.ulcjava.base.client.UISession.getManaged(UISession.java:167)
DP>>> at com.ulcjava.base.client.UIProxy.c(UIProxy.java:50)
DP>>> at com.ulcjava.base.client.UIProxy.c(UIProxy.java:82)
DP>>> at com.ulcjava.base.client.UIProxy.b(UIProxy.java:171)
DP>>> at com.ulcjava.base.client.UIProxy.a(UIProxy.java:18)
DP>>> at
DP> com.ulcjava.base.client.UIProxy.restoreState(UIProxy.java:156)
DP>>> at com.ulcjava.base.client.UIProxy.init(UIProxy.java:144)
DP>>> at
DP> com.ulcjava.base.client.UISession.newInstance(UISession.java:133)
DP>>> at com.ulcjava.base.client.UISession.find(UISession.java:263)
DP>>> at
DP> com.ulcjava.base.client.UISession.getManaged(UISession.java:167)
DP>>> at com.ulcjava.base.client.UIProxy.c(UIProxy.java:50)
DP>>> at com.ulcjava.base.client.UIProxy.c(UIProxy.java:82)
DP>>> at com.ulcjava.base.client.UIProxy.b(UIProxy.java:171)
DP>>> at com.ulcjava.base.client.UIProxy.a(UIProxy.java:18)
DP>>> at
DP> com.ulcjava.base.client.UIProxy.restoreState(UIProxy.java:156)
DP>>> at com.ulcjava.base.client.UIProxy.init(UIProxy.java:144)
DP>>> at
DP> com.ulcjava.base.client.UISession.newInstance(UISession.java:133)
DP>>> at com.ulcjava.base.client.UISession.find(UISession.java:263)
DP>>> at
DP> com.ulcjava.base.client.UISession.getManaged(UISession.java:167)
DP>>> at com.ulcjava.base.client.UIProxy.c(UIProxy.java:50)
DP>>> at com.ulcjava.base.client.UIProxy.c(UIProxy.java:82)
DP>>> at com.ulcjava.base.client.UIProxy.b(UIProxy.java:171)
DP>>> at com.ulcjava.base.client.UIProxy.a(UIProxy.java:18)
DP>>> at
DP> com.ulcjava.base.client.UIProxy.restoreState(UIProxy.java:156)
DP>>> at com.ulcjava.base.client.UIProxy.init(UIProxy.java:144)
DP>>> at
DP> com.ulcjava.base.client.UISession.newInstance(UISession.java:133)
DP>>> at com.ulcjava.base.client.UISession.find(UISession.java:263)
DP>>> at
DP> com.ulcjava.base.client.UISession.getManaged(UISession.java:167)
DP>>> at com.ulcjava.base.client.UIProxy.c(UIProxy.java:50)
DP>>> at com.ulcjava.base.client.UIProxy.c(UIProxy.java:82)
DP>>> at com.ulcjava.base.client.UIProxy.b(UIProxy.java:171)
DP>>> at com.ulcjava.base.client.UIProxy.a(UIProxy.java:18)
DP>>> at
DP> com.ulcjava.base.client.UIProxy.restoreState(UIProxy.java:156)
DP>>> at com.ulcjava.base.client.UIProxy.init(UIProxy.java:144)
DP>>> at
DP> com.ulcjava.base.client.UISession.newInstance(UISession.java:133)
DP>>> at com.ulcjava.base.client.UISession.find(UISession.java:263)
DP>>> at
DP> com.ulcjava.base.client.UISession.getManaged(UISession.java:167)
DP>>> at com.ulcjava.base.client.UIProxy.c(UIProxy.java:50)
DP>>> at com.ulcjava.base.client.UIProxy.c(UIProxy.java:82)
DP>>> at com.ulcjava.base.client.UIProxy.b(UIProxy.java:171)
DP>>> at com.ulcjava.base.client.UIProxy.a(UIProxy.java:18)
DP>>> at
DP> com.ulcjava.base.client.UIProxy.restoreState(UIProxy.java:156)
DP>>> at com.ulcjava.base.client.UIProxy.init(UIProxy.java:144)
DP>>> at
DP> com.ulcjava.base.client.UISession.newInstance(UISession.java:133)
DP>>> at com.ulcjava.base.client.UISession.find(UISession.java:263)
DP>>> at
DP> com.ulcjava.base.client.UISession.getManaged(UISession.java:167)
DP>>> at com.ulcjava.base.client.UIProxy.c(UIProxy.java:50)
DP>>> at com.ulcjava.base.client.UIProxy.c(UIProxy.java:82)
DP>>> at com.ulcjava.base.client.UIProxy.b(UIProxy.java:171)
DP>>> at com.ulcjava.base.client.UIProxy.a(UIProxy.java:18)
DP>>> at
DP> com.ulcjava.base.client.UIProxy.restoreState(UIProxy.java:156)
DP>>> at com.ulcjava.base.client.UIProxy.init(UIProxy.java:144)
DP>>> at
DP> com.ulcjava.base.client.UISession.newInstance(UISession.java:133)
DP>>> at
DP> com.ulcjava.base.client.UISession.handleRequest(UISession.java:6)
DP>>> at com.ulcjava.base.client.UISession.b(UISession.java:173)
DP>>> at
DP> com.ulcjava.base.client.UISession.access$1600(UISession.java:180)
DP>>> at com.ulcjava.base.client.UISession$1.run(UISession$1.java:1)
DP>>> at
DP> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
DP>>> at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
DP>>> at
DP>>>
DP>
com.ulcjava.base.client.FilteringEventQueue.dispatchEvent(FilteringEventQueu
DP>>> e.java:6)
DP>>> at
DP>>>
DP>
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
DP>>> va:242)
DP>>> at
DP>>>
DP>
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
DP>>> :163)
DP>>> at
DP>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
DP>>> at
DP>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
DP>>> at
DP> java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


DP>>> regards
DP>>> Dejan
DP>>> mailto:pecar@xxxxxxxxx

DP>>> _______________________________________________
DP>>> ULC-developer mailing list
DP>>> ULC-developer@xxxxxxxxxxxxxxx
DP>>> http://lists.canoo.com/mailman/listinfo/ulc-developer

DP>> _______________________________________________
DP>> ULC-developer mailing list
DP>> ULC-developer@xxxxxxxxxxxxxxx
DP>> http://lists.canoo.com/mailman/listinfo/ulc-developer

DP> _______________________________________________
DP> ULC-developer mailing list
DP> ULC-developer@xxxxxxxxxxxxxxx
DP> http://lists.canoo.com/mailman/listinfo/ulc-developer

_______________________________________________
ULC-developer mailing list
ULC-developer@xxxxxxxxxxxxxxx
http://lists.canoo.com/mailman/listinfo/ulc-developer


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise