Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355712

Summary: Deploying generator triggers error
Product: [Technology] Tigerstripe Reporter: Steve Jerman <sjerman>
Component: CoreAssignee: Project Inbox <tigerstripe.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nmehrega
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Steve Jerman CLA 2011-08-24 10:44:32 EDT
Tried to deploy a generator with just a runnable rule .. got an exception:

java.lang.NullPointerException
	at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
	at java.util.Arrays.asList(Arrays.java:3343)
	at org.eclipse.tigerstripe.workbench.internal.core.project.pluggable.PluggablePluginProjectPackager.packageUpProject(PluggablePluginProjectPackager.java:119)
	at org.eclipse.tigerstripe.workbench.project.GeneratorDeploymentHelper.deploy(GeneratorDeploymentHelper.java:65)
	at org.eclipse.tigerstripe.workbench.ui.internal.utils.GeneratorDeploymentUIHelper.deploy(GeneratorDeploymentUIHelper.java:44)
	at org.eclipse.tigerstripe.workbench.ui.internal.editors.pluginDescriptor.header.PluginDebugSection$1$1.run(PluginDebugSection.java:125)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)


Code looked like it was assuming the presence of a template directory/files...

Added it and the problem dissappeared.
Comment 1 Navid Mehregani CLA 2011-12-13 10:57:18 EST
I'm unable to reproduce this issue with latest version of Tigerstripe.  I tried with all three rule types.  If you're still having issues, please attach your generator project.