{"action":"created","issue":{"url":"https://api.github.com/repos/fdorg/flashdevelop/issues/1243","repository_url":"https://api.github.com/repos/fdorg/flashdevelop","labels_url":"https://api.github.com/repos/fdorg/flashdevelop/issues/1243/labels{/name}","comments_url":"https://api.github.com/repos/fdorg/flashdevelop/issues/1243/comments","events_url":"https://api.github.com/repos/fdorg/flashdevelop/issues/1243/events","html_url":"https://github.com/fdorg/flashdevelop/issues/1243","id":158258413,"number":1243,"title":"[Haxe] random NullReferenceException during auto completion","user":{"login":"sebthom","id":426959,"avatar_url":"https://avatars1.githubusercontent.com/u/426959?v=4","gravatar_id":"","url":"https://api.github.com/users/sebthom","html_url":"https://github.com/sebthom","followers_url":"https://api.github.com/users/sebthom/followers","following_url":"https://api.github.com/users/sebthom/following{/other_user}","gists_url":"https://api.github.com/users/sebthom/gists{/gist_id}","starred_url":"https://api.github.com/users/sebthom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebthom/subscriptions","organizations_url":"https://api.github.com/users/sebthom/orgs","repos_url":"https://api.github.com/users/sebthom/repos","events_url":"https://api.github.com/users/sebthom/events{/privacy}","received_events_url":"https://api.github.com/users/sebthom/received_events","type":"User","site_admin":false},"labels":[{"id":55533927,"url":"https://api.github.com/repos/fdorg/flashdevelop/labels/bug","name":"bug","color":"fc2929","default":true},{"id":595462420,"url":"https://api.github.com/repos/fdorg/flashdevelop/labels/haxe","name":"haxe","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-02T22:59:36Z","updated_at":"2018-04-22T13:55:24Z","closed_at":"2018-04-22T13:55:24Z","author_association":"NONE","body":"Since the version 5.1.1.1 I randomly receive an Exception popup when auto completion kicks in. I could not figure out a reproducible usage pattern to trigger it. It just pops up annoyingly often. Maybe it's some kind of race condition.\n\n```\n************** Exception Text **************\nSystem.NullReferenceException: Object reference not set to an instance of an object.\n   at PluginCore.Controls.CompletionList.FindWordStartingWith(String word)\n   at PluginCore.Controls.CompletionList.OnChar(ScintillaControl sci, Int32 value)\n   at PluginCore.Controls.UITools.OnChar(ScintillaControl sci, Int32 value)\n   at ScintillaNet.CharAddedHandler.Invoke(ScintillaControl sender, Int32 ch)\n   at ScintillaNet.ScintillaControl.WndProc(Message& m)\n   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)\n   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)\n   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\n\n\n************** Loaded Assemblies **************\nmscorlib\n    Assembly Version: 2.0.0.0\n    Win32 Version: 2.0.50727.8689 (QFE.050727-8600)\n    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll\n----------------------------------------\nFlashDevelop\n    Assembly Version: 5.0.0.0\n    Win32 Version: 5.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/FlashDevelop.exe\n----------------------------------------\nPluginCore\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/PluginCore.DLL\n----------------------------------------\nSystem.Windows.Forms\n    Assembly Version: 2.0.0.0\n    Win32 Version: 2.0.50727.8670 (QFE.050727-8600)\n    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll\n----------------------------------------\nSystem\n    Assembly Version: 2.0.0.0\n    Win32 Version: 2.0.50727.8690 (QFE.050727-8600)\n    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll\n----------------------------------------\nSystem.Drawing\n    Assembly Version: 2.0.0.0\n    Win32 Version: 2.0.50727.8681 (QFE.050727-8600)\n    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll\n----------------------------------------\nSystem.Xml\n    Assembly Version: 2.0.0.0\n    Win32 Version: 2.0.50727.8679 (QFE.050727-8600)\n    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll\n----------------------------------------\nSystem.Core\n    Assembly Version: 3.5.0.0\n    Win32 Version: 3.5.30729.8693 built by: QFE\n    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll\n----------------------------------------\nAirProperties\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/AirProperties.DLL\n----------------------------------------\nAntPanel\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/AntPanel.DLL\n----------------------------------------\nAS2Context\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/AS2Context.DLL\n----------------------------------------\nASCompletion\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/ASCompletion.DLL\n----------------------------------------\nAS3Context\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/AS3Context.DLL\n----------------------------------------\nXMLCompletion\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/XMLCompletion.DLL\n----------------------------------------\nAga\n    Assembly Version: 1.7.0.1\n    Win32 Version: 1.7.0.1\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Aga.DLL\n----------------------------------------\nASClassWizard\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/ASClassWizard.DLL\n----------------------------------------\nBasicCompletion\n    Assembly Version: 1.0.0.18867\n    Win32 Version: 1.0.0.18867\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/BasicCompletion.DLL\n----------------------------------------\nBookmarkPanel\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/BookmarkPanel.DLL\n----------------------------------------\nBridgeSettings\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/BridgeSettings.DLL\n----------------------------------------\nCodeAnalyzer\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/CodeAnalyzer.DLL\n----------------------------------------\nCodeFormatter\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/CodeFormatter.DLL\n----------------------------------------\nAntlr3\n    Assembly Version: 3.1.3.42154\n    Win32 Version: 3.1.3.42154\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Antlr3.DLL\n----------------------------------------\nCodeRefactor\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/CodeRefactor.DLL\n----------------------------------------\nCssCompletion\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/CssCompletion.DLL\n----------------------------------------\nCustomizeToolbar\n    Assembly Version: 1.0.2.0\n    Win32 Version: 1.0.2.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/CustomizeToolbar.DLL\n----------------------------------------\nDataEncoder\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/DataEncoder.DLL\n----------------------------------------\nExportProject\n    Assembly Version: 1.0.0.30925\n    Win32 Version: 1.0.0.30925\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/ExportProject.DLL\n----------------------------------------\nfdb.j4n\n    Assembly Version: 0.0.0.0\n    Win32 Version: 0.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/fdb.j4n.DLL\n----------------------------------------\njni4net.n-0.8.8.0\n    Assembly Version: 0.8.8.0\n    Win32 Version: 0.8.8.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/jni4net.n-0.8.8.0.DLL\n----------------------------------------\nFileExplorer\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/FileExplorer.DLL\n----------------------------------------\nFlashConnect\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/FlashConnect.DLL\n----------------------------------------\nFlashDebugger\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/FlashDebugger.DLL\n----------------------------------------\nFlashLogViewer\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/FlashLogViewer.DLL\n----------------------------------------\nFlashViewer\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/FlashViewer.DLL\n----------------------------------------\nHaXeContext\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/HaXeContext.DLL\n----------------------------------------\nHaxeUILayoutPreview\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/HaxeUILayoutPreview.DLL\n----------------------------------------\nHighlightSelection\n    Assembly Version: 1.0.0.32426\n    Win32 Version: 1.0.0.32426\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/HighlightSelection.DLL\n----------------------------------------\nInterfaceSuggest\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/InterfaceSuggest.DLL\n----------------------------------------\nInterfaciator\n    Assembly Version: 0.1.1.0\n    Win32 Version: 0.1.1.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/Interfaciator.DLL\n----------------------------------------\njni4net.n.w32.v20-0.8.8.0\n    Assembly Version: 0.8.8.0\n    Win32 Version: 0.8.8.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/jni4net.n.w32.v20-0.8.8.0.DLL\n----------------------------------------\nLayoutManager\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/LayoutManager.DLL\n----------------------------------------\nSystem.Design\n    Assembly Version: 2.0.0.0\n    Win32 Version: 2.0.50727.8670 (QFE.050727-8600)\n    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll\n----------------------------------------\nLoomContext\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/LoomContext.DLL\n----------------------------------------\nProjectManager\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/ProjectManager.DLL\n----------------------------------------\nMacroManager\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/MacroManager.DLL\n----------------------------------------\nNavigationBar\n    Assembly Version: 2.5.1.0\n    Win32 Version: 2.5.1.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/NavigationBar.DLL\n----------------------------------------\nOutputPanel\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/OutputPanel.DLL\n----------------------------------------\nPHPContext\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/PHPContext.DLL\n----------------------------------------\nPreviousEdit\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/PreviousEdit.DLL\n----------------------------------------\nSwfOp\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/SwfOp.DLL\n----------------------------------------\nSystem.Runtime.Remoting\n    Assembly Version: 2.0.0.0\n    Win32 Version: 2.0.50727.8670 (QFE.050727-8600)\n    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll\n----------------------------------------\nResultsPanel\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/ResultsPanel.DLL\n----------------------------------------\nSgmlReaderDll\n    Assembly Version: 1.8.2.26452\n    Win32 Version: 1.8.2.26452\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/SgmlReaderDll.DLL\n----------------------------------------\nSourceControl\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/SourceControl.DLL\n----------------------------------------\nStartPage\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/StartPage.DLL\n----------------------------------------\nSystem.Web\n    Assembly Version: 2.0.0.0\n    Win32 Version: 2.0.50727.8670 (QFE.050727-8600)\n    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll\n----------------------------------------\nTaskListPanel\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/apps/dev/haxe/flashdevelop/Plugins/TaskListPanel.DLL\n----------------------------------------\nSystem.Configuration\n    Assembly Version: 2.0.0.0\n    Win32 Version: 2.0.50727.8670 (QFE.050727-8600)\n    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll\n----------------------------------------\n9hh90i1o\n    Assembly Version: 1.0.0.0\n    Win32 Version: 2.0.50727.8690 (QFE.050727-8600)\n    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll\n----------------------------------------\nSystem.Drawing.Design\n    Assembly Version: 2.0.0.0\n    Win32 Version: 2.0.50727.8670 (QFE.050727-8600)\n    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing.Design/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll\n----------------------------------------\nAccessibility\n    Assembly Version: 2.0.0.0\n    Win32 Version: 2.0.50727.8670 (QFE.050727-8600)\n    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll\n```\n"},"comment":{"url":"https://api.github.com/repos/fdorg/flashdevelop/issues/comments/383383375","html_url":"https://github.com/fdorg/flashdevelop/issues/1243#issuecomment-383383375","issue_url":"https://api.github.com/repos/fdorg/flashdevelop/issues/1243","id":383383375,"user":{"login":"sebthom","id":426959,"avatar_url":"https://avatars1.githubusercontent.com/u/426959?v=4","gravatar_id":"","url":"https://api.github.com/users/sebthom","html_url":"https://github.com/sebthom","followers_url":"https://api.github.com/users/sebthom/followers","following_url":"https://api.github.com/users/sebthom/following{/other_user}","gists_url":"https://api.github.com/users/sebthom/gists{/gist_id}","starred_url":"https://api.github.com/users/sebthom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebthom/subscriptions","organizations_url":"https://api.github.com/users/sebthom/orgs","repos_url":"https://api.github.com/users/sebthom/repos","events_url":"https://api.github.com/users/sebthom/events{/privacy}","received_events_url":"https://api.github.com/users/sebthom/received_events","type":"User","site_admin":false},"created_at":"2018-04-22T13:55:24Z","updated_at":"2018-04-22T13:55:24Z","author_association":"NONE","body":"I am not seeing this issue in FD5.3 anymore."}}
{"actor":{"display_login":"sebthom"}}