Created
January 13, 2014 17:43
-
-
Save warpech/8404567 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.NullReferenceException was unhandled by user code | |
HResult=-2147467261 | |
Message=Object reference not set to an instance of an object. | |
Source=Starcounter.Node | |
StackTrace: | |
at Starcounter.X.CheckLocalCache(String uri, Object userObject, Action`2 userDelegate, Response& resp) | |
at Starcounter.X.GET[T](String uri, Int32 receiveTimeoutMs) | |
at Page.AsMimeType(MimeType type) in c:\Sites\PMail\Server\Page.json.cs:line 10 | |
at Starcounter.Internal.JsonMimeConverter.Convert(Request request, Object before, MimeType mimeType, MimeType& resultingMimeType) | |
at Starcounter.Json.AsMimeType(MimeType mimeType, MimeType& resultingMimeType, Request request) | |
at Starcounter.Response.ConstructFromFields() | |
at Starcounter.Internal.Web.AppRestServer.OnResponseHttp(Request request, Response response) | |
InnerException: |
I tried to revert to previous (surely working) commits in project where I had this problem (PMail) -- no improvement.
Compiling other project worked ok.
Compiling PMail again -- still did not work.
Finally I cleaned and rebuilded PMail and it works. 👌
Thanks for reporting! The first question is what version are you using? :)
Starcounter 2.0.1342.3 (Jan 8, 2014 1:00:43 AM)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get this exception in line 10 in this file: https://github.com/warpech/PMail/blob/master/Server/Page.json.cs#L10