Stonegaard Posted January 4, 2016 Report Share Posted January 4, 2016 I tried converting another project, and I do not understand what I should do with the error I received.I get the following error, could you please guide me, what this mean:The "CallGraphGenerationTask" task failed unexpectedly.System.ArgumentNullException: Value cannot be null.Parameter name: key at System.Collections.Generic.Dictionary`2.FindEntry(TKey key) at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value) at Artinsoft.Winforms2Silverlight.ControlFlowCutProcessing.MemberNodes.GetMethod(String fullName) at Artinsoft.Winforms2Silverlight.ControlFlowCutProcessing.CallInformationCollector.ProcessMethodDeclaration(CSMethod methodDecl, FlowCutCollectionState state) at Artinsoft.Winforms2Silverlight.ControlFlowCutProcessing.CallInformationCollector.<CreateSearcher>b__3(CSMethod methodDecl, FlowCutCollectionState state) at Artinsoft.Common.Tools.Search.ActionSearchDelegate`2.Visit(T node, TContext ctx) at Artinsoft.Common.Visitor.VisitorDelegate`2.Action(Object node, TContext ctx) at Artinsoft.Common.Visitor.DelegatorVisitor`3.VisitDelegation(TVisitable node, TDelegate nodeDelegate) at Artinsoft.Common.Tools.ReplacerVisitor`1.VisitDelegation(IAst node, IAstDelegate`1 nodeDelegate) at Artinsoft.Common.Visitor.DelegatorVisitor`3.Visit(TVisitable node) at Artinsoft.Common.AST.Compound`2.Accept(IVisitor`1 visitor) at Artinsoft.Common.Tools.ReplacerVisitor`1.LoopLeftToRight(ISlotContainer container, Int32 slothCount) at Artinsoft.Common.Tools.ReplacerVisitor`1.ChildrenLoop(IAst node) at Artinsoft.Common.Visitor.DelegatorVisitor`3.VisitChildren(IVisitorDelegate`1 nodeDelegate, TVisitable node) at Artinsoft.Common.Visitor.DelegatorVisitor`3.Visit(TVisitable node) at Artinsoft.Common.AST.Compound`2.Accept(IVisitor`1 visitor) at Artinsoft.Common.Tools.ReplacerVisitor`1.LoopLeftToRight(ISlotContainer container, Int32 slothCount) at Artinsoft.Common.Tools.ReplacerVisitor`1.ChildrenLoop(IAst node) at Artinsoft.Common.Visitor.DelegatorVisitor`3.VisitChildren(IVisitorDelegate`1 nodeDelegate, TVisitable node) at Artinsoft.Common.Visitor.DelegatorVisitor`3.Visit(TVisitable node) at Artinsoft.Common.AST.Compound`2.Accept(IVisitor`1 visitor) at Artinsoft.Common.Tools.ReplacerVisitor`1.LoopLeftToRight(ISlotContainer container, Int32 slothCount) at Artinsoft.Common.Tools.ReplacerVisitor`1.ChildrenLoop(IAst node) at Artinsoft.Common.Visitor.DelegatorVisitor`3.VisitChildren(IVisitorDelegate`1 nodeDelegate, TVisitable node) at Artinsoft.Common.Visitor.DelegatorVisitor`3.Visit(TVisitable node) at Artinsoft.Common.AST.Compound`2.Accept(IVisitor`1 visitor) at Artinsoft.Common.Tools.ReplaceSearcher`2.Execute[T](T& ast, TVisitor visitor) at Artinsoft.Common.Tools.ReplaceSearcher`2.Execute[T](T& ast, Traversal traversal, TState state) at Artinsoft.Winforms2Silverlight.ControlFlowCutProcessing.CallInformationCollector.CollectCallInformationFromFiles(Project project, FlowCutCollectionState collectionState, Action`1 startWithElementCallback, Action`1 doneWithElementCallback) at ControlFlowCutProcessing.CallGraphGenerationTask.ExecuteImpl() at Artinsoft.CSharp.Tasks.AbstractTask.BeforeExecuteImpl() at Artinsoft.Common.MSBuild.BaseCancellableTask.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() Link to comment Share on other sites More sharing options...
Stonegaard Posted January 11, 2016 Author Report Share Posted January 11, 2016 Any chance of a comment ?? Link to comment Share on other sites More sharing options...
Mobilize.Net Staff luis Posted January 12, 2016 Mobilize.Net Staff Report Share Posted January 12, 2016 Hi,First of all make sure, that the project compiles without errors and retry the conversion.If the error still occurs, then please let us now if you have the following scenario:A method definition that is marked as "async" , has "void" as its return type and is an explicit implementation of a interface method.For example:public interface MyInterface{ void MyMethod();}public class MyClass : MyInterface{ async void MyInterface.MyMethod() { }}Is there a something similar to this scenario in your project?Thanks Link to comment Share on other sites More sharing options...
Stonegaard Posted February 2, 2016 Author Report Share Posted February 2, 2016 The code of course compiles it is a working silverlight app.The conversion does not work, and we have no interface functions.So the error persists. Link to comment Share on other sites More sharing options...
Mobilize.Net Staff Olman Posted February 2, 2016 Mobilize.Net Staff Report Share Posted February 2, 2016 Can we setup a call to take a look of the problem? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now