Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » AssertionFailedException when pressing refresh in browser
AssertionFailedException when pressing refresh in browser [message #109958] Tue, 21 October 2008 08:27 Go to next message
Eclipse UserFriend
Originally posted by: erdal.karaca.airbus.com

I have a simple rap app with a custom perspective and the rap.ui.workbench
enabled.
When pressing 'Refresh' the following error occurs:

org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:86)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:74)
at
org.eclipse.jface.resource.StringConverter.asString(StringCo nverter.java:798)
at
org.eclipse.jface.preference.PreferenceConverter.setDefault( PreferenceConverter.java:418)
at
org.eclipse.ui.internal.themes.ThemeElementHelper.installCol or(ThemeElementHelper.java:288)
at
org.eclipse.ui.internal.themes.ThemeElementHelper.populateRe gistry(ThemeElementHelper.java:163)
at org.eclipse.ui.internal.themes.Theme.<init>(Theme.java:76)
at
org.eclipse.ui.internal.themes.WorkbenchThemeManager.getThem e(WorkbenchThemeManager.java:294)
at
org.eclipse.ui.internal.themes.WorkbenchThemeManager.getThem e(WorkbenchThemeManager.java:314)
at
org.eclipse.ui.internal.themes.WorkbenchThemeManager.doSetCu rrentTheme(WorkbenchThemeManager.java:218)
at
org.eclipse.ui.internal.themes.WorkbenchThemeManager.setCurr entTheme(WorkbenchThemeManager.java:343)
at
org.eclipse.ui.internal.themes.WorkbenchThemeManager.getCurr entTheme(WorkbenchThemeManager.java:256)
at
org.eclipse.ui.internal.themes.WorkbenchThemeManager.getInst ance(WorkbenchThemeManager.java:67)
at org.eclipse.ui.internal.Workbench.getThemeManager(Workbench. java:3135)
at
org.eclipse.ui.internal.Workbench$29.runWithException(Workbe nch.java:1421)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:32)
at
org.eclipse.rwt.internal.lifecycle.UICallBackManager.addSync (UICallBackManager.java:135)
at org.eclipse.swt.widgets.Display$2.run(Display.java:649)
at
org.eclipse.rwt.internal.lifecycle.UICallBackServiceHandler. runNonUIThreadWithFakeContext(UICallBackServiceHandler.java: 423)
at
org.eclipse.rwt.lifecycle.UICallBack.runNonUIThreadWithFakeC ontext(UICallBack.java:44)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:647)
at
org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:110)
at org.eclipse.ui.internal.Workbench.initializeFonts(Workbench. java:1415)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1295)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 00)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:425)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:408)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
Re: AssertionFailedException when pressing refresh in browser [message #110075 is a reply to message #109958] Tue, 21 October 2008 16:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

didn't see this before. But somehow I can imagine that deleting the
runtime workspace could help. The runtime workspace of each RAP app
started by the launcher is located e.g. in MS Windows under your eclipse
installation directory. This is still somewhat of a weekness of the
laucher, since workspaces are shared across launch configurations. And
this leads sometimes to strange behavior in particular if saveAndRestore
is activated.

Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Erdal Karaca [mailto:erdal.karaca@airbus.com]
Bereitgestellt: Dienstag, 21. Oktober 2008 10:27
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: AssertionFailedException when pressing refresh in browser
Betreff: AssertionFailedException when pressing refresh in browser

I have a simple rap app with a custom perspective and the
rap.ui.workbench
enabled.
When pressing 'Refresh' the following error occurs:

org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:86)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:74)
at
org.eclipse.jface.resource.StringConverter.asString(StringCo nverter.java
:798)
at
org.eclipse.jface.preference.PreferenceConverter.setDefault( PreferenceCo
nverter.java:418)
at
org.eclipse.ui.internal.themes.ThemeElementHelper.installCol or(ThemeElem
entHelper.java:288)
at
org.eclipse.ui.internal.themes.ThemeElementHelper.populateRe gistry(Theme
ElementHelper.java:163)
at org.eclipse.ui.internal.themes.Theme.<init>(Theme.java:76)
at
org.eclipse.ui.internal.themes.WorkbenchThemeManager.getThem e(WorkbenchT
hemeManager.java:294)
at
org.eclipse.ui.internal.themes.WorkbenchThemeManager.getThem e(WorkbenchT
hemeManager.java:314)
at
org.eclipse.ui.internal.themes.WorkbenchThemeManager.doSetCu rrentTheme(W
orkbenchThemeManager.java:218)
at
org.eclipse.ui.internal.themes.WorkbenchThemeManager.setCurr entTheme(Wor
kbenchThemeManager.java:343)
at
org.eclipse.ui.internal.themes.WorkbenchThemeManager.getCurr entTheme(Wor
kbenchThemeManager.java:256)
at
org.eclipse.ui.internal.themes.WorkbenchThemeManager.getInst ance(Workben
chThemeManager.java:67)
at
org.eclipse.ui.internal.Workbench.getThemeManager(Workbench. java:3135)
at
org.eclipse.ui.internal.Workbench$29.runWithException(Workbe nch.java:142
1)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThre
ading.java:32)
at
org.eclipse.rwt.internal.lifecycle.UICallBackManager.addSync (UICallBackM
anager.java:135)
at org.eclipse.swt.widgets.Display$2.run(Display.java:649)
at
org.eclipse.rwt.internal.lifecycle.UICallBackServiceHandler. runNonUIThre
adWithFakeContext(UICallBackServiceHandler.java:423)
at
org.eclipse.rwt.lifecycle.UICallBack.runNonUIThreadWithFakeC ontext(UICal
lBack.java:44)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:647)
at
org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThr
eading.java:110)
at
org.eclipse.ui.internal.Workbench.initializeFonts(Workbench. java:1415)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1295)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
at
org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 00)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:425)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:
288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:4
08)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
Re: AssertionFailedException when pressing refresh in browser [message #110188 is a reply to message #110075] Wed, 22 October 2008 09:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: erdal.karaca.airbus.com

The first time the application is started it works.

If I rerun (press Refresh in browser) or start a new session (load app by
another browser instance) the app fails.
Wokrbench advisor is not set to save and restore settings.
In the launcher config I have set to clear config area before launching...

I will try to provide more specific details once available...

Frank Appel wrote:

> Hi,

> didn't see this before. But somehow I can imagine that deleting the
> runtime workspace could help. The runtime workspace of each RAP app
> started by the launcher is located e.g. in MS Windows under your eclipse
> installation directory. This is still somewhat of a weekness of the
> laucher, since workspaces are shared across launch configurations. And
> this leads sometimes to strange behavior in particular if saveAndRestore
> is activated.

> Ciao
> Frank
Re: AssertionFailedException when pressing refresh in browser [message #110382 is a reply to message #110188] Thu, 23 October 2008 13:41 Go to previous message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

just to clarify: the workspace is not cleared if you set the 'clear
config area before launching' flag. Unfortunately there's no automatic
workspace clear option for the RAP launcher yet.

Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Erdal Karaca [mailto:erdal.karaca@airbus.com]
Bereitgestellt: Mittwoch, 22. Oktober 2008 11:03
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: AssertionFailedException when pressing refresh in browser
Betreff: Re: AssertionFailedException when pressing refresh in browser

The first time the application is started it works.

If I rerun (press Refresh in browser) or start a new session (load app
by
another browser instance) the app fails.
Wokrbench advisor is not set to save and restore settings.
In the launcher config I have set to clear config area before
launching...

I will try to provide more specific details once available...

Frank Appel wrote:

> Hi,

> didn't see this before. But somehow I can imagine that deleting the
> runtime workspace could help. The runtime workspace of each RAP app
> started by the launcher is located e.g. in MS Windows under your
eclipse
> installation directory. This is still somewhat of a weekness of the
> laucher, since workspaces are shared across launch configurations. And
> this leads sometimes to strange behavior in particular if
saveAndRestore
> is activated.

> Ciao
> Frank
Previous Topic:unresolved contraints in tomcat deployment
Next Topic:Exception and Error handling
Goto Forum:
  


Current Time: Thu Apr 25 15:06:47 GMT 2024

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

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

Back to the top