Project: appceleratorstudio
Issue TISTUD-3729: Denso: New Titanium Module fails and generates npe in log: ImageDecoratorUtil
New > Titanium Module Project has no UI result. Error in log. Does not occur in regular Titanium Studio nightly. {code} !ENTRY org.eclipse.ui 4 0 2013-03-10 15:06:28.536 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException com.aptana.ui.util.ImageDecoratorUtil$CenteredCompositeImageDescriptor.(ImageDecoratorUtil.java:71) com.aptana.ui.util.ImageDecoratorUtil.getCompositeDescriptor(ImageDecoratorUtil.java:37) com.aptana.ui.util.ImageDecoratorUtil.getCompositeWizbanDescriptor(ImageDecoratorUtil.java:48) com.appcelerator.titanium.mobile.ui.module.wizard.NewMobileModuleProjectWizard.initializeDefaultPageImageDescriptor(NewMobileModuleProjectWizard.java:126) org.eclipse.ui.wizards.newresource.BasicNewResourceWizard.init(BasicNewResourceWizard.java:89) com.aptana.projects.wizards.AbstractNewProjectWizard.init(AbstractNewProjectWizard.java:495) com.appcelerator.titanium.mobile.ui.module.wizard.NewMobileModuleProjectWizard.init(NewMobileModuleProjectWizard.java:114) org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:84) org.eclipse.jface.action.Action.runWithEvent(Action.java:498) org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) org.eclipse.equinox.launcher.Main.run(Main.java:1410) {code}
Story points: 2