{"action":"created","issue":{"url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/6393","repository_url":"https://api.github.com/repos/DynamoDS/Dynamo","labels_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/6393/labels{/name}","comments_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/6393/comments","events_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/6393/events","html_url":"https://github.com/DynamoDS/Dynamo/issues/6393","id":146695799,"number":6393,"title":"Crash Report - 20160407","user":{"login":"vykrum","id":5621624,"avatar_url":"https://avatars.githubusercontent.com/u/5621624?v=3","gravatar_id":"","url":"https://api.github.com/users/vykrum","html_url":"https://github.com/vykrum","followers_url":"https://api.github.com/users/vykrum/followers","following_url":"https://api.github.com/users/vykrum/following{/other_user}","gists_url":"https://api.github.com/users/vykrum/gists{/gist_id}","starred_url":"https://api.github.com/users/vykrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vykrum/subscriptions","organizations_url":"https://api.github.com/users/vykrum/orgs","repos_url":"https://api.github.com/users/vykrum/repos","events_url":"https://api.github.com/users/vykrum/events{/privacy}","received_events_url":"https://api.github.com/users/vykrum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-07T17:42:02Z","updated_at":"2016-04-07T18:40:02Z","closed_at":null,"body":"## Dynamo version\r\n\r\n1.0.0.692\r\n\r\n## Operating system\r\n\r\nWindows 10\r\n\r\n## What did you do? \r\n\r\nWas trying to understand ScopeIf nodes and put two of them on a blank canvas and then added two code blocks to generate number ranges.\r\n\r\n## What did you expect to see?\r\n\r\nDidn't know what to expect. \r\n\r\n## What did you see instead?\r\nFirst got a cyclic dependency error and on deleting the ScopeIf nodes ... a crash\r\n\r\nObject reference not set to an instance of an object.\r\n\r\n   at Dynamo.UI.Controls.PreviewControl.<>c__DisplayClassc.<RefreshExpandedDisplay>b__b(AsyncTask m)\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n   at System.Windows.Threading.DispatcherOperation.InvokeImpl()\r\n   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Windows.Threading.DispatcherOperation.Invoke()\r\n   at System.Windows.Threading.Dispatcher.ProcessQueue()\r\n   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)\r\n   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)\r\n   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)\r\n   at System.Windows.Application.RunDispatcher(Object ignore)\r\n   at System.Windows.Application.RunInternal(Window window)\r\n   at DynamoSandbox.Program.MakeStandaloneAndRun(String commandFilePath, DynamoViewModel& viewModel)\r\n   at DynamoSandbox.Program.Main(String[] args)\r\n"},"comment":{"url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/comments/207043287","html_url":"https://github.com/DynamoDS/Dynamo/issues/6393#issuecomment-207043287","issue_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/6393","id":207043287,"user":{"login":"kronz","id":3456818,"avatar_url":"https://avatars.githubusercontent.com/u/3456818?v=3","gravatar_id":"","url":"https://api.github.com/users/kronz","html_url":"https://github.com/kronz","followers_url":"https://api.github.com/users/kronz/followers","following_url":"https://api.github.com/users/kronz/following{/other_user}","gists_url":"https://api.github.com/users/kronz/gists{/gist_id}","starred_url":"https://api.github.com/users/kronz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kronz/subscriptions","organizations_url":"https://api.github.com/users/kronz/orgs","repos_url":"https://api.github.com/users/kronz/repos","events_url":"https://api.github.com/users/kronz/events{/privacy}","received_events_url":"https://api.github.com/users/kronz/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T18:40:02Z","updated_at":"2016-04-07T18:40:02Z","body":"Thanks @vykrum .\r\nYou are adventurous.  The ScopeIf node is really best suited for doing some very specialized work inside of Custom nodes.  Check our my Fractal Tree node on the package manager.  We are going to make some adjustments to this in Dynamo 1.1, both in terms of functionality and documentation.  \r\nfyi @ke-yu "}}