| Summary: | Error when artifact types are disabled | ||
|---|---|---|---|
| Product: | [Technology] Tigerstripe | Reporter: | Richard Craddock <rcraddoc> |
| Component: | Core | Assignee: | Project Inbox <tigerstripe.core-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 0.5M0 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
I made the collections be added to the context if their associated artifact types were enabled. Not sure why this did not show up before? |
We tried to update our tigerstripe profile to remove artifacts that we make no use of, (Query, Event, Update Procedure, Dependency) . When we do that, the artifact generation for all generators fail with the following. Error: Unexpected error while merging 'templates/rulesXML.vm' template: null. Generation may be incomplete. java.lang.NullPointerException at org.eclipse.tigerstripe.workbench.internal.core.model.ArtifactFilter.filter(ArtifactFilter.java:49) at org.eclipse.tigerstripe.workbench.internal.core.model.DependenciesContentCache.getArtifactsByModelInChained(DependenciesContentCache.java:167) at org.eclipse.tigerstripe.workbench.internal.core.model.ArtifactManager.getArtifactsByModelInChained(ArtifactManager.java:1747) at org.eclipse.tigerstripe.workbench.internal.core.model.ArtifactManager.getArtifactsByModel(ArtifactManager.java:516) at org.eclipse.tigerstripe.workbench.internal.core.project.pluggable.rules.TemplateBasedRule.getDefaultContext(TemplateBasedRule.java:200) at org.eclipse.tigerstripe.workbench.internal.core.project.pluggable.rules.GlobalTemplateRule.trigger(GlobalTemplateRule.java:124) at org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.PluginRuleExecutor.trigger(PluginRuleExecutor.java:79) at org.eclipse.tigerstripe.workbench.internal.core.plugin.pluggable.PluggablePlugin.trigger(PluggablePlugin.java:151) at org.eclipse.tigerstripe.workbench.internal.core.plugin.PluginHousing.trigger(PluginHousing.java:35) at org.eclipse.tigerstripe.workbench.internal.core.plugin.PluginConfig.trigger(PluginConfig.java:256) at org.eclipse.tigerstripe.workbench.internal.core.generation.M1Generator.internalPluginLoop(M1Generator.java:664) at org.eclipse.tigerstripe.workbench.internal.core.generation.M1Generator.internalRun(M1Generator.java:522) at org.eclipse.tigerstripe.workbench.internal.core.generation.M1Generator.run(M1Generator.java:378) at org.eclipse.tigerstripe.workbench.internal.core.generation.M1Generator.run(M1Generator.java:84) at org.eclipse.tigerstripe.workbench.internal.api.impl.TigerstripeProjectHandle.generate(TigerstripeProjectHandle.java:489) at org.eclipse.tigerstripe.workbench.headless.Tigerstripe.generateTigerstripeOutput(Tigerstripe.java:158) at org.eclipse.tigerstripe.workbench.headless.Tigerstripe.start(Tigerstripe.java:56) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311) at org.eclipse.equinox.launcher.Main.main(Main.java:1287)