Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » NullPointerException from DecorationScheduler
NullPointerException from DecorationScheduler [message #1161069] Tue, 29 October 2013 11:01 Go to next message
Eclipse User
Hi,
we use RAP 2.1.1 and are getting the following error pretty often:

org.eclipse.rap.ui.workbench - An internal error occurred during:
"Dekoration berechnen".
java.lang.NullPointerException
at org.eclipse.rap.rwt.RWT.getLocale(RWT.java:594)
at org.eclipse.rap.rwt.RWT$NLS.getISO8859_1Encoded(RWT.java:120)
at
org.eclipse.ui.internal.WorkbenchMessages.get(WorkbenchMessages.java:1143)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$4.doRun(DecorationScheduler.java:352)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$4$1.run(DecorationScheduler.java:321)
at
org.eclipse.rap.rwt.internal.lifecycle.ContextUtil.runNonUIThreadWithFakeContext(ContextUtil.java:67)
at
org.eclipse.rap.rwt.internal.service.UISessionImpl.exec(UISessionImpl.java:221)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$4.run(DecorationScheduler.java:319)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Any ideas, or is this a bug?
Re: NullPointerException from DecorationScheduler [message #1161089 is a reply to message #1161069] Tue, 29 October 2013 11:20 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1794
Registered: July 2009
Senior Member
Hi Markus,
it's probably a bug. Could you try to change DecorationScheduler line
352 from:
---
WorkbenchMessages.get().DecorationScheduler_CalculatingTask,
---
to:
---
WorkbenchMessages.get( display ).DecorationScheduler_CalculatingTask,
---
Please open a bugzilla with simple snippet to reproduce the issue.
Thanks,
Ivan


On 10/29/2013 5:01 PM, Markus Krüger wrote:
> Hi,
> we use RAP 2.1.1 and are getting the following error pretty often:
>
> org.eclipse.rap.ui.workbench - An internal error occurred during:
> "Dekoration berechnen".
> java.lang.NullPointerException
> at org.eclipse.rap.rwt.RWT.getLocale(RWT.java:594)
> at org.eclipse.rap.rwt.RWT$NLS.getISO8859_1Encoded(RWT.java:120)
> at
> org.eclipse.ui.internal.WorkbenchMessages.get(WorkbenchMessages.java:1143)
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$4.doRun(DecorationScheduler.java:352)
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$4$1.run(DecorationScheduler.java:321)
> at
> org.eclipse.rap.rwt.internal.lifecycle.ContextUtil.runNonUIThreadWithFakeContext(ContextUtil.java:67)
> at
> org.eclipse.rap.rwt.internal.service.UISessionImpl.exec(UISessionImpl.java:221)
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$4.run(DecorationScheduler.java:319)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
>
> Any ideas, or is this a bug?

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: NullPointerException from DecorationScheduler [message #1161318 is a reply to message #1161089] Tue, 29 October 2013 14:32 Go to previous message
Eclipse User
Hi Ivan,

this did not help. I created a bug with an application to reproduce the
exception quite often.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=420657

Regards,
Markus

Am 29.10.2013 16:20, schrieb Ivan Furnadjiev:
> Hi Markus,
> it's probably a bug. Could you try to change DecorationScheduler line
> 352 from:
> ---
> WorkbenchMessages.get().DecorationScheduler_CalculatingTask,
> ---
> to:
> ---
> WorkbenchMessages.get( display ).DecorationScheduler_CalculatingTask,
> ---
> Please open a bugzilla with simple snippet to reproduce the issue.
> Thanks,
> Ivan
>
>
> On 10/29/2013 5:01 PM, Markus Krüger wrote:
>> Hi,
>> we use RAP 2.1.1 and are getting the following error pretty often:
>>
>> org.eclipse.rap.ui.workbench - An internal error occurred during:
>> "Dekoration berechnen".
>> java.lang.NullPointerException
>> at org.eclipse.rap.rwt.RWT.getLocale(RWT.java:594)
>> at org.eclipse.rap.rwt.RWT$NLS.getISO8859_1Encoded(RWT.java:120)
>> at
>> org.eclipse.ui.internal.WorkbenchMessages.get(WorkbenchMessages.java:1143)
>>
>> at
>> org.eclipse.ui.internal.decorators.DecorationScheduler$4.doRun(DecorationScheduler.java:352)
>>
>> at
>> org.eclipse.ui.internal.decorators.DecorationScheduler$4$1.run(DecorationScheduler.java:321)
>>
>> at
>> org.eclipse.rap.rwt.internal.lifecycle.ContextUtil.runNonUIThreadWithFakeContext(ContextUtil.java:67)
>>
>> at
>> org.eclipse.rap.rwt.internal.service.UISessionImpl.exec(UISessionImpl.java:221)
>>
>> at
>> org.eclipse.ui.internal.decorators.DecorationScheduler$4.run(DecorationScheduler.java:319)
>>
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
>>
>> Any ideas, or is this a bug?
>
Previous Topic:Client push
Next Topic:Ping client
Goto Forum:
  


Current Time: Fri Aug 22 06:06:54 EDT 2014

Powered by FUDForum. Page generated in 0.01677 seconds