Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE in when analyzing text in Grazie in IntelliJ 2022.3 #1204

Closed
sentry-io bot opened this issue Oct 23, 2022 · 1 comment
Closed

NPE in when analyzing text in Grazie in IntelliJ 2022.3 #1204

sentry-io bot opened this issue Oct 23, 2022 · 1 comment
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Oct 23, 2022

Sentry Issue: ASCIIDOC-INTELLIJ-PLUGIN-1T3

NullPointerException: Cannot invoke "com.intellij.lang.ASTNode.getElementType()" because the return value of "com.intellij.psi.PsiElement.getNode()" is null
    at org.asciidoc.intellij.grazie.AsciiDocLanguageSupport.lambda$isMyContextRoot$2(AsciiDocLanguageSupport.java:266)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:158)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:39)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:231)
    at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:41)
...
(43 additional frame(s) were not displayed)

NullPointerException: None
    at jdk.internal.reflect.GeneratedConstructorAccessor229.newInstance
    at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:564)
...
(30 additional frame(s) were not displayed)
@ahus1
Copy link
Contributor

ahus1 commented Oct 23, 2022

Fixed in upcoming release.

@ahus1 ahus1 closed this as completed Oct 23, 2022
@ahus1 ahus1 changed the title NPE in when analyzing text in Grazie NPE in when analyzing text in Grazie in IntelliJ 2022.3 Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant