{"action":"closed","issue":{"url":"https://api.github.com/repos/StarcounterPrefabs/UserAdmin/issues/13","repository_url":"https://api.github.com/repos/StarcounterPrefabs/UserAdmin","labels_url":"https://api.github.com/repos/StarcounterPrefabs/UserAdmin/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/StarcounterPrefabs/UserAdmin/issues/13/comments","events_url":"https://api.github.com/repos/StarcounterPrefabs/UserAdmin/issues/13/events","html_url":"https://github.com/StarcounterPrefabs/UserAdmin/issues/13","id":127262505,"number":13,"title":"NullReferenceException in user details","user":{"login":"jwillmer","id":1503577,"avatar_url":"https://avatars.githubusercontent.com/u/1503577?v=3","gravatar_id":"","url":"https://api.github.com/users/jwillmer","html_url":"https://github.com/jwillmer","followers_url":"https://api.github.com/users/jwillmer/followers","following_url":"https://api.github.com/users/jwillmer/following{/other_user}","gists_url":"https://api.github.com/users/jwillmer/gists{/gist_id}","starred_url":"https://api.github.com/users/jwillmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwillmer/subscriptions","organizations_url":"https://api.github.com/users/jwillmer/orgs","repos_url":"https://api.github.com/users/jwillmer/repos","events_url":"https://api.github.com/users/jwillmer/events{/privacy}","received_events_url":"https://api.github.com/users/jwillmer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-01-18T16:31:42Z","updated_at":"2016-08-16T15:14:53Z","closed_at":"2016-08-16T15:14:53Z","body":"If I display the list of all users and click on a user (to open the details) I get a null reference exception. (I have stoped the launcher and used the app as stand alone.)\r\n\r\nLog:\r\n```\r\nSystem.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.\r\n   bei Starcounter.Json.Refresh(Template property) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.XSON\\Class Json\\Json.cs:Zeile 300.\r\n   bei Starcounter.Json.InitBoundArrays(TValue template) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.XSON\\Class Json\\Json.Object.Data.cs:Zeile 146.\r\n   bei Starcounter.Json.InternalSetData(Object data, TValue template, Boolean readOperation) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.XSON\\Class Json\\Json.Object.Data.cs:Zeile 98.\r\n   bei Starcounter.Internal.TransactionManager.Scope[T1,T2](TransactionHandle handle, Action`2 action, T1 arg1, T2 arg2) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter\\TransactionManager.cs:Zeile 471.\r\n   bei Starcounter.Advanced.XSON.JsonExtension.Scope[T1,T2](Json json, Action`2 action, T1 arg1, T2 arg2) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.XSON\\Class Json\\JsonExtension.cs:Zeile 77.\r\n   bei Starcounter.Json.set_Data(Object value) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.XSON\\Class Json\\Json.Object.Data.cs:Zeile 38.\r\n   bei UserAdmin.SystemUsersHandlers.<>c__DisplayClassf.<Register>b__a(String uri, SystemUser personUser) in c:\\github\\StarcounterSamples\\UserAdmin\\src\\UserAdmin\\Api\\SystemUsersHandlers.cs:Zeile 81.\r\n   bei Starcounter.Db.Scope[T1,T2,TResult](Func`3 func, T1 arg1, T2 arg2, Boolean isReadOnly) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter\\Db.cs:Zeile 334.\r\n   bei UserAdmin.SystemUsersHandlers.<>c__DisplayClassf.<Register>b__9(String userid, Request request) in c:\\github\\StarcounterSamples\\UserAdmin\\src\\UserAdmin\\Api\\SystemUsersHandlers.cs:Zeile 80.\r\n   bei lambda_method(Closure , Request , IntPtr , IntPtr )\r\n   bei Starcounter.Rest.UserHandlerInfo.RunUserDelegate(Request req, IntPtr methodSpaceUriSpaceOnStack, IntPtr parametersInfoOnStack) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.Rest\\UriHandlersManager.cs:Zeile 266.\r\n   bei Starcounter.Internal.Web.AppRestServer.RunDelegateAndProcessResponse(IntPtr methodSpaceUriSpaceOnStack, IntPtr parametersInfoOnStack, Request req) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.Apps.JsonPatch\\AppRestServer.cs:Zeile 98.\r\n   bei Starcounter.Rest.UriManagedHandlersCodegen.RunUriMatcherAndCallHandler(String methodSpaceUriSpace, String methodSpaceUriSpaceLower, Request req, UInt16 portNumber, Response& resp) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.Rest\\UriManagedHandlersCodegen.cs:Zeile 1119.\r\n   bei Starcounter.Self.DoSelfNodeCall(UInt16 portNumber, String method, String relativeUri, Dictionary`2 headersDictionary, String body, Byte[] bodyBytes, HandlerOptions handlerOptions, Request req) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.Internal\\Rest\\Self.cs:Zeile 392.\r\n   bei Starcounter.Self.GET(UInt16 port, String uri, Dictionary`2 headersDictionary, HandlerOptions ho) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.Internal\\Rest\\Self.cs:Zeile 133.\r\n   bei Starcounter.UriMapping.<>c__DisplayClass1a.<CallAllHandlersForClass>b__19(HandlerInfoForUriMapping x) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter\\Apps\\OntologyAndOrdinaryMapping.cs:Zeile 801.\r\n   bei Starcounter.UriMapping.CallAllHandlersForClass(List`1 resps, MappingClassInfo type, String stringParam, List`1 alreadyCalledHandlers) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter\\Apps\\OntologyAndOrdinaryMapping.cs:Zeile 818.\r\n   bei Starcounter.UriMapping.CallAllHandlersInTypeHierarchy(Request req, String className, String paramStr) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter\\Apps\\OntologyAndOrdinaryMapping.cs:Zeile 705.\r\n   bei Starcounter.UriMapping.ClassHierarchyCallProxy(Request req, String className, String paramStr) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter\\Apps\\OntologyAndOrdinaryMapping.cs:Zeile 960.\r\n   bei lambda_method(Closure , Request , IntPtr , IntPtr )\r\n   bei Starcounter.Rest.UserHandlerInfo.RunUserDelegate(Request req, IntPtr methodSpaceUriSpaceOnStack, IntPtr parametersInfoOnStack) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.Rest\\UriHandlersManager.cs:Zeile 200.\r\n   bei Starcounter.Internal.Web.AppRestServer.RunDelegateAndProcessResponse(IntPtr methodSpaceUriSpaceOnStack, IntPtr parametersInfoOnStack, Request req) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.Apps.JsonPatch\\AppRestServer.cs:Zeile 98.\r\n   bei Starcounter.Rest.UriManagedHandlersCodegen.RunUriMatcherAndCallHandler(String methodSpaceUriSpace, String methodSpaceUriSpaceLower, Request req, UInt16 portNumber, Response& resp) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.Rest\\UriManagedHandlersCodegen.cs:Zeile 1119.\r\n   bei Starcounter.Self.DoSelfNodeCall(UInt16 portNumber, String method, String relativeUri, Dictionary`2 headersDictionary, String body, Byte[] bodyBytes, HandlerOptions handlerOptions, Request req) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.Internal\\Rest\\Self.cs:Zeile 392.\r\n   bei Starcounter.Self.GET(UInt16 port, String uri, Dictionary`2 headersDictionary, HandlerOptions ho) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.Internal\\Rest\\Self.cs:Zeile 133.\r\n   bei Starcounter.UriMapping.<>c__DisplayClass17.<OntologyMap>b__16(Request req, String appObjectId) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter\\Apps\\OntologyAndOrdinaryMapping.cs:Zeile 572.\r\n   bei lambda_method(Closure , Request , IntPtr , IntPtr )\r\n   bei Starcounter.Rest.UserHandlerInfo.RunUserDelegate(Request req, IntPtr methodSpaceUriSpaceOnStack, IntPtr parametersInfoOnStack) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.Rest\\UriHandlersManager.cs:Zeile 200.\r\n   bei Starcounter.Internal.Web.AppRestServer.RunDelegateAndProcessResponse(IntPtr methodSpaceUriSpaceOnStack, IntPtr parametersInfoOnStack, Request req) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.Apps.JsonPatch\\AppRestServer.cs:Zeile 98.\r\n   bei Starcounter.Internal.AppsBootstrapper.ProcessExternalRequest(Request req) in c:\\TeamCity\\TeamCity8\\buildAgent\\work\\sc-develop-daily-218\\Level1\\src\\Starcounter.Apps.JsonPatch\\AppsBootstrapper.cs:Zeile 461.\r\nHResult=-2147467261\r\n```\r\n\r\nI am running the current stable Starcounter Version: 2.1.177"}}
{"actor":{"display_login":"warpech"}}