Skip to content

Instantly share code, notes, and snippets.

@warpech warpech/gist:8404567
Created Jan 13, 2014

Embed
What would you like to do?
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:
@warpech

This comment has been minimized.

Copy link
Owner Author

commented Jan 13, 2014

I get this exception in line 10 in this file: https://github.com/warpech/PMail/blob/master/Server/Page.json.cs#L10

@warpech

This comment has been minimized.

Copy link
Owner Author

commented Jan 13, 2014

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. 👌

@alemoi

This comment has been minimized.

Copy link

commented Jan 13, 2014

Thanks for reporting! The first question is what version are you using? :)

@warpech

This comment has been minimized.

Copy link
Owner Author

commented Jan 13, 2014

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
You can’t perform that action at this time.