1
Vote

ActionExecutionException:

description

I was creating a new project using the Sculpture Starter Kit Solution, exactly like that in the video except I chose CSLA instead of NHibernate. Before the dialog for selecting the database reference appears, an exception is thrown. The attached file shows the error dialog. Below is the stack trace:
 
Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe StarterKitSolution. Error was: Action AddUIProject failed to execute:
Object reference not set to an instance of an object..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Dawliasoft.Sculpture.MoldGuidance.Actions.AddUIProject.Execute()
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName, Dictionary2 inputValues)
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName)
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.Run(Dictionary
2 declaredActions, XmlElement coordinationData)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
--- End of inner exception stack trace ---
at Microsoft.Practices.RecipeFramework.Recipe.UndoExecutedActionsAndRethrow(Exception ex)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.GuidancePackage.ExecuteFromTemplate(String recipe, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.ExecuteRecipe(Boolean executeActions)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.RunFinished()
---> Microsoft.Practices.RecipeFramework.UndoActionException: Action CreateSolutionDirectory failed to perform undo operation:
The method or operation is not implemented. ---> System.Exception: The method or operation is not implemented.
at Microsoft.Practices.RecipeFramework.Extensions.Actions.OS.CreateDirectoryAction.Undo()
at Microsoft.Practices.RecipeFramework.Recipe.UndoExecutedActionsAndRethrow(Exception ex)
--- End of inner exception stack trace ---
 
 
My system is the following:
 
MacBook Pro
VMWare Fusion
Windows XP Pro SP3
Visual Studio 2008 SP1
Guidance Automation Extensions (February 2008) Release for Visual Studio 2005 and Visual Studio
Guidance Automation Extensions (February 2008) Release for Visual Studio 2008 and Visual Studio 2008 Service Pack 1 Update
Guidance Automation Toolkit (February 2008) Release for Visual Studio 2008
Sculpture1.0Beta2

file attachments

comments

ANegm wrote Feb 13, 2009 at 10:00 PM

The Error in the "Add UI Project" Recipe, you might choose UI Project that does not supported in your environment (Example : Choose ASP.NET MVC and you did not install its beta or RC release).

cherryscone wrote Feb 14, 2009 at 3:24 AM

I added WPF, just like in the video. I get the same error if I choose Windows Forms for the User Interface Layer,

marceldupr wrote May 29, 2009 at 2:15 PM

This happens to me in any project type. I have Asp.net MVC, Silverlight etc installed in VS 2008 with .Net 3.5, always null ref exception in "Add UI Project" Action

BrianOConnell wrote Jun 21, 2009 at 4:33 PM

I have tried many different combinations and all have failed with this Add UI Project failure. I have VS2008 SP1 standard installed, Asp.net MVC 1.0, Guidance Extensions Feb 2008 release and Sculpture 1.0 final and it fails on windows forms, asp.net, asp.net mvc. The failure must be related to something other than the ui part imo possibly the service class library.

wrote Feb 14, 2013 at 2:46 AM