Re: [dev] Lifetime of Java objects representing UNO_ENUM values ?

2010-07-19 Thread Stephan Bergmann
On 07/16/10 15:16, rony wrote: On 16.07.2010 14:51, Stephan Bergmann wrote: Can you present the exact failing code here? What type is the variable named right, and how exactly does the (reflective, IIUC) call to setPropertyValue look like? Yes, but you need to fasten your seat-belt! ;-)

Re: [dev] Lifetime of Java objects representing UNO_ENUM values ?

2010-07-16 Thread Stephan Bergmann
On 07/15/10 22:10, Rony G. Flatscher wrote: today I stumbled over the following interesting (read: time-consuming) problem: while caching Java objects representing individual UNO_ENUM values, all of a sudden om.sun.star.lang.DisposedException started to be thrown. Here is one such received

Re: [dev] Lifetime of Java objects representing UNO_ENUM values ?

2010-07-16 Thread rony
Hi Stephan, On 16.07.2010 08:48, Stephan Bergmann wrote: On 07/15/10 22:10, Rony G. Flatscher wrote: today I stumbled over the following interesting (read: time-consuming) problem: while caching Java objects representing individual UNO_ENUM values, all of a sudden

Re: [dev] Lifetime of Java objects representing UNO_ENUM values ?

2010-07-16 Thread Stephan Bergmann
On 07/16/10 13:48, rony wrote: On 16.07.2010 08:48, Stephan Bergmann wrote: On 07/15/10 22:10, Rony G. Flatscher wrote: today I stumbled over the following interesting (read: time-consuming) problem: while caching Java objects representing individual UNO_ENUM values, all of a sudden

Re: [dev] Lifetime of Java objects representing UNO_ENUM values ?

2010-07-16 Thread rony
Hi Stephan, On 16.07.2010 14:51, Stephan Bergmann wrote: On 07/16/10 13:48, rony wrote: On 16.07.2010 08:48, Stephan Bergmann wrote: On 07/15/10 22:10, Rony G. Flatscher wrote: today I stumbled over the following interesting (read: time-consuming) problem: while caching Java objects

[dev] Lifetime of Java objects representing UNO_ENUM values ?

2010-07-15 Thread Rony G. Flatscher
Hi there, today I stumbled over the following interesting (read: time-consuming) problem: while caching Java objects representing individual UNO_ENUM values, all of a sudden om.sun.star.lang.DisposedException started to be thrown. Here is one such received exception message: ... getCause():