Skip to main content


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 15:01 Go to next message
Eclipse UserFriend
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 15:20 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
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 18:32 Go to previous message
Eclipse UserFriend
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:ClientScripting restricted DOM navigation
Next Topic:Detect network connection failure
Goto Forum:
  


Current Time: Fri Apr 26 15:49:02 GMT 2024

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

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

Back to the top