Quantcast
Channel: Caliburn.Micro: Xaml Made Easy
Viewing all articles
Browse latest Browse all 1760

Commented Unassigned: c:\Users\Rob\ path in stack trace. [330]

$
0
0
Started using Caliburn.Micro v 1.5.2. During development faced once error. The exception stack trace contained very strange line:
essage: Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.

Exception details:
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
StackTrace:
at Caliburn.Micro.BootstrapperBase.PrepareApplication() in c:\Users\Rob\Documents\CodePlex\caliburnmicro\src\Caliburn.Micro.Silverlight\Bootstrapper.cs:line 108
at Caliburn.Micro.BootstrapperBase.StartRuntime() in c:\Users\Rob\Documents\CodePlex\caliburnmicro\src\Caliburn.Micro.Silverlight\Bootstrapper.cs:line 95
at Caliburn.Micro.BootstrapperBase.Start() in c:\Users\Rob\Documents\CodePlex\caliburnmicro\src\Caliburn.Micro.Silverlight\Bootstrapper.cs:line 49
at Caliburn.Micro.Bootstrapper`1..ctor() in c:\Users\Rob\Documents\CodePlex\caliburnmicro\src\Caliburn.Micro.Silverlight\Bootstrapper.cs:line 279
Comments: >> There is no way to have an ArgumentNullReferenceException here Actually, he reports it as a NullReferenceException, which would happen there, if Application were null. Now, at line 94, the last line executed before we call PrepareApplication(), sets Application to Application.Current. Now, I don't know the full details of the internal plumbing, but I'd think the possibility of Application.Current being null during the application startup is not unreasonable.

Viewing all articles
Browse latest Browse all 1760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>