Coder Social home page Coder Social logo

Comments (4)

 avatar commented on August 11, 2024

And another one (when manually forcing completion window with ctrl+space)

Error while executing command: Show Completion Window

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.
at MonoDevelop.HaxeBinding.Languages.Gui.HaxeTextEditorCompletion.FetchCompletionData(CodeCompletionContext completionContext)
at MonoDevelop.HaxeBinding.Languages.Gui.HaxeTextEditorCompletion.GetCompletionList(CodeCompletionContext completionContext)
at MonoDevelop.HaxeBinding.Languages.Gui.HaxeTextEditorCompletion.HandleCodeCompletion(CodeCompletionContext completionContext, Char completionChar)
at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.CodeCompletionCommand(CodeCompletionContext completionContext)
at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.RunCompletionCommand()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at MonoDevelop.Components.Commands.CommandHandlerInfo.Run(Object cmdTarget, Command cmd)
at MonoDevelop.Components.Commands.CommandManager.<>c__DisplayClassb.b__2()
at MonoDevelop.Components.Commands.CommandManager.DispatchCommand(Object commandId, Object dataItem, Object initialTarget, CommandSource source)

MonoDevelop 2.8.8.4, win 7 32bit

from md-haxebinding.

jgranick avatar jgranick commented on August 11, 2024

I can't reproduce this on my end. I do get the "Mono.Posix" issue on Windows when trying to access the project or Haxe settings, which both use GTK#... (strange that it can't resolve a path to that core library), however code completion works just fine for me

from md-haxebinding.

 avatar commented on August 11, 2024

Update: Tried on my macbook pro / snow leaopard

Installed freshly:

  • latest haxe
  • latest nme
  • latest mono / gtk#
  • latest monodevelop 2.8.8.4
  • installed haxe addon through addon form (not github)

No love for code completion, here the exception:

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
at MonoDevelop.Projects.CodeGeneration.CodeRefactorer.CompleteStatement (MonoDevelop.Projects.Dom.Parser.ProjectDom dom, System.String fileName, DomLocation caretLocation) [0x00007] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.CodeGeneration/CodeRefactorer.cs:315
at MonoDevelop.SourceEditor.ExtensibleTextEditor.OnCompleteStatement () [0x00015] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs:971
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0
at MonoDevelop.Components.Commands.CommandHandlerInfo.Run (System.Object cmdTarget, MonoDevelop.Components.Commands.Command cmd) [0x00029] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1864
at MonoDevelop.Components.Commands.CommandManager+c__AnonStorey42.<>m__57 () [0x0003d] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1004
at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (System.Object commandId, System.Object dataItem, System.Object initialTarget, CommandSource source) [0x0029e] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1021

from md-haxebinding.

jgranick avatar jgranick commented on August 11, 2024

I don't think there should be any issues now. I've successfully used the add-in for Windows, Mac and Linux without these issues.

The Mono.Posix error is the only remaining one, which occurs when you try to open Project > Properties or Edit > Preferences > Haxe

from md-haxebinding.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.