Open ofry opened 5 years ago
Hi @ofry , could you provide any additional data on how to reproduce this issue? Any data might be helpful. When the issue appears, maybe action sequence or queries if exception occurred during request execution?
Thank you in advance for cooperation.
Hello. It can be just after IDE startup, but it's rarely.
Given:
IntelliJ IDEA 2018.3.2 (Ultimate Edition)
Build #IU-183.4886.37, built on December 17, 2018
JRE: 1.8.0_152-release-1343-b26 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.2
Graph Database Support v2.5.5
I could reproduce this issue, following these steps:
java.lang.IllegalStateException: TextAttributeKey(name:'SIMPLE_BAD_CHARACTER', defaultAttributes:'null') was already registered with the other defaultAttributes: [java.awt.Color[r=255,g=100,b=100],null,1,null,null,null]
at com.intellij.openapi.editor.colors.TextAttributesKey.mergeKeys(TextAttributesKey.java:220)
at com.intellij.openapi.editor.colors.TextAttributesKey.lambda$getOrCreate$4(TextAttributesKey.java:200)
at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1877)
at com.intellij.openapi.editor.colors.TextAttributesKey.getOrCreate(TextAttributesKey.java:200)
at com.intellij.openapi.editor.colors.TextAttributesKey.createTextAttributesKey(TextAttributesKey.java:187)
at com.neueda.jetbrains.plugin.graphdb.language.cypher.highlight.CypherSyntaxColors.<clinit>(CypherSyntaxColors.java:56)
at com.neueda.jetbrains.plugin.graphdb.language.cypher.settings.CypherColorSettingsPage.<clinit>(CypherColorSettingsPage.java:23)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:85)
...
Still not solved...
Most likely current issue happens due to specific combination of installed plugins.
IntelliJ IDEA 2018.3 (Ultimate Edition) Build #IU-183.4284.148, built on November 21, 2018
JRE: 1.8.0_152-release-1343-b15 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Kubuntu 18.10 x64
Graph Database Support v2.5.2