JavaScript Intention PowerPack exceptions

Hi.

Is anyone looking at the JavaScript Interntion PowerPack exceptions that
I (and probably others) are submitting?

For example:
No message
java.lang.NullPointerException
at
org.intellij.idea.lang.javascript.intention.psiutils.ParenthesesUtils.getBinaryOperatorPrecendence(ParenthesesUtils.java:144)
at
org.intellij.idea.lang.javascript.intention.psiutils.ParenthesesUtils.getPrecendence(ParenthesesUtils.java:132)
at
org.intellij.idea.lang.javascript.intention.constant.ConstantSubexpressionIntention.getSubexpression(ConstantSubexpressionIntention.java:116)
at
org.intellij.idea.lang.javascript.intention.constant.ConstantSubexpressionIntention.access$100(ConstantSubexpressionIntention.java:36)
at
org.intellij.idea.lang.javascript.intention.constant.ConstantSubexpressionIntention$ConstantSubexpressionPredicate.satisfiedBy(ConstantSubexpressionIntention.java:164)
at
org.intellij.idea.lang.javascript.intention.JSIntention.findMatchingElement(JSIntention.java:212)
at
org.intellij.idea.lang.javascript.intention.JSMutablyNamedIntention.isAvailable(JSMutablyNamedIntention.java:33)
at
com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.a(ShowIntentionsPass.java:23)
at
com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doApplyInformationToEditor(ShowIntentionsPass.java:59)
at
com.intellij.codeInsight.daemon.impl.TextEditorHighlightingPass.applyInformationToEditor(TextEditorHighlightingPass.java:9)
at
com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl$7$1.run(DaemonCodeAnalyzerImpl.java:0)
at
com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:20)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:11)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:132)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:167)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


Thanks,
Amnon

1 comment

I tried to look at it, since I am the one who wrote the plugin.

But as I said on JIRA (where this bug stack trace has been registered), I going to need the JavaScript bunch of code, which triggered this error, because I could not find out what went wrong using the only stack frame.

0

Please sign in to leave a comment.