SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Error: start project with error - TypeInitializationException

Last post 09-03-2008 10:53 AM by Mechael. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 09-03-2008 10:53 AM

    • Mechael
    • Top 50 Contributor
    • Joined on 07-10-2008
    • Ekaterinburg
    • Posts 42

    Error: start project with error - TypeInitializationException

     SharpDevelop Version : 3.0.0.3471
    .NET Version         : 2.0.50727.1434
    OS Version           : Microsoft Windows NT 6.0.6001 Service Pack 1
    Current culture      : Russian (Russia) (ru-RU)
    Working Set Memory   : 122588kb
    GC Heap Memory       : 42353kb

    Exception thrown:
    System.ArgumentNullException: Значение не может быть неопределенным.
    Имя параметра: context
       в Debugger.Expressions.Expression.Evaluate(StackFrame context)
       в Debugger.Expressions.Expression.Evaluate(Process context)
       в Debugger.AddIn.TreeModel.ValueNode.Create(Expression expression)
       в ICSharpCode.SharpDevelop.Services.DebugeeExceptionForm.Show(Process process, String title, String message, Bitmap icon, Boolean canContinue)
       в ICSharpCode.SharpDevelop.Services.WindowsDebugger.debuggedProcess_ExceptionThrown(Object sender, ExceptionEventArgs e)
       в Debugger.Process.OnExceptionThrown(ExceptionEventArgs e)
       в Debugger.Process.RaisePausedEvents()
       в Debugger.Interop.MTA2STA.<>c__DisplayClass3.<EnqueueCall>b__0()
       в Debugger.Interop.MTA2STA.PerformCall()
       в Debugger.Interop.MTA2STA.PerformAllCalls()
       в System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
       в System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
       в System.Threading.ExecutionContext.runTryCode(Object userData)
       в System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       в System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
       в System.Windows.Forms.Control.InvokeMarshaledCallbacks()

    ---- Recent log messages:
    14:50:39.435 [1] DEBUG - Debugger: Callback: LoadModule D:\MyDOC\C#\WORK\OurProject\AppBin\EventLayer.dll
    14:50:39.474 [1] DEBUG - Debugger: Callback: LoadAssembly
    14:50:39.475 [1] DEBUG - Debugger: Callback: LoadModule C:\Windows\assembly\GAC_MSIL\mscorlib.resources\2.0.0.0_ru_b77a5c561934e089\mscorlib.resources.dll
    14:50:39.477 [1] DEBUG - Debugger: Callback: Exception
    14:50:39.477 [1] DEBUG - Debugger: Process has queued callbacks
    14:50:39.479 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_FIRST_CHANCE)
    14:50:39.509 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_CATCH_HANDLER_FOUND)
    14:50:39.573 [1] DEBUG - Debugger: Callback: CreateThread 2428
    14:50:39.605 [1] DEBUG - Debugger: Callback: LoadAssembly
    14:50:39.606 [1] DEBUG - Debugger: Callback: LoadModule C:\Windows\assembly\GAC_MSIL\System.Xml.resources\2.0.0.0_ru_b77a5c561934e089\System.Xml.resources.dll
    14:50:39.606 [1] DEBUG - Debugger: Callback: Exception
    14:50:39.606 [1] DEBUG - Debugger: Process has queued callbacks
    14:50:39.607 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_FIRST_CHANCE)
    14:50:39.608 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_USER_FIRST_CHANCE)
    14:50:39.608 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_CATCH_HANDLER_FOUND)
    14:50:39.609 [1] DEBUG - Debugger: Callback: Exception
    14:50:39.609 [1] DEBUG - Debugger: Process has queued callbacks
    14:50:39.609 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_FIRST_CHANCE)
    14:50:39.609 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_USER_FIRST_CHANCE)
    14:50:39.610 [1] DEBUG - Debugger: Callback: ExceptionUnwind
    14:50:39.611 [1] DEBUG - Debugger: Callback: Exception
    14:50:39.611 [1] DEBUG - Debugger: Process has queued callbacks
    14:50:39.611 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_UNHANDLED)
    14:50:39.620 [1] DEBUG - Debugger: Debugger event: OnExceptionThrown()
    14:50:39.658 [1] ERROR - ThreadException caught
    --> Exception:
    System.ArgumentNullException: Значение не может быть неопределенным.
    Имя параметра: context
       в Debugger.Expressions.Expression.Evaluate(StackFrame context)
       в Debugger.Expressions.Expression.Evaluate(Process context)
       в Debugger.AddIn.TreeModel.ValueNode.Create(Expression expression)
       в ICSharpCode.SharpDevelop.Services.DebugeeExceptionForm.Show(Process process, String title, String message, Bitmap icon, Boolean canContinue)
       в ICSharpCode.SharpDevelop.Services.WindowsDebugger.debuggedProcess_ExceptionThrown(Object sender, ExceptionEventArgs e)
       в Debugger.Process.OnExceptionThrown(ExceptionEventArgs e)
       в Debugger.Process.RaisePausedEvents()
       в Debugger.Interop.MTA2STA.<>c__DisplayClass3.<EnqueueCall>b__0()
       в Debugger.Interop.MTA2STA.PerformCall()
       в Debugger.Interop.MTA2STA.PerformAllCalls()
       в System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
       в System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
       в System.Threading.ExecutionContext.runTryCode(Object userData)
       в System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       в System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
       в System.Windows.Forms.Control.InvokeMarshaledCallbacks()

    ---- Post-error application state information:
    Installed 3rd party AddIns:
    Workbench.ActiveContent: ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBindingWrapper
    ProjectService.OpenSolution: [Solution: FileName=D:\MyDOC\C#\WORK\OurProject\OurProject.sln, HasProjects=True, ReadOnly=False]
    ProjectService.CurrentProject: [CSharpProject: SystemPart]

    From VS: 

    System.TypeInitializationException was unhandled
      Message="Инициализатор типа \"Entry\" выдал исключение."
      Source="WFClient"
      TypeName="Entry"
      StackTrace:
           в SKBKontur.IKC.OurProject.Sys.WFClient.LocalClient.Entry.Main()
           в System.AppDomain._nExecuteAssembly(Assembly assembly, String[ args)
           в System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[ args)
           в Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           в System.Threading.ThreadHelper.ThreadStart_Context(Object state)
           в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           в System.Threading.ThreadHelper.ThreadStart()
      InnerException: System.ApplicationException
           Message="Не смогли загрузить XML из файла: ..\\AppProjects\\USZN\\ObjectsInfo\\Объекты\\Гражданин\\ПрезентацияГражданина.xml"
           Source="SystemPart"
           StackTrace:
                в SKBKontur.IKC.OurProject.Sys.SystemPart.Utils.XML.XMLDocumentExtension.getXmlDocumentFromFile(String fileName) в D:\MyDOC\C#\WORK\OurProject\Sys\SystemPart\Utils\XML\XMLDocumentExtension.cs:строка 113
                в SKBKontur.IKC.OurProject.Sys.Layers.ObjectLayer.ApplicationObjectInfoCreator.getApplicationObject(String value, ObjectInfoSourceType sourceType) в D:\MyDOC\C#\WORK\OurProject\Sys\Layers\ObjectLayer\ApplicationObjectInfoCreator.cs:строка 46
                в SKBKontur.IKC.OurProject.Sys.Layers.ObjectLayer.ObjectsManager.Add(String value, ObjectInfoSourceType sourceType) в D:\MyDOC\C#\WORK\OurProject\Sys\Layers\ObjectLayer\ObjectsManager.cs:строка 771
                в SKBKontur.IKC.OurProject.Sys.Layers.ObjectLayer.ObjectsManager.loadSimple(String[ value, ObjectInfoSourceType sourceType) в D:\MyDOC\C#\WORK\OurProject\Sys\Layers\ObjectLayer\ObjectsManager.cs:строка 345
                в SKBKontur.IKC.OurProject.Sys.Layers.ObjectLayer.ObjectsManager.load(String[ value, LoadObjectInfoType loadtype, ObjectInfoSourceType sourceType) в D:\MyDOC\C#\WORK\OurProject\Sys\Layers\ObjectLayer\ObjectsManager.cs:строка 143
                в SKBKontur.IKC.OurProject.Sys.Layers.ObjectLayer.ObjectsManager.load(String[ value, ObjectInfoSourceType sourceType, LoadObjectInfoType loadtype) в D:\MyDOC\C#\WORK\OurProject\Sys\Layers\ObjectLayer\ObjectsManager.cs:строка 121
                в SKBKontur.IKC.OurProject.Sys.Layers.ObjectLayer.ObjectsManager.load(String[ value, ObjectInfoSourceType sourceType, LoadObjectInfoType loadtype) в D:\MyDOC\C#\WORK\OurProject\Sys\Layers\ObjectLayer\ObjectsManager.cs:строка 116
                в SKBKontur.IKC.OurProject.Sys.Layers.ObjectLayer.ObjectsManager..ctor(String value, ObjectInfoSourceType sourceType, LoadObjectInfoType loadtype) в D:\MyDOC\C#\WORK\OurProject\Sys\Layers\ObjectLayer\ObjectsManager.cs:строка 195
                в SKBKontur.IKC.OurProject.Sys.Layers.ObjectLayer.ObjectsManager..ctor(String value, ObjectInfoSourceType sourceType) в D:\MyDOC\C#\WORK\OurProject\Sys\Layers\ObjectLayer\ObjectsManager.cs:строка 174
                в SKBKontur.IKC.OurProject.Sys.Layers.TaskPerformerLayer.TaskPerformer.loadObjects() в D:\MyDOC\C#\WORK\OurProject\Sys\Layers\TaskPerformerLayer\TaskPerformer.cs:строка 76
                в SKBKontur.IKC.OurProject.Sys.Layers.TaskPerformerLayer.TaskPerformer..ctor() в D:\MyDOC\C#\WORK\OurProject\Sys\Layers\TaskPerformerLayer\TaskPerformer.cs:строка 42
                в SKBKontur.IKC.OurProject.Sys.Layers.UserServiceLayer.UserService.Init() в D:\MyDOC\C#\WORK\OurProject\Sys\Layers\UserServiceLayer\UserService.cs:строка 91
                в SKBKontur.IKC.OurProject.Sys.WFClient.LocalClient..ctor() в D:\MyDOC\C#\WORK\OurProject\Test\WFClient\LocalClient.cs:строка 48
                в SKBKontur.IKC.OurProject.Sys.WFClient.LocalClient.Entry..cctor() в D:\MyDOC\C#\WORK\OurProject\Test\WFClient\LocalClient.cs:строка 176
           InnerException:
     

    Filed under: ,
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.