Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » NullPointerException when creating a PDE or RCP project
NullPointerException when creating a PDE or RCP project [message #436474] Fri, 09 September 2005 05:45 Go to next message
Eclipse UserFriend
Originally posted by: marius.venter.gmail.com

Hi

Whenever I try to create a PDE or RCP project I get the following
exception while the project is being generated:

java.lang.NullPointerException
at
org.eclipse.pde.ui.templates.AbstractTemplateSection.generat eFiles(AbstractTemplateSection.java(Compiled
Code))
at
org.eclipse.pde.ui.templates.AbstractTemplateSection.generat eFiles(AbstractTemplateSection.java(Compiled
Code))
at
org.eclipse.pde.ui.templates.AbstractTemplateSection.generat eFiles(AbstractTemplateSection.java(Compiled
Code))
at
org.eclipse.pde.ui.templates.AbstractTemplateSection.generat eFiles(AbstractTemplateSection.java:278)
at
org.eclipse.pde.ui.templates.AbstractTemplateSection.execute (AbstractTemplateSection.java:348)
at
org.eclipse.pde.ui.templates.BaseOptionTemplateSection.execu te(BaseOptionTemplateSection.java:269)
at
org.eclipse.pde.ui.templates.AbstractNewPluginTemplateWizard .performFinish(AbstractNewPluginTemplateWizard.java:94)
at
org.eclipse.pde.internal.ui.wizards.plugin.NewProjectCreatio nOperation.execute(NewProjectCreationOperation.java:261)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:98)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1719)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:110)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:346)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:291)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 830)
at
org.eclipse.pde.internal.ui.wizards.plugin.NewPluginProjectW izard.performFinish(NewPluginProjectWizard.java:102)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:349)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled
Code))
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled
Code))
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled
Code))
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled
Code))
at org.eclipse.jface.window.Window.runEventLoop(Window.java(Com piled
Code))
at org.eclipse.jface.window.Window.open(Window.java:787)
at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled
Code))
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled
Code))
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled
Code))
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled
Code))
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a(Compiled
Code))
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)


My build is: eclipse.buildId=I20050627-1435

Does anybody know how to get around this?

Thanks
Mav
Re: NullPointerException when creating a PDE or RCP project [message #436477 is a reply to message #436474] Fri, 09 September 2005 08:24 Go to previous messageGo to next message
Wassim Melhem is currently offline Wassim MelhemFriend
Messages: 28
Registered: July 2009
Junior Member
what JRE are you using? an IBM JRE? Make sure you run with JIT disabled.

Wassim.
Re: NullPointerException when creating a PDE or RCP project [message #436486 is a reply to message #436477] Fri, 09 September 2005 12:28 Go to previous message
Eclipse UserFriend
Originally posted by: marius.venter.gmail.com

I am using sun's 1.4.2 05 sdk if that helps.
Previous Topic:IMenuManager
Next Topic:Workbench part's default context menu customization
Goto Forum:
  


Current Time: Thu Dec 05 16:01:06 GMT 2024

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

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

Back to the top