Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » NullPointerException in isValidThread
NullPointerException in isValidThread [message #50702] Thu, 04 October 2007 07:16 Go to next message
Oliver Köhler is currently offline Oliver KöhlerFriend
Messages: 32
Registered: July 2009
Member
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 09:48 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
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 14:38 Go to previous message
Oliver Köhler is currently offline Oliver KöhlerFriend
Messages: 32
Registered: July 2009
Member
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: Thu Mar 28 12:54:32 GMT 2024

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

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

Back to the top