Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » NullPointerException in isValidThread
NullPointerException in isValidThread [message #50702] Thu, 04 October 2007 03:16 Go to next message
Eclipse UserFriend
Hi,
since RC1 we have some strange NullPointerExceptions each time we're
trying to call a method from super, where the method checkWidget is called.
Does anyone knows about this issue with the change to RC1?
I'll try to gather more information about it.
Thanks

Oliver
Re: NullPointerException in isValidThread [message #51153 is a reply to message #50702] Thu, 11 October 2007 05:48 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

sorry for the delay we all had many things to do before the 1.0 release.
It would be great if you can provide a stacktrace and maybe a snippet to
reproduce the problem. It's hard for us to reproduce such things without
further informations.

Greets
Benny

Poncho wrote:
> Hi,
> since RC1 we have some strange NullPointerExceptions each time we're
> trying to call a method from super, where the method checkWidget is called.
> Does anyone knows about this issue with the change to RC1?
> I'll try to gather more information about it.
> Thanks
>
> Oliver
Re: NullPointerException in isValidThread [message #51209 is a reply to message #51153] Thu, 11 October 2007 10:38 Go to previous message
Eclipse UserFriend
Benjamin Muskalla schrieb:
> Hi,
>
> sorry for the delay we all had many things to do before the 1.0 release.
> It would be great if you can provide a stacktrace and maybe a snippet to
> reproduce the problem. It's hard for us to reproduce such things without
> further informations.
>
> Greets
> Benny
>
> Poncho wrote:
>> Hi,
>> since RC1 we have some strange NullPointerExceptions each time we're
>> trying to call a method from super, where the method checkWidget is
>> called.
>> Does anyone knows about this issue with the change to RC1?
>> I'll try to gather more information about it.
>> Thanks
>>
>> Oliver

Hi Benny,
I've already found the solution to the problem.
I've realized that I have overridden the getDisplay method which
returned null in my Custom widget. In earlier version of RAP that was
never a problem as this function was never called from isValidThread or
checkWidget. But now it was. So I removed the method getDisplay from my
custom widget so that Widget.getDisplay() will be called.
In the end it was my own stupidity not take care of that ;-)
Anyway thanks for the answer.
Regards

Oliver
Previous Topic:Outlookbar
Next Topic:Communication between RAP and content of BrowserWidget
Goto Forum:
  


Current Time: Sun May 11 08:56:43 EDT 2025

Powered by FUDForum. Page generated in 0.03307 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top