Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355712 - Deploying generator triggers error
Summary: Deploying generator triggers error
Status: CLOSED FIXED
Alias: None
Product: Tigerstripe
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 10:44 EDT by Steve Jerman CLA
Modified: 2011-12-13 10:57 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.