{"action":"created","issue":{"url":"https://api.github.com/repos/Baste-RainGames/Node_Editor/issues/8","labels_url":"https://api.github.com/repos/Baste-RainGames/Node_Editor/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Baste-RainGames/Node_Editor/issues/8/comments","events_url":"https://api.github.com/repos/Baste-RainGames/Node_Editor/issues/8/events","html_url":"https://github.com/Baste-RainGames/Node_Editor/issues/8","id":110264575,"number":8,"title":"Lots of NullReferenceException in Unity 5.2.0f3 (doesn't work)","user":{"login":"yuriy-universal-ivanov","id":6696123,"avatar_url":"https://avatars.githubusercontent.com/u/6696123?v=3","gravatar_id":"","url":"https://api.github.com/users/yuriy-universal-ivanov","html_url":"https://github.com/yuriy-universal-ivanov","followers_url":"https://api.github.com/users/yuriy-universal-ivanov/followers","following_url":"https://api.github.com/users/yuriy-universal-ivanov/following{/other_user}","gists_url":"https://api.github.com/users/yuriy-universal-ivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/yuriy-universal-ivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuriy-universal-ivanov/subscriptions","organizations_url":"https://api.github.com/users/yuriy-universal-ivanov/orgs","repos_url":"https://api.github.com/users/yuriy-universal-ivanov/repos","events_url":"https://api.github.com/users/yuriy-universal-ivanov/events{/privacy}","received_events_url":"https://api.github.com/users/yuriy-universal-ivanov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-07T16:27:18Z","updated_at":"2015-10-07T20:25:26Z","closed_at":null,"body":"(Reverting 36ca9042d5af9b7632f93d251a3d2405b7bda2be helps)\r\n\r\nWhen trying to open Window -> Node Editor:\r\n\r\nNullReferenceException: Object reference not set to an instance of an object\r\nSystem.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)\r\nRethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.\r\nSystem.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)\r\nSystem.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)\r\nGUIScaleUtility.get_getTopRect () (at Assets/Plugins/Node_Editor/Framework/GUIScaleUtility.cs:16)\r\nGUIScaleUtility.BeginNoClip () (at Assets/Plugins/Node_Editor/Framework/GUIScaleUtility.cs:157)\r\nGUIScaleUtility.BeginScale (UnityEngine.Rect& rect, Vector2 zoomPivot, Single zoom, Boolean adjustGUILayout) (at Assets/Plugins/Node_Editor/Framework/GUIScaleUtility.cs:85)\r\nNodeEditorFramework.NodeEditor.DrawSubCanvas (NodeEditorFramework.NodeCanvas nodeCanvas, NodeEditorFramework.NodeEditorState editorState) (at Assets/Plugins/Node_Editor/Framework/NodeEditor.cs:140)\r\nNodeEditorFramework.NodeEditor.DrawCanvas (NodeEditorFramework.NodeCanvas nodeCanvas, NodeEditorFramework.NodeEditorState editorState) (at Assets/Plugins/Node_Editor/Framework/NodeEditor.cs:86)\r\nNodeEditorFramework.NodeEditorWindow.OnGUI () (at Assets/Editor/Node_Editor/NodeEditorWindow.cs:78)\r\nSystem.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)"},"comment":{"url":"https://api.github.com/repos/Baste-RainGames/Node_Editor/issues/comments/146317726","html_url":"https://github.com/Baste-RainGames/Node_Editor/issues/8#issuecomment-146317726","issue_url":"https://api.github.com/repos/Baste-RainGames/Node_Editor/issues/8","id":146317726,"user":{"login":"yuriy-universal-ivanov","id":6696123,"avatar_url":"https://avatars.githubusercontent.com/u/6696123?v=3","gravatar_id":"","url":"https://api.github.com/users/yuriy-universal-ivanov","html_url":"https://github.com/yuriy-universal-ivanov","followers_url":"https://api.github.com/users/yuriy-universal-ivanov/followers","following_url":"https://api.github.com/users/yuriy-universal-ivanov/following{/other_user}","gists_url":"https://api.github.com/users/yuriy-universal-ivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/yuriy-universal-ivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuriy-universal-ivanov/subscriptions","organizations_url":"https://api.github.com/users/yuriy-universal-ivanov/orgs","repos_url":"https://api.github.com/users/yuriy-universal-ivanov/repos","events_url":"https://api.github.com/users/yuriy-universal-ivanov/events{/privacy}","received_events_url":"https://api.github.com/users/yuriy-universal-ivanov/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T20:25:26Z","updated_at":"2015-10-07T20:25:26Z","body":"All failed:\r\n\r\nTest in used failed! Error:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object\r\n  at (wrapper managed-to-native) UnityEngine.GUIClip:GetTopRect ()\r\n  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)\r\n  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222 \r\n  --- End of inner exception stack trace ---\r\n  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000eb] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232 \r\n  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115 \r\n  at GUIScaleUtility.get_getTopRect () [0x00000] in /Users/universal/projects/temp/tmp/Assets/Node_Editor/Framework/GUIScaleUtility.cs:16 \r\n  at NodeEditorReflectionTest.OnGUI () [0x00166] in /Users/universal/projects/temp/tmp/Assets/Editor/NodeEditorReflectionTest.cs:60 \r\nUnityEngine.Debug:LogError(Object)\r\nNodeEditorReflectionTest:OnGUI() (at Assets/Editor/NodeEditorReflectionTest.cs:66)\r\nUnityEditor.DockArea:OnGUI()\r\n\r\nTest in Layout failed! Error:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object\r\n  at (wrapper managed-to-native) UnityEngine.GUIClip:GetTopRect ()\r\n  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)\r\n  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222 \r\n  --- End of inner exception stack trace ---\r\n  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000eb] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232 \r\n  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115 \r\n  at GUIScaleUtility.get_getTopRect () [0x00000] in /Users/universal/projects/temp/tmp/Assets/Node_Editor/Framework/GUIScaleUtility.cs:16 \r\n  at NodeEditorReflectionTest.OnGUI () [0x00166] in /Users/universal/projects/temp/tmp/Assets/Editor/NodeEditorReflectionTest.cs:60 \r\nUnityEngine.Debug:LogError(Object)\r\nNodeEditorReflectionTest:OnGUI() (at Assets/Editor/NodeEditorReflectionTest.cs:66)\r\nUnityEditor.DockArea:OnGUI()\r\n\r\n\r\nTest in Repaint failed! Error:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object\r\n  at (wrapper managed-to-native) UnityEngine.GUIClip:GetTopRect ()\r\n  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)\r\n  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222 \r\n  --- End of inner exception stack trace ---\r\n  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000eb] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232 \r\n  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115 \r\n  at GUIScaleUtility.get_getTopRect () [0x00000] in /Users/universal/projects/temp/tmp/Assets/Node_Editor/Framework/GUIScaleUtility.cs:16 \r\n  at NodeEditorReflectionTest.OnGUI () [0x00166] in /Users/universal/projects/temp/tmp/Assets/Editor/NodeEditorReflectionTest.cs:60 \r\nUnityEngine.Debug:LogError(Object)\r\nNodeEditorReflectionTest:OnGUI() (at Assets/Editor/NodeEditorReflectionTest.cs:66)\r\nUnityEditor.DockArea:OnGUI()\r\n\r\n\r\nTest in mouseDrag failed! Error:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object\r\n  at (wrapper managed-to-native) UnityEngine.GUIClip:GetTopRect ()\r\n  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)\r\n  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222 \r\n  --- End of inner exception stack trace ---\r\n  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000eb] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232 \r\n  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115 \r\n  at GUIScaleUtility.get_getTopRect () [0x00000] in /Users/universal/projects/temp/tmp/Assets/Node_Editor/Framework/GUIScaleUtility.cs:16 \r\n  at NodeEditorReflectionTest.OnGUI () [0x00166] in /Users/universal/projects/temp/tmp/Assets/Editor/NodeEditorReflectionTest.cs:60 \r\nUnityEngine.Debug:LogError(Object)\r\nNodeEditorReflectionTest:OnGUI() (at Assets/Editor/NodeEditorReflectionTest.cs:66)\r\nUnityEditor.DockArea:OnGUI()\r\n\r\n\r\nTest in mouseUp failed! Error:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object\r\n  at (wrapper managed-to-native) UnityEngine.GUIClip:GetTopRect ()\r\n  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)\r\n  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222 \r\n  --- End of inner exception stack trace ---\r\n  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000eb] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232 \r\n  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115 \r\n  at GUIScaleUtility.get_getTopRect () [0x00000] in /Users/universal/projects/temp/tmp/Assets/Node_Editor/Framework/GUIScaleUtility.cs:16 \r\n  at NodeEditorReflectionTest.OnGUI () [0x00166] in /Users/universal/projects/temp/tmp/Assets/Editor/NodeEditorReflectionTest.cs:60 \r\nUnityEngine.Debug:LogError(Object)\r\nNodeEditorReflectionTest:OnGUI() (at Assets/Editor/NodeEditorReflectionTest.cs:66)\r\nUnityEditor.DockArea:OnGUI()\r\n\r\n\r\nIt doesn't prove anything. Yeah, it's not available in OnGUI, but that's it.\r\nIs there any way to avoid using it?.."}}