icsharpcode / SharpDevelop

#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
2.09k stars 772 forks source link

A SD5.1 crashes when I try to build a solution #740

Closed devgopher closed 8 years ago

devgopher commented 8 years ago

Hello! I try to build a SharpDevelop.sln and I have a problem. During a building process I get this exception:

SharpDevelop Version : 5.1.0.5218-RC-d4a6fc07 .NET Version : 4.6.00081 OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1 Current culture : Russian (Russia) (ru-RU) Current UI language : en Working Set Memory : 472392kb GC Heap Memory : 126250kb

Unhandled WPF exception Exception thrown: System.NullReferenceException: Object reference not set to an instance of an object. at ICSharpCode.TypeScriptBinding.CompileTypeScriptFilesOnBuildAction.CompileFiles(IEnumerable1 projects) at ICSharpCode.TypeScriptBinding.RegisterTypeScriptCompileBuildOnCommand.BuildStarted(Object sender, BuildEventArgs e) at System.EventHandler1.Invoke(Object sender, TEventArgs e) at ICSharpCode.SharpDevelop.Project.BuildService.d0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at ICSharpCode.SharpDevelop.Project.Commands.Build.d0.MoveNext() in c:\Users\igor.evdokimov\Documents\Github\SharpDevelop\src\Main\Base\Project\Src\Commands\BuildCommands.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>cDisplayClass2.b3(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

---- Recent log messages: 16:48:50.352 [1] DEBUG - Host.getScriptSnapshot: C:\Users\igor.evdokimov\Documents\Github\SharpDevelop\src\AddIns\BackendBindings\TypeScript\Project\Scripts\lib.d.ts 16:48:50.352 [1] DEBUG - Host.getScriptVersion: C:\Users\igor.evdokimov\Documents\Github\SharpDevelop\src\AddIns\BackendBindings\TypeScript\Project\Scripts\lib.d.ts 16:48:50.352 [1] DEBUG - Host.getCompilationSettings 16:48:50.353 [1] DEBUG - ScriptSnapshotShim.getChangeRange 16:48:50.531 [1] DEBUG - Host.getModuleResolutionsForFile: C:/Users/igor.evdokimov/Documents/Github/SharpDevelop/src/AddIns/BackendBindings/TypeScript/Project/Scripts/lib.d.ts 16:48:51.669 [1] DEBUG - {"result":{"outputFiles":[],"emitSkipped":false,"emitOutputStatus":0}} 16:48:51.733 [1] DEBUG - CompilerMessageView: Combined 4 appends. 16:48:51.735 [1] ERROR - Unhandled WPF exception --> Exception: System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта. в ICSharpCode.TypeScriptBinding.CompileTypeScriptFilesOnBuildAction.CompileFiles(IEnumerable1 projects) в ICSharpCode.TypeScriptBinding.RegisterTypeScriptCompileBuildOnCommand.BuildStarted(Object sender, BuildEventArgs e) в System.EventHandler1.Invoke(Object sender, TEventArgs e) в ICSharpCode.SharpDevelop.Project.BuildService.d0.MoveNext() --- Конец трассировка стека из предыдущего расположения, где возникло исключение --- в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) в ICSharpCode.SharpDevelop.Project.Commands.Build.d0.MoveNext() в c:\Users\igor.evdokimov\Documents\Github\SharpDevelop\src\Main\Base\Project\Src\Commands\BuildCommands.cs:строка 0 --- Конец трассировка стека из предыдущего расположения, где возникло исключение --- в System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>cDisplayClass2.b3(Object state) в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) в System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 16:54:00.778 [1] WARN - Codon (Highlighting) specified in the insertafter of the [Codon: name = OptionPanel, id = C#, addIn=C:\Program Files\SharpDevelop\5.1\bin..\AddIns\BackendBindings\CSharpBinding\CSharpBinding.addin] codon does not exist! 16:54:00.779 [1] WARN - Codon (TextEditorOptions) specified in the insertbefore of the [Codon: name = OptionPanel, id = Profiling, addIn=C:\Program Files\SharpDevelop\5.1\bin..\AddIns\Misc\Profiler\ICSharpCode.Profiler.AddIn.addin] codon does not exist! 16:54:00.830 [1] INFO - Number of screens: 2 16:54:00.830 [1] INFO - Screen {X=0,Y=0,Width=1680,Height=1050}: Validating {X=539,Y=290,Width=552,Height=414}; intersection {X=539,Y=290,Width=552,Height=414} 16:54:07.002 [1] WARN - Loading resources ICSharpCode.TypeScriptBinding.Resources.ImageResources.en: NOT FOUND 16:54:11.241 [1] DEBUG - Host.getScriptFileNames 16:54:11.241 [1] DEBUG - Host.getScriptFileNames: ["C:\Program Files\SharpDevelop\5.1\AddIns\BackendBindings\TypeScriptBinding\Scripts\lib.d.ts","C:\Users\igor.evdokimov\Documents\Github\SharpDevelop\src\AddIns\BackendBindings\TypeScript\Project\Scripts\lib.d.ts"] 16:54:11.241 [1] DEBUG - Host.getScriptSnapshot: C:\Program Files\SharpDevelop\5.1\AddIns\BackendBindings\TypeScriptBinding\Scripts\lib.d.ts 16:54:11.241 [1] DEBUG - Host.getScriptVersion: C:\Program Files\SharpDevelop\5.1\AddIns\BackendBindings\TypeScriptBinding\Scripts\lib.d.ts 16:54:11.241 [1] DEBUG - Host.getScriptSnapshot: C:\Users\igor.evdokimov\Documents\Github\SharpDevelop\src\AddIns\BackendBindings\TypeScript\Project\Scripts\lib.d.ts 16:54:11.241 [1] DEBUG - Host.getScriptVersion: C:\Users\igor.evdokimov\Documents\Github\SharpDevelop\src\AddIns\BackendBindings\TypeScript\Project\Scripts\lib.d.ts 16:54:11.241 [1] DEBUG - Host.getCompilationSettings 16:54:11.242 [1] DEBUG - ScriptSnapshotShim.getChangeRange 16:54:11.481 [1] DEBUG - Host.getModuleResolutionsForFile: C:/Users/igor.evdokimov/Documents/Github/SharpDevelop/src/AddIns/BackendBindings/TypeScript/Project/Scripts/lib.d.ts 16:54:12.280 [1] DEBUG - {"result":{"outputFiles":[],"emitSkipped":false,"emitOutputStatus":0}} 16:54:13.026 [1] DEBUG - CompilerMessageView: Combined 4 appends. 16:54:13.027 [1] ERROR - Unhandled WPF exception --> Exception: System.NullReferenceException: Object reference not set to an instance of an object. at ICSharpCode.TypeScriptBinding.CompileTypeScriptFilesOnBuildAction.CompileFiles(IEnumerable1 projects) at ICSharpCode.TypeScriptBinding.RegisterTypeScriptCompileBuildOnCommand.BuildStarted(Object sender, BuildEventArgs e) at System.EventHandler1.Invoke(Object sender, TEventArgs e) at ICSharpCode.SharpDevelop.Project.BuildService.d0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at ICSharpCode.SharpDevelop.Project.Commands.Build.d0.MoveNext() in c:\Users\igor.evdokimov\Documents\Github\SharpDevelop\src\Main\Base\Project\Src\Commands\BuildCommands.cs:line 0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>cDisplayClass2.b3(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

---- Post-error application state information: Installed 3rd party AddIns: ProjectService.CurrentSolution: [Solution C:\Users\igor.evdokimov\Documents\Github\SharpDevelop\SharpDevelop.sln with 78 projects] ProjectService.CurrentProject: Workbench.ActiveContent: ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

P.S. I also have tried to do the same thing with another solutions and I've got the same result.