Open lukasz1234567890 opened 6 years ago
Sorry to leave this so long without responding. This exception "can't happen". I indicates that the plugin was unable to read one of the XQuery files that are part of the debugger. These files are bundled into the jar file and should always be present. Are you using a copy of the plugin that you built yourself? Installing the plugin from the JetBrains repository (from within IntelliJ itself) works fine. It is possible to build the plugin from source but it's much preferable to install from inside IntelliJ. I'm closing this issue.
If this exception can't happen, why do i get this exception then? I did not change anything of the plugin. I selected it on the IntelliJ market, installed it, tried to run the debugger and boom...
Hey Ron, I just started using this plugin and I'm having the exact same issue. I downloaded the plugin from the marketplace and I'm using IntelliJ Community 2019.1. Any ideas?
I will look into it, but am extremely busy with my day job at the moment so it may be a while before I can get to it. Since the plugin was released, IntelliJ has had several more releases and each release seems to break compatibility in one way or another. There are some significant changes that have prevented me from building against the latest release of IntelliJ but until now the plugin has kept working. This bug is a bit odd because the NPE is happening on loading a file that's bundled into the plugin jar.
I do have a few fixes that I've already made that need to be built and pushed out, along with a few other bits that still need doing. There are also a handful of syntax fixes that need doing, but that requires cracking open the parser definitions which I've so far managed to avoid doing. I'm hopeful that will happen reasonably soon.
Thanks for the response. Is there a specific version of IntelliJ that I should try?
You'd have to go quite a way back. The earliest version that the plugin will accept is 173.3727.127, but that's pretty old now. I don't know what public version number that maps to, but you may not be able to find it anyway. You probably don't want to give up the newer features. I will do my best to get a new release out as soon as I can.
Sounds good. We've started using MarkLogic and this plugin looks like a great tool to help us with our XQuery development and troubleshooting.
In version 1.1 of the plugin, I added a few checks to avoid a null pointer exception. It is still inexplicable that the NPE occurred in the first place. I would be interested to know if you still experience this problem with 1.1. If so, any details about your runtime environment would be appreciated.
Configured the plugin and MarkLogic to run queries however debugger throws exception: