Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Cobra build and run error

$
0
0

Hello SD Team,

I'm a complete newbie with SharpDevelop, but I love what I see so far with both VB and C#. I'm currently trying to compile a simple test code for Cobra but I continue to get errors for any tool associated with Cobra in the Cobra tab (from Run down to Compiler Version. The following is what I see when I try to compile or look at compiler version:

 

 

SharpDevelop Version : 4.3.3.9663-463ee024

.NET Version         : 4.0.30319.18408

OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1

Current culture      : English (United States) (en-US)

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 160980kb

GC Heap Memory       : 17350kb

 

Unhandled WPF exception

Exception thrown:

System.ArgumentNullException: Value cannot be null.

Parameter name: project

   at ICSharpCode.SharpDevelop.Project.BuildEngine.BuildInGui(IBuildable project, BuildOptions options)

   at CobraProgrammingLanguageBinding.MainMenu.ActWithPathCommands.Compile.Run()

   at ICSharpCode.Core.Presentation.CommandWrapper.Execute(Object parameter)

   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)

   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

 

---- Recent log messages:

16:53:28.737 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.CreateNewFile', activation=MainMenu

16:53:28.743 [1] WARN - ICSharpCode.Core.ResourceNotFoundException: Resource not found : Cobra.Template.Class

   at ICSharpCode.Core.WinForms.WinFormsResourceService.GetBitmap(String name)

   at ICSharpCode.SharpDevelop.IconService.GetBitmap(String name)

16:53:28.743 [1] WARN - ICSharpCode.Core.ResourceNotFoundException: Resource not found : Cobra.Template.Form

   at ICSharpCode.Core.WinForms.WinFormsResourceService.GetBitmap(String name)

   at ICSharpCode.SharpDevelop.IconService.GetBitmap(String name)

16:53:28.743 [1] WARN - ICSharpCode.Core.ResourceNotFoundException: Resource not found : Cobra.Template.EmptyFile

   at ICSharpCode.Core.WinForms.WinFormsResourceService.GetBitmap(String name)

   at ICSharpCode.SharpDevelop.IconService.GetBitmap(String name)

16:53:36.205 [1] DEBUG - Activated feature 'ICSharpCode.AvalonEdit.AddIn.AvalonEditViewContent/open.cobra'

16:53:36.206 [1] DEBUG - Trying to restore memento of '[AvalonEditViewContent 829755\Class1.cobra]' from key '1e13ec5:829755\CLASS1.COBRA'

16:53:36.209 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent 829755\Class1.cobra]

16:53:36.209 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Class1.cobra*]

16:53:36.209 [1] DEBUG - NavigationService

ActiveViewContent: Class1.cobra

         Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}

16:53:36.209 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent 829755\Class1.cobra]

16:54:00.040 [1] INFO - Loading addin SharpRefactoring

16:54:19.807 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.SaveFile', activation=Toolbar

16:54:27.570 [1] DEBUG - OpenedFileFileNameChange: 829755\Class1.cobra => C:\Users\160045\Desktop\test.cobra

16:54:27.570 [1] INFO - ClearParseInformation: 829755\Class1.cobra

16:54:27.572 [1] DEBUG - Save C:\Users\160045\Desktop\test.cobra

16:54:27.573 [1] INFO - C:\Users\160045\Desktop\test.cobra

16:54:34.504 [1] DEBUG - Activated feature 'CobraProgrammingLanguageBinding.MainMenu.ActWithPathCommands.Compile', activation=MainMenu

16:54:40.481 [1] DEBUG - Activated feature 'CobraProgrammingLanguageBinding.MainMenu.ActWithPathCommands.RunCobra', activation=MainMenu

16:54:48.471 [1] DEBUG - Activated feature 'CobraProgrammingLanguageBinding.MainMenu.StandAloneCommands.Version', activation=MainMenu

16:54:53.310 [1] DEBUG - Activated feature 'CobraProgrammingLanguageBinding.MainMenu.StandAloneCommands.About', activation=MainMenu

17:04:14.206 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.OptionsCommand', activation=MainMenu

17:04:14.207 [1] WARN - Codon (TextEditorOptions) specified in the insertbefore of the [Codon: name = OptionPanel, id = Profiling, addIn=C:\Developer\SharpDevelop\bin\..\AddIns\Misc\Profiler\ICSharpCode.Profiler.AddIn.addin] codon does not exist!

17:04:14.307 [1] INFO - Number of screens: 1

17:04:14.307 [1] INFO - Screen {X=0,Y=0,Width=1366,Height=768}: Validating {X=102,Y=132,Width=552,Height=414}; intersection {X=102,Y=132,Width=552,Height=414}

17:08:47.495 [1] DEBUG - Activated feature 'CobraProgrammingLanguageBinding.MainMenu.ActWithPathCommands.Compile', activation=MainMenu

 

---- Post-error application state information:

Installed 3rd party AddIns: [CobraProgrammingLanguageBinding 0.0.0.0]

Workbench.ActiveContent: [AvalonEditViewContent C:\Users\160045\Desktop\test.cobra]

ProjectService.OpenSolution: <null>

ProjectService.CurrentProject: <null>

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
SharpDevelop Version : 4.3.3.9663-463ee024
.NET Version         : 4.0.30319.18408
OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture      : English (United States) (en-US)
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 161592kb
GC Heap Memory       : 17052kb
Unhandled WPF exception
Exception thrown:
System.ArgumentNullException: Value cannot be null.
Parameter name: project
   at ICSharpCode.SharpDevelop.Project.BuildEngine.BuildInGui(IBuildable project, BuildOptions options)
   at CobraProgrammingLanguageBinding.MainMenu.StandAloneCommands.Version.Run()
   at ICSharpCode.Core.Presentation.CommandWrapper.Execute(Object parameter)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
---- Recent log messages:
16:53:28.743 [1] WARN - ICSharpCode.Core.ResourceNotFoundException: Resource not found : Cobra.Template.Class
   at ICSharpCode.Core.WinForms.WinFormsResourceService.GetBitmap(String name)
   at ICSharpCode.SharpDevelop.IconService.GetBitmap(String name)
16:53:28.743 [1] WARN - ICSharpCode.Core.ResourceNotFoundException: Resource not found : Cobra.Template.Form
   at ICSharpCode.Core.WinForms.WinFormsResourceService.GetBitmap(String name)
   at ICSharpCode.SharpDevelop.IconService.GetBitmap(String name)
16:53:28.743 [1] WARN - ICSharpCode.Core.ResourceNotFoundException: Resource not found : Cobra.Template.EmptyFile
   at ICSharpCode.Core.WinForms.WinFormsResourceService.GetBitmap(String name)
   at ICSharpCode.SharpDevelop.IconService.GetBitmap(String name)
16:53:36.205 [1] DEBUG - Activated feature 'ICSharpCode.AvalonEdit.AddIn.AvalonEditViewContent/open.cobra'
16:53:36.206 [1] DEBUG - Trying to restore memento of '[AvalonEditViewContent 829755\Class1.cobra]' from key '1e13ec5:829755\CLASS1.COBRA'
16:53:36.209 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent 829755\Class1.cobra]
16:53:36.209 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Class1.cobra*]
16:53:36.209 [1] DEBUG - NavigationService
ActiveViewContent: Class1.cobra
         Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
16:53:36.209 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent 829755\Class1.cobra]
16:54:00.040 [1] INFO - Loading addin SharpRefactoring
16:54:19.807 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.SaveFile', activation=Toolbar
16:54:27.570 [1] DEBUG - OpenedFileFileNameChange: 829755\Class1.cobra => C:\Users\160045\Desktop\test.cobra
16:54:27.570 [1] INFO - ClearParseInformation: 829755\Class1.cobra
16:54:27.572 [1] DEBUG - Save C:\Users\160045\Desktop\test.cobra
16:54:27.573 [1] INFO - C:\Users\160045\Desktop\test.cobra
16:54:34.504 [1] DEBUG - Activated feature 'CobraProgrammingLanguageBinding.MainMenu.ActWithPathCommands.Compile', activation=MainMenu
16:54:40.481 [1] DEBUG - Activated feature 'CobraProgrammingLanguageBinding.MainMenu.ActWithPathCommands.RunCobra', activation=MainMenu
16:54:48.471 [1] DEBUG - Activated feature 'CobraProgrammingLanguageBinding.MainMenu.StandAloneCommands.Version', activation=MainMenu
16:54:53.310 [1] DEBUG - Activated feature 'CobraProgrammingLanguageBinding.MainMenu.StandAloneCommands.About', activation=MainMenu
17:04:14.206 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Commands.OptionsCommand', activation=MainMenu
17:04:14.207 [1] WARN - Codon (TextEditorOptions) specified in the insertbefore of the [Codon: name = OptionPanel, id = Profiling, addIn=C:\Developer\SharpDevelop\bin\..\AddIns\Misc\Profiler\ICSharpCode.Profiler.AddIn.addin] codon does not exist!
17:04:14.307 [1] INFO - Number of screens: 1
17:04:14.307 [1] INFO - Screen {X=0,Y=0,Width=1366,Height=768}: Validating {X=102,Y=132,Width=552,Height=414}; intersection {X=102,Y=132,Width=552,Height=414}
17:08:47.495 [1] DEBUG - Activated feature 'CobraProgrammingLanguageBinding.MainMenu.ActWithPathCommands.Compile', activation=MainMenu
17:09:16.514 [1] DEBUG - Activated feature 'CobraProgrammingLanguageBinding.MainMenu.StandAloneCommands.Version', activation=MainMenu
---- Post-error application state information:
Installed 3rd party AddIns: [CobraProgrammingLanguageBinding 0.0.0.0]
Workbench.ActiveContent: [AvalonEditViewContent C:\Users\160045\Desktop\test.cobra]
ProjectService.OpenSolution: <null>
ProjectService.CurrentProject: <null>
Thank you for your help.

Viewing all articles
Browse latest Browse all 1764

Trending Articles