neueda / jetbrains-plugin-graph-database-support

Graph Databases support for JetBrains family IDEs.
Apache License 2.0
222 stars 56 forks source link

can not execute query at Intellij IDEA 2018.2 #86

Closed yasushiSap closed 5 years ago

yasushiSap commented 6 years ago

When queries on neo4j are executed, it ends with the exception below and results are not obtained.

java.lang.NullPointerException at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.renderes.tree.PropertyTreeCellRenderer.customizeCellRenderer(PropertyTreeCellRenderer.java:29) at com.intellij.ui.ColoredTreeCellRenderer.getTreeCellRendererComponent(ColoredTreeCellRenderer.java:108) ...

stacktrace.txt

It worked in version 2018.1. This also applies to opening "Graph Database Console". neo4j version is neo4j-community-3.4.0-unix.

I am sorry if it was misplaced.

yasushiSap commented 6 years ago

Very easy to use, useful plugin. I was very saved. However, when I upgraded intellij to 2018.2, it has stopped moving. Even if I reinstall it does not change the situation. It is a phenomenon that I can see directly that the console does not come up by exception even if I press the graph database consol button. pulugin version is 2.5.1, client os is windows 7, java version is 1.8.073.

rudolph-est commented 6 years ago

I have the same problem (stack trace is the same as @yasushiSap)

sheldon-wall commented 6 years ago

Just tried to use the plugin myself - (am on intellij 2018.2) - and also finding it is not usable due to java exceptions it is throwing as noted above

usuallycwdillon commented 6 years ago

I have the same issue. My stacktrace looks similar. I get an initial error message failed to init toolwindow if that helps any.

mr13tech commented 5 years ago

I have the same issue using CLion 2018.2.4 Build #CL-182.4505.18, built on September 17, 2018 JRE: 1.8.0_152-release-1248-b8 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.15.0-34-generic graphdb_stacktrace.txt

michaeljquinn commented 5 years ago

I am having the same issue - 218.2.4 - this used to work, please fix this

ShaneCullinane commented 5 years ago

I'm also experiencing this issue fwiw... :-)

devx commented 5 years ago

Running into the same issue, in 2018.02.

java.lang.NullPointerException
    at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.renderes.tree.PropertyTreeCellRenderer.customizeCellRenderer(PropertyTreeCellRenderer.java:29)
    at com.intellij.ui.ColoredTreeCellRenderer.getTreeCellRendererComponent(ColoredTreeCellRenderer.java:108)
    at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2807)
    at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492)
    at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1360)
    at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.getPreferredWidth(VariableHeightLayoutCache.java:1177)
    at javax.swing.tree.VariableHeightLayoutCache.getMaxNodeWidth(VariableHeightLayoutCache.java:1008)
    at javax.swing.tree.VariableHeightLayoutCache.getPreferredWidth(VariableHeightLayoutCache.java:309)
    at javax.swing.plaf.basic.BasicTreeUI.updateCachedPreferredSize(BasicTreeUI.java:1900)
    at javax.swing.plaf.basic.BasicTreeUI.getPreferredSize(BasicTreeUI.java:2003)
    at javax.swing.plaf.basic.BasicTreeUI.getPreferredSize(BasicTreeUI.java:1991)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1663)
    at com.intellij.ui.treeStructure.Tree.getPreferredSize(Tree.java:860)
    at com.intellij.ui.components.JBScrollPane$Layout.layoutContainer(JBScrollPane.java:426)
    at java.awt.Container.layout(Container.java:1511)
    at java.awt.Container.doLayout(Container.java:1500)
    at java.awt.Container.validateTree(Container.java:1696)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validateTree(Container.java:1705)
    at java.awt.Container.validate(Container.java:1631)
    at javax.swing.RepaintManager$3.run(RepaintManager.java:726)
    at javax.swing.RepaintManager$3.run(RepaintManager.java:724)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:723)
    at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1859)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
    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.awt.EventQueue.dispatchEvent(EventQueue.java:732)
    at com.intellij.ide.IdeEventQueue.l(IdeEventQueue.java:781)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:722)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
    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)
archenroot commented 5 years ago

I am on latest 2018.2.4 and same issue here.

GreYko commented 5 years ago

Thanks everyone for your patience, issue fixed in today's plugin release 2.5.2.

michaeljquinn commented 5 years ago

when will the version be pushed to Jetbrain's site, its currently still at 2.5.1 ?, or do i build locally?

michaeljquinn commented 5 years ago

its there now, thanks