neueda / jetbrains-plugin-graph-database-support

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

plugin started throwing IDE Fatal Error #61

Closed dominicjesse closed 6 years ago

dominicjesse commented 7 years ago

I was just executing the same query as always, and suddenly it threw a IDE Fatal Error.

The box said "Exception in plugin Graph Database support." It won't let me report it to JetBrains, but directed me to Neueda.

The error message is "null," so all I have is the below Java error.

Running plugin in WebStorm on Ubuntu 16 machine.

If it matters, here's the query I was running, which works fine from Neo4J Browser.

MATCH (n{uuid:'38ac1cd0-6a49-11e7-92e2-71ae4e208e18'}) MATCH (n)<-[dr:JOVIAN_HAS_INSTANCE]-(def)-[:JOVIAN_FOLLOWS_DEFINITION]->()-[]-(defProp:jovianProperties) MATCH (n)-[rr]-(rev:jovianSystem{uuid:'38ac1cd1-6a49-11e7-92e2-71ae4e208e18'})<-[:JOVIAN_HAS_INSTANCE]-(revDefinition) OPTIONAL MATCH (def)-[dar:JOVIAN_HAS_ATTRIBUTE]->(defAttribs)<-[:JOVIAN_HAS_INSTANCE]-(attDefinition) OPTIONAL MATCH (defAttribs)-[:JOVIAN_FOLLOWS_DEFINITION]->()-[]-(defAttProp:jovianProperties) OPTIONAL MATCH (rev)-[]->(fromNodes) OPTIONAL MATCH (rev)-[]->(otherRev:jovianSystem)-[]-(otherFromNodes) OPTIONAL MATCH (rev)<-[]-(otherRev:jovianSystem)-[]-(otherToNodes) WHERE rev.uuid <> otherRev.uuid AND NOT fromNodes:jovianAttribute AND n.isDeleted = false AND def.isDeleted = false AND rev.isDeleted = false AND fromNodes.type IN [fromNodes.type] AND otherFromNodes.type IN [otherFromNodes.type] AND otherToNodes.type IN [otherToNodes.type] WITH n, def, rev, defProp, fromNodes, otherFromNodes, otherToNodes, revDefinition , attDefinition, {node: PROPERTIES(defAttribs), properties: COLLECT(DISTINCT PROPERTIES(defAttProp)) } AS defAttribData WITH n, def, rev, {defProps: COLLECT(DISTINCT PROPERTIES(defPr

Below is the trace:

null java.lang.NullPointerException at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.objectToTreeNode(UiHelper.java:113) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.keyValueToTreeNode(UiHelper.java:58) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.lambda$mapToTreeNode$0(UiHelper.java:138) at java.util.HashMap.forEach(HashMap.java:1288) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.mapToTreeNode(UiHelper.java:138) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.keyValueToTreeNode(UiHelper.java:47) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.listToTreeNode(UiHelper.java:125) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.keyValueToTreeNode(UiHelper.java:44) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.lambda$mapToTreeNode$0(UiHelper.java:138) at java.util.HashMap.forEach(HashMap.java:1288) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.mapToTreeNode(UiHelper.java:138) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.keyValueToTreeNode(UiHelper.java:47) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.listToTreeNode(UiHelper.java:125) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.keyValueToTreeNode(UiHelper.java:44) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.lambda$mapToTreeNode$0(UiHelper.java:138) at java.util.HashMap.forEach(HashMap.java:1288) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.mapToTreeNode(UiHelper.java:138) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.helpers.UiHelper.keyValueToTreeNode(UiHelper.java:47) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.console.table.ValueConverter.convert(ValueConverter.java:28) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.console.table.TablePanel$1.lambda$null$1(TablePanel.java:64) at java.util.ArrayList.forEach(ArrayList.java:1249) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.console.table.TablePanel$1.lambda$resultReceived$2(TablePanel.java:63) at java.util.ArrayList.forEach(ArrayList.java:1249) at com.neueda.jetbrains.plugin.graphdb.jetbrains.ui.console.table.TablePanel$1.resultReceived(TablePanel.java:60) at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:117) at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:437) at com.intellij.util.messages.impl.MessageBusImpl.pumpWaitingBuses(MessageBusImpl.java:398) at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:387) at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:380) at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:373) at com.intellij.util.messages.impl.MessageBusImpl.access$200(MessageBusImpl.java:44) at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:230) at com.sun.proxy.$Proxy95.resultReceived(Unknown Source) at com.neueda.jetbrains.plugin.graphdb.jetbrains.database.QueryExecutionService.lambda$null$0(QueryExecutionService.java:80) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:303) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:410) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:399) 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.k(IdeEventQueue.java:827) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:655) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365) 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)