gradle build
Note: build might take a while because it downloads Intellij Community Edition (300+MB, not sure exactly)
gradle runIde
Intellij plugin for AQL, ArangoDB language support
License: Apache License 2.0
gradle build
Note: build might take a while because it downloads Intellij Community Edition (300+MB, not sure exactly)
gradle runIde
I just installed the plugin and it crashed right away :- \
com.intellij.diagnostic.PluginException: Cannot load class com.arangodb.intellij.aql.intentions.AqlCreateRepositoryIntention (
error: com/intellij/codeInsight/intention/impl/CreateSubclassAction,
classLoader=PluginClassLoader(plugin=PluginDescriptor(name=AQL (ArangoDB Query Language), id=com.arangodb.intellij.aql, descriptorPath=plugin.xml, path=\AppData\Local\JetBrains\Toolbox\apps\Rider\ch-0\221.5787.36.plugins\aql, version=1.0.5-2019.2, package=null, isBundled=false), packagePrefix=null, instanceId=72, state=active)\AppData\Local\JetBrains\Toolbox\apps\Rider\ch-0\221.5787.36.plugins\aql, version=1.0.5-2019.2, package=null, isBundled=false), packagePrefix=null, instanceId=72, state=active)
)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:412)
at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.java:240)
at com.intellij.serviceContainer.ComponentManagerImplKt.doLoadClass(ComponentManagerImpl.kt:1469)
at com.intellij.serviceContainer.ComponentManagerImplKt.access$doLoadClass(ComponentManagerImpl.kt:1)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:901)
at com.intellij.serviceContainer.LazyExtensionInstance.createInstance(LazyExtensionInstance.java:55)
at com.intellij.serviceContainer.LazyExtensionInstance.getInstance(LazyExtensionInstance.java:44)
at com.intellij.serviceContainer.BaseKeyedLazyInstance.getInstance(BaseKeyedLazyInstance.java:38)
at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getDelegate(IntentionActionWrapper.java:95)
at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getFamilyName(IntentionActionWrapper.java:49)
at com.intellij.codeInsight.intention.impl.config.IntentionActionMetaData.getFamily(IntentionActionMetaData.java:42)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.registerMetaDataForEp(IntentionManagerSettings.kt:75)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.access$registerMetaDataForEp(IntentionManagerSettings.kt:26)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings$1.accept(IntentionManagerSettings.kt:50)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings$1.accept(IntentionManagerSettings.kt:26)
at com.intellij.openapi.extensions.impl.ExtensionProcessingHelper.forEachExtensionSafe(ExtensionProcessingHelper.java:34)
at com.intellij.openapi.extensions.ExtensionPointName.forEachExtensionSafe(ExtensionPointName.java:46)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.(IntentionManagerSettings.kt:50)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:47)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:891)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:51)
at com.intellij.serviceContainer.ServiceComponentAdapter.access$createAndInitialize(ServiceComponentAdapter.kt:12)
at com.intellij.serviceContainer.ServiceComponentAdapter$doCreateInstance$1.compute(ServiceComponentAdapter.kt:45)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeInNonCancelableSection(CoreProgressManager.java:238)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:44)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:119)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:73)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:66)
at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:610)
at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:584)
at com.intellij.openapi.client.ClientAwareComponentManager.getFromSelfOrCurrentSession(ClientAwareComponentManager.kt:37)
at com.intellij.openapi.client.ClientAwareComponentManager.getService(ClientAwareComponentManager.kt:22)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings$Companion.getInstance(IntentionManagerSettings.kt:199)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.getInstance(IntentionManagerSettings.kt)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.getAvailableIntentions(IntentionManagerImpl.java:204)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:333)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:242)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:57)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:419)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1152)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:412)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:411)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:387)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:174)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:213)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:385)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:184)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: java.lang.NoClassDefFoundError: com/intellij/codeInsight/intention/impl/CreateSubclassAction
at java.base/java.lang.ClassLoader.defineClass2(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1109)
at com.intellij.util.lang.UrlClassLoader.consumeClassData(UrlClassLoader.java:263)
at com.intellij.util.lang.ZipResourceFile.findClass(ZipResourceFile.java:111)
at com.intellij.util.lang.JarLoader.findClass(JarLoader.java:63)
at com.intellij.util.lang.ClassPath.findClassInLoader(ClassPath.java:246)
at com.intellij.util.lang.ClassPath.findClass(ClassPath.java:179)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:404)
... 62 more
Caused by: java.lang.ClassNotFoundException: com.intellij.codeInsight.intention.impl.CreateSubclassAction PluginClassLoader(plugin=PluginDescriptor(name=AQL (ArangoDB Query Language), id=com.arangodb.intellij.aql, descriptorPath=plugin.xml, path=
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:215)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 70 more
I have a query that produces an error and I wanted to execute it with the plugin. The query does not execute. Nothing happens. Then I found out that the database was not connected correctly, but it still does not execute or tries to execute anything. the code looks a bit like this:
String query = "FOR u IN " + myCollectionName(User.class) + "\n RETURN u"
java.lang.AssertionError: ID with name 'filetypes' requested for plugin com.arangodb.intellij.aql but registered for IDEA Core plugin. Please use an instance field to access corresponding ID.
at com.intellij.util.indexing.ID.findByName(ID.java:92)
at com.intellij.util.indexing.ID.create(ID.java:66)
at com.arangodb.intellij.aql.util.AqlUtils.findNamedElements(AqlUtils.java:161)
at com.arangodb.intellij.aql.lang.AqlChooseByNameContributor.getNames(AqlChooseByNameContributor.java:22)
at com.intellij.ide.util.gotoByName.ContributorsBasedGotoByModel.processContributorNames(ContributorsBasedGotoByModel.java:135)
at com.intellij.ide.util.gotoByName.ContributorsBasedGotoByModel$1.processInReadAction(ContributorsBasedGotoByModel.java:86)
at com.intellij.ide.util.gotoByName.ContributorsBasedGotoByModel$1.processInReadAction(ContributorsBasedGotoByModel.java:80)
at com.intellij.openapi.application.ReadActionProcessor.lambda$process$0(ReadActionProcessor.java:11)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:865)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61)
at com.intellij.openapi.application.ReadActionProcessor.process(ReadActionProcessor.java:11)
at com.intellij.concurrency.JobLauncherImpl.lambda$invokeConcurrentlyUnderProgress$0(JobLauncherImpl.java:52)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:818)
at com.intellij.concurrency.JobLauncherImpl.lambda$invokeConcurrentlyUnderProgress$1(JobLauncherImpl.java:52)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:136)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1084)
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:92)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:624)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:698)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:646)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:623)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66)
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:104)
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:86)
at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: java.lang.Throwable
at com.intellij.util.indexing.ID.(ID.java:52)
at com.intellij.util.indexing.ID.create(ID.java:67)
at com.intellij.psi.search.FileTypeIndex.(FileTypeIndex.java:32)
at com.intellij.psi.search.FileTypeIndexImpl.getName(FileTypeIndexImpl.java:21)
at com.intellij.util.indexing.FileBasedIndexDataInitialization.initAssociatedDataForExtensions(FileBasedIndexDataInitialization.java:72)
at com.intellij.util.indexing.FileBasedIndexDataInitialization.prepareTasks(FileBasedIndexDataInitialization.java:111)
at com.intellij.util.indexing.IndexDataInitializer.call(IndexDataInitializer.kt:20)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:246)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:32)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:225)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:213)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:214)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:829)
Hi,
I've installed the plugin for PyCharm and it works nicely on AQL queries. The problem is that with the plugin turned on, PyCharm's context menu simply doesn't come up. (I'm referring to the one accessible with Alt+Enter
or Option+Enter
). This interferes with the rest of my work so I had to disable the plugin.
PyCharm: Community 2019.3.2
Plugin version: 1.0.5
OS: MacOS Mojave (10.14)
i can't connect with https://db.mysite.com with 443 port
Consider the following query, which executes without any issues on arangodb:
FOR record IN records
FILTER HAS(record.haystack, @needle)
RETURN record
It results in the following syntax error with the plugin where the comma appears right after record.haystack
:
'(', ')', ',', '.' or '[' expected, got ','
Interesting note: the error doesn't make sense because it states expected comma but instead got comma ๐
If I use a bind parameter as a first argument instead I get a slightly different error message where the comma appears. The same error will appear regardless of whether the following arguments are bound or not.
'(', ')' or ',' expected, got ','
If I replace @needle
with a double quoted string, the syntax error goes away.
I tried it with a bunch of different functions and it yielded the same result.
IDE: IntelliJ IDEA 2021.1.1
Plugin: 1.0.6-2020.3.2
ArangoDB: 3.7.11
It would be very nice if one could trigger a parameter hint as you can do with java functions. Under windows it is Ctrl+P
Plugin crashes a couple of times per day, but keep working. Collection explore doesn't work, but I'm not sure that implemented.
plugin version
1.0.5-2019.2
stacktrace
com.intellij.diagnostic.PluginException: While loading class com.arangodb.intellij.aql.intentions.AqlCreateRepositoryIntention: com/intellij/codeInsight/intention/impl/CreateSubclassAction [Plugin: com.arangodb.intellij.aql] [Plugin: com.arangodb.intellij.aql]
at com.intellij.serviceContainer.PlatformComponentManagerImpl.instantiateExtensionWithPicoContainerOnlyIfNeeded(PlatformComponentManagerImpl.kt:522)
at com.intellij.serviceContainer.BaseKeyedLazyInstance.createInstance(BaseKeyedLazyInstance.java:57)
at com.intellij.openapi.extensions.CustomLoadingExtensionPointBean.createInstance(CustomLoadingExtensionPointBean.java:31)
at com.intellij.serviceContainer.BaseKeyedLazyInstance.getInstance(BaseKeyedLazyInstance.java:49)
at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getDelegate(IntentionActionWrapper.java:84)
at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getFamilyName(IntentionActionWrapper.java:48)
at com.intellij.codeInsight.intention.impl.config.IntentionActionMetaData.getFamily(IntentionActionMetaData.java:43)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.registerMetaData(IntentionManagerSettings.java:169)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.registerMetaDataForEP(IntentionManagerSettings.java:85)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.access$000(IntentionManagerSettings.java:34)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings$1.extensionAdded(IntentionManagerSettings.java:56)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings$1.extensionAdded(IntentionManagerSettings.java:53)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.notifyListenersAboutLoadedExtensions(ExtensionPointImpl.java:759)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.addExtensionPointListener(ExtensionPointImpl.java:666)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.<init>(IntentionManagerSettings.java:53)
at jdk.internal.reflect.GeneratedConstructorAccessor280.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:44)
at com.intellij.serviceContainer.PlatformComponentManagerImpl.instantiateClassWithConstructorInjection(PlatformComponentManagerImpl.kt:505)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:52)
at com.intellij.serviceContainer.ServiceComponentAdapter.access$createAndInitialize(ServiceComponentAdapter.kt:15)
at com.intellij.serviceContainer.ServiceComponentAdapter$doCreateInstance$$inlined$use$lambda$1.run(ServiceComponentAdapter.kt:44)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:585)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:531)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:191)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:43)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:110)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:72)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:65)
at com.intellij.serviceContainer.PlatformComponentManagerImpl.getService(PlatformComponentManagerImpl.kt:288)
at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:18)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.getInstance(IntentionManagerSettings.java:93)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.getAvailableIntentionActions(IntentionManagerImpl.java:203)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:304)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:220)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:55)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:429)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:997)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:422)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:585)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:531)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:421)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:397)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:167)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:157)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:395)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:161)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
Caused by: com.intellij.diagnostic.PluginException: While loading class com.arangodb.intellij.aql.intentions.AqlCreateRepositoryIntention: com/intellij/codeInsight/intention/impl/CreateSubclassAction [Plugin: com.arangodb.intellij.aql]
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:223)
at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.java:167)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:75)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:398)
at com.intellij.serviceContainer.PlatformComponentManagerImpl.instantiateExtensionWithPicoContainerOnlyIfNeeded(PlatformComponentManagerImpl.kt:519)
... 54 more
Caused by: java.lang.NoClassDefFoundError: com/intellij/codeInsight/intention/impl/CreateSubclassAction
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:877)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:359)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:355)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:319)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:220)
... 60 more
Caused by: java.lang.ClassNotFoundException: com.intellij.codeInsight.intention.impl.CreateSubclassAction PluginClassLoader[com.arangodb.intellij.aql, 1.0.5-2019.2] com.intellij.ide.plugins.cl.PluginClassLoader@396f1de6
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:77)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 67 more
PyCharm version
PyCharm 2019.3.1 (Professional Edition)
Build #PY-193.5662.61, built on December 19, 2019
Runtime version: 11.0.5+10-b520.17 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.4.0-171-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1929M
Cores: 8
Registry: documentation.show.toolbar=true, debugger.watches.in.variables=false
Non-Bundled Plugins: PlantUML integration, R4Intellij, YAML/Ansible support, com.arangodb.intellij.aql, com.pablogsal.black, com.perl5, com.thvardhan.gradianto, com.upsolver.PreCommitHook, io.github.qeesung.component.HighlightBracketPair, ru.meanmail.plugin.requirements
e.g. system collections should be put as last on the list
This plugin is not available in the marketplace for the latest version of IntelliJ IDEA. According to the Jetbrains website it's only available for IntelliJ IDEA up to 2018.3.6
https://plugins.jetbrains.com/plugin/11397-aql-arangodb-query-language-/versions
I installed the plugin. Now what?
Nothing in Drivers, nothing Data Sources. Not under Data Source from URL. Nothing in README. No info on plugin page. No button in plug-ins overview in Datagrip.
Really clue-less how to use it.
It is probably an environment issue, but when I build the project I get the following error:
* What went wrong:
A problem occurred evaluating settings 'aql-intellij-plugin'.
> Could not find method jcenter() for arguments [] on object of type org.gradle.plugin.repository.internal.DefaultPluginRepositoriesSpec.
Do you have any Idea how to fix this?
apparently you need to add maven { url 'https://jcenter.bintray.com' }
this to the repos, but it didn't work..
The currently released plugin will not work in that release.
It shows a message in ArangoDB console: 'No database set for ArangoDB data source'
com.intellij.openapi.util.TraceableDisposable.ObjectNotDisposedException: See stack trace responsible for creation of unreleased object below at com.intellij.openapi.editor.impl.EditorImpl.<init>(EditorImpl.java:149) at com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:205) at com.intellij.openapi.editor.impl.EditorFactoryImpl.createViewer(EditorFactoryImpl.java:175) at com.intellij.execution.impl.ConsoleViewUtil.setupConsoleEditor(ConsoleViewUtil.java:63) at com.intellij.execution.impl.ConsoleViewImpl.doCreateConsoleEditor(ConsoleViewImpl.java:940) at com.intellij.execution.impl.ConsoleViewImpl.lambda$createConsoleEditor$12(ConsoleViewImpl.java:917) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:973) at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:57) at com.intellij.execution.impl.ConsoleViewImpl.createConsoleEditor(ConsoleViewImpl.java:916) at com.intellij.execution.impl.ConsoleViewImpl.initConsoleEditor(ConsoleViewImpl.java:433) at com.intellij.execution.impl.ConsoleViewImpl.getComponent(ConsoleViewImpl.java:412) at com.arangodb.intellij.aql.ui.panels.JsonPanel.<init>(JsonPanel.java:27) at com.arangodb.intellij.aql.ui.windows.AqlConsoleWindow.<init>(AqlConsoleWindow.java:52) at com.arangodb.intellij.aql.ui.ConsoleWindowFactory.createToolWindowContent(ConsoleWindowFactory.java:16) at com.intellij.openapi.wm.impl.ToolWindowImpl.ensureContentInitialized(ToolWindowImpl.java:526) at com.intellij.openapi.wm.impl.ToolWindowImpl.getContentManager(ToolWindowImpl.java:354) at com.intellij.openapi.wm.impl.commands.RequestFocusInToolWindowCmd.processRequestFocus(RequestFocusInToolWindowCmd.java:50) at com.intellij.openapi.wm.impl.commands.RequestFocusInToolWindowCmd.run(RequestFocusInToolWindowCmd.java:42) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.ToolWindowsPane$AddDockedComponentCmd.run(ToolWindowsPane.java:735) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.ToolWindowsPane$RemoveDockedComponentCmd.run(ToolWindowsPane.java:1035) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.commands.FinalizableCommand.finish(FinalizableCommand.java:36) at com.intellij.openapi.wm.impl.commands.ApplyWindowInfoCmd.run(ApplyWindowInfoCmd.java:50) at com.intellij.openapi.wm.impl.CommandProcessor.runNext(CommandProcessor.java:78) at com.intellij.openapi.wm.impl.CommandProcessor.run(CommandProcessor.java:59) at com.intellij.openapi.wm.impl.CommandProcessor.execute(CommandProcessor.java:50) at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.execute(ToolWindowManagerImpl.java:596) at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.execute(ToolWindowManagerImpl.java:576) at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activateToolWindow(ToolWindowManagerImpl.java:667) at com.intellij.openapi.wm.impl.ToolWindowManagerImpl$MyInternalDecoratorListener.activated(ToolWindowManagerImpl.java:2222) at sun.reflect.GeneratedMethodAccessor2015.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.util.EventDispatcher.dispatchVoidMethod(EventDispatcher.java:133) at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:25) at com.intellij.util.EventDispatcher$3.invoke(EventDispatcher.java:96) at com.intellij.openapi.wm.impl.$Proxy106.activated(Unknown Source) at com.intellij.openapi.wm.impl.InternalDecorator.fireActivated(InternalDecorator.java:239) at com.intellij.openapi.wm.impl.StripeButton.actionPerformed(StripeButton.java:287) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:308) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6548) at javax.swing.JComponent.processMouseEvent(JComponent.java:3325) at com.intellij.openapi.wm.impl.StripeButton.processMouseEvent(StripeButton.java:278) at java.awt.Component.processEvent(Component.java:6313) at java.awt.Container.processEvent(Container.java:2237) at java.awt.Component.dispatchEventImpl(Component.java:4903) at java.awt.Container.dispatchEventImpl(Container.java:2295) at java.awt.Component.dispatchEvent(Component.java:4725) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467) at java.awt.Container.dispatchEventImpl(Container.java:2281) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4725) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764) at java.awt.EventQueue.access$500(EventQueue.java:98) at java.awt.EventQueue$3.run(EventQueue.java:715) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:737) at java.awt.EventQueue$4.run(EventQueue.java:735) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:734) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:719) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:664) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Refresh schema reads "Add Server"
com.intellij.diagnostic.PluginException: Cannot load class com.arangodb.intellij.aql.intentions.AqlCreateRepositoryIntention (
error: com/intellij/codeInsight/intention/impl/CreateSubclassAction,
classLoader=PluginClassLoader(plugin=PluginDescriptor(name=AQL (ArangoDB Query Language), id=com.arangodb.intellij.aql, descriptorPath=plugin.xml, path=~/.local/share/JetBrains/Toolbox/apps/WebStorm/ch-0/221.5080.193.plugins/aql, version=1.0.5-2019.2, package=null, isBundled=false), packagePrefix=null, instanceId=69, state=active)
)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:412)
at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.java:240)
at com.intellij.serviceContainer.ComponentManagerImplKt.doLoadClass(ComponentManagerImpl.kt:1469)
at com.intellij.serviceContainer.ComponentManagerImplKt.access$doLoadClass(ComponentManagerImpl.kt:1)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:901)
at com.intellij.serviceContainer.LazyExtensionInstance.createInstance(LazyExtensionInstance.java:55)
at com.intellij.serviceContainer.LazyExtensionInstance.getInstance(LazyExtensionInstance.java:44)
at com.intellij.serviceContainer.BaseKeyedLazyInstance.getInstance(BaseKeyedLazyInstance.java:38)
at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getDelegate(IntentionActionWrapper.java:95)
at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getFamilyName(IntentionActionWrapper.java:49)
at com.intellij.codeInsight.intention.impl.config.IntentionActionMetaData.getFamily(IntentionActionMetaData.java:42)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.registerMetaDataForEp(IntentionManagerSettings.kt:75)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.access$registerMetaDataForEp(IntentionManagerSettings.kt:26)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings$1.accept(IntentionManagerSettings.kt:50)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings$1.accept(IntentionManagerSettings.kt:26)
at com.intellij.openapi.extensions.impl.ExtensionProcessingHelper.forEachExtensionSafe(ExtensionProcessingHelper.java:34)
at com.intellij.openapi.extensions.ExtensionPointName.forEachExtensionSafe(ExtensionPointName.java:46)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.<init>(IntentionManagerSettings.kt:50)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:47)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:891)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:51)
at com.intellij.serviceContainer.ServiceComponentAdapter.access$createAndInitialize(ServiceComponentAdapter.kt:12)
at com.intellij.serviceContainer.ServiceComponentAdapter$doCreateInstance$1.compute(ServiceComponentAdapter.kt:45)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeInNonCancelableSection(CoreProgressManager.java:238)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:44)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:119)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:73)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:66)
at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:610)
at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:584)
at com.intellij.openapi.client.ClientAwareComponentManager.getFromSelfOrCurrentSession(ClientAwareComponentManager.kt:37)
at com.intellij.openapi.client.ClientAwareComponentManager.getService(ClientAwareComponentManager.kt:22)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings$Companion.getInstance(IntentionManagerSettings.kt:199)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.getInstance(IntentionManagerSettings.kt)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.getAvailableIntentions(IntentionManagerImpl.java:204)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:333)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:242)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:419)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1152)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:412)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:411)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:387)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:174)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:213)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:385)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:184)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: java.lang.NoClassDefFoundError: com/intellij/codeInsight/intention/impl/CreateSubclassAction
at java.base/java.lang.ClassLoader.defineClass2(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1109)
at com.intellij.util.lang.UrlClassLoader.consumeClassData(UrlClassLoader.java:263)
at com.intellij.util.lang.ZipResourceFile.findClass(ZipResourceFile.java:111)
at com.intellij.util.lang.JarLoader.findClass(JarLoader.java:63)
at com.intellij.util.lang.ClassPath.findClassInLoader(ClassPath.java:246)
at com.intellij.util.lang.ClassPath.findClass(ClassPath.java:179)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:404)
... 62 more
Caused by: java.lang.ClassNotFoundException: com.intellij.codeInsight.intention.impl.CreateSubclassAction PluginClassLoader(plugin=PluginDescriptor(name=AQL (ArangoDB Query Language), id=com.arangodb.intellij.aql, descriptorPath=plugin.xml, path=~/.local/share/JetBrains/Toolbox/apps/WebStorm/ch-0/221.5080.193.plugins/aql, version=1.0.5-2019.2, package=null, isBundled=false), packagePrefix=null, instanceId=69, state=active)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:215)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 70 more
When AQL is enabled, the context menu does not show up in any place regardless of weather it is called up through the keystroke or the right click Show Context Actions
.
GoLand 2020.3.4
Build #GO-203.7717.58, built on March 15, 2021
AQL: 1.0.5-2019.2
IDEA version: 2021.2
java.lang.AssertionError: ID with name 'filetypes' requested for plugin com.arangodb.intellij.aql but registered for IDEA Core plugin. Please use an instance field to access corresponding ID.
at com.intellij.util.indexing.ID.findByName(ID.java:93)
at com.intellij.util.indexing.ID.create(ID.java:67)
at com.arangodb.intellij.aql.util.AqlUtils.findNamedElements(AqlUtils.java:161)
at com.arangodb.intellij.aql.lang.AqlChooseByNameContributor.getNames(AqlChooseByNameContributor.java:22)
at com.intellij.ide.util.gotoByName.ContributorsBasedGotoByModel.processContributorNames(ContributorsBasedGotoByModel.java:134)
at com.intellij.ide.util.gotoByName.ContributorsBasedGotoByModel$1.processInReadAction(ContributorsBasedGotoByModel.java:85)
at com.intellij.ide.util.gotoByName.ContributorsBasedGotoByModel$1.processInReadAction(ContributorsBasedGotoByModel.java:79)
at com.intellij.openapi.application.ReadActionProcessor.lambda$process$0(ReadActionProcessor.java:11)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:854)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61)
at com.intellij.openapi.application.ReadActionProcessor.process(ReadActionProcessor.java:11)
at com.intellij.concurrency.JobLauncherImpl.lambda$invokeConcurrentlyUnderProgress$0(JobLauncherImpl.java:50)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
at com.intellij.concurrency.JobLauncherImpl.lambda$invokeConcurrentlyUnderProgress$1(JobLauncherImpl.java:50)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:136)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1078)
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:92)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:104)
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:86)
at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: java.lang.Throwable
at com.intellij.util.indexing.ID.<init>(ID.java:53)
at com.intellij.util.indexing.ID.create(ID.java:68)
at com.intellij.psi.search.FileTypeIndex.<clinit>(FileTypeIndex.java:32)
at com.intellij.psi.search.FileTypeIndexImpl.getName(FileTypeIndexImpl.java:21)
at com.intellij.util.indexing.FileBasedIndexDataInitialization.initAssociatedDataForExtensions(FileBasedIndexDataInitialization.java:72)
at com.intellij.util.indexing.FileBasedIndexDataInitialization.prepareTasks(FileBasedIndexDataInitialization.java:111)
at com.intellij.util.indexing.IndexDataInitializer.call(IndexDataInitializer.kt:20)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:216)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:27)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:195)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:213)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:184)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:829)
I have this piece of code in Kotlin which runs without any issues, but it's shown as having an error:
@Language("AQL")
const val getExplore = """
LET newStories = (
FOR story IN stories
SORT story.createdAt DESC
LIMIT 20
)
RETURN {
sections: [
{
name: "New",
stories: newStories
}
]
}
"""
The error disappears if I remove the double quotes in name: New,
Since aql querys sometimes get very long, you need to add linebreaks to get a proper output when reading them in the query editor that comes with anrangodb. I sometimes forget to add the \n. It would be very nice to handle \n or any other escaped character with a special highlightig.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.