Failed startup due to missing Intro Page resources in RCP M9 [message #251437] |
Thu, 10 June 2004 09:50  |
Eclipse User |
|
|
|
I'm running a RCP app with the following plugins:
org.eclipse.core.expressions
org.eclipse.core.resources
org.eclipse.core.runtime
org.eclipse.core.runtime.compatibility
org.eclipse.help
org.eclipse.jface
org.eclipse.osgi
org.eclipse.osgi.services
org.eclipse.platform
org.eclipse.swt
org.eclipse.swt.win32
org.eclipse.ui
org.eclipse.ui.cheatsheets
org.eclipse.ui.forms
org.eclipse.ui.intro
org.eclipse.ui.workbench
org.eclipse.update.configurator
(org.eclipse.ui.cheatsheets, org.eclipse.ui.forms, org.eclipse.ui.intro
were added by Eclipse from the "Add Required Plug-ins" button)
This works fine when I launch from Eclipse debug. However, when I package
and launch as a standalone RCP, I get the exception below. Apparently,
it's not finding an image for the intro page (which I could do without).
What am I missing or how do I turn off the intro page?
Thanks,
Stephen
---------
java.lang.NullPointerException
at
org.eclipse.ui.internal.IntroAction.getImageDescriptor(Intro Action.java:77)
at
org.eclipse.jface.action.ActionContributionItem.updateImages (ActionContributionItem.java:1278)
at
org.eclipse.jface.action.ActionContributionItem.update(Actio nContributionItem.java:1152)
at
org.eclipse.jface.action.ActionContributionItem.fill(ActionC ontributionItem.java:633)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :603)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :525)
at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:2 33)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :603)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :525)
at
org.eclipse.jface.action.MenuManager.createMenuBar(MenuManag er.java:159)
at
org.eclipse.jface.action.MenuManager.createMenuBar(MenuManag er.java:175)
at
org.eclipse.ui.internal.WorkbenchWindow.createDefaultContent s(WorkbenchWindow.java:690)
at
org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefa ultContents(WorkbenchWindowConfigurer.java:535)
at
org.eclipse.ui.application.WorkbenchAdvisor.createWindowCont ents(WorkbenchAdvisor.java:637)
at
org.eclipse.ui.internal.WorkbenchWindow.createContents(Workb enchWindow.java:674)
at org.eclipse.jface.window.Window.create(Window.java:348)
at
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:985)
at
org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWin dow(WorkbenchConfigurer.java:174)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:658)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:817)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1311)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:253)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at
com.lehman.emx.project.fxstack.application.Application.run(A pplication.java:14)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:307)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:256)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:638)
at org.eclipse.core.launcher.Main.main(Main.java:622)
|
|
|
|
|
|
Re: Failed startup due to missing Intro Page resources in RCP M9 [message #251477 is a reply to message #251446] |
Thu, 10 June 2004 10:57  |
Eclipse User |
|
|
|
Originally posted by: manahan.NOSPAM.ca.ibm.com
Did you clear your configuration and run against a new workspace if you
have one. Assuming of course that is where the information it is looking
for is.
I have an RCP application and there is no intro page at all and I don't
reference it. My plugin list is similar to yours except I have the
update.core plugins and the workbench.compatibility plugins. But not
core.expressions and core.resources.
Peter
Stephen Goldbaum wrote:
> I've tried removing the following plugins:
>
> org.eclipse.platform
> org.eclipse.ui.cheatsheets
> org.eclipse.ui.forms
> org.eclipse.ui.intro
>
> I get the same exception. Judging by the exception, it seems to be
> hardcoded that it tries to load a default intro page on first time
> startup. While it would be best to be able to bypass the intro page, I
> could live with it for now if I knew where the resource for the
> IntroAction lived.
>
> -Stephen
>
>
> Peter Manahan wrote:
>
>
>>Stephen Goldbaum wrote:
>
>
>>>I'm running a RCP app with the following plugins:
>
>
>>>org.eclipse.platform
>
>
>>You probably don't need this plugin and this is where the intro is
>>specified. Just remove it.
>
>
>
>
>>Peter
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03876 seconds