Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-dev] NullPointer Exception thrown on creating a project

Hi,
 
We have written a plug-in component and we have our customized the project creation, file creation.
We have written our plug-in using Eclipse 3.0.1 and now when I tried migrating the component to Eclipse 3.1M6, following is happening:
 
1) The moment, I am clicking on Create project icon from Eclipse action bar, I am getting the following stack trace and project creation wizard doesn't come up. I tried debugging it but it is coming out from WizardDialog.class.
Suprisingly, if I am doing File->New->Create my project, then I am able to see the wizard and I can create the project.
 
2) For file creation, I am able to bring up the dialog using both action and File->new->MyFile.
 
Can you please help? I am clueless, why I am getting such error.
 
 
 
The stack trace is as follows:
-------------------------------------------------------------------------------------------------------------------------------------------------

at org.eclipse.jface.resource.DeviceResourceManager.allocate(DeviceResourceManager.java:56)

at org.eclipse.jface.resource.AbstractResourceManager.create(AbstractResourceManager.java:87)

at org.eclipse.jface.resource.ResourceManager.createImageWithDefault(ResourceManager.java:103)

at org.eclipse.jface.wizard.Wizard.getDefaultPageImage(Wizard.java:218)

at org.eclipse.jface.wizard.WizardPage.getImage(WizardPage.java:149)

at org.eclipse.jface.wizard.WizardDialog.updateTitleBar(WizardDialog.java:1245)

at org.eclipse.jface.wizard.WizardDialog.update(WizardDialog.java:1098)

at org.eclipse.jface.wizard.WizardDialog.showStartingPage(WizardDialog.java:1058)

at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:504)

at org.eclipse.jface.window.Window.create(Window.java:418)

at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)

at com.hp.ocmp.vxml.cde.ui.creation.actions.OpenCreationWizard.run(OpenCreationWizard.java:55)

at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)

at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:220)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)

at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)

at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2894)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2527)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1570)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:306)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)

at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)

at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)

at org.eclipse.core.launcher.Main.basicRun(Main.java:268)

at org.eclipse.core.launcher.Main.run(Main.java:942)

at org.eclipse.core.launcher.Main.main(Main.java:926)

-------------------------------------------------------------------------------------------------------------------------------------------------
 
 

Thanks in advance

-Ashish

 

 

 
 

 

 

Back to the top