Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Failed startup due to missing Intro Page resources in RCP M9
Failed startup due to missing Intro Page resources in RCP M9 [message #251437] Thu, 10 June 2004 09:50 Go to next message
Eclipse UserFriend
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 #251442 is a reply to message #251437] Thu, 10 June 2004 10:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: manahan.NOSPAM.ca.ibm.com

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
Re: Failed startup due to missing Intro Page resources in RCP M9 [message #251446 is a reply to message #251442] Thu, 10 June 2004 10:15 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Failed startup due to missing Intro Page resources in RCP M9 [message #251473 is a reply to message #251446] Thu, 10 June 2004 10:40 Go to previous messageGo to next message
Eclipse UserFriend
Ahh... This was my fault. I was adding the ActionFactory.INTRO action to
the Help menu but wasn't specifying any intro in my application.
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 Go to previous message
Eclipse UserFriend
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
>
>
>
Previous Topic:Open Workspace problem in 3.0M9
Next Topic:Set selection programmatically
Goto Forum:
  


Current Time: Tue Jul 22 16:26:04 EDT 2025

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

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

Back to the top