[IPP] Assertion failed when editing JSP

I keep getting this Error Message while I am editing a JSP.
It seems to happen when I cut and paste. (I know....if it hurts when I do
that then stop doing that!)
Once it happens, the Error Message Dialog keeps popping up every time I
close it until I (very quickly) take the focus away from the editor.
I can then put the focus back in the editor and resume editing the JSP with
no Error Message until the next time I cut and paste.

-


Error message: Assertion failed
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:9)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:1)
at
com.intellij.psi.util.TypeConversionUtil.isAssignable(TypeConversionUtil.jav
a:166)
at com.intellij.psi.PsiType.isAssignableFrom(PsiType.java:11)
at
com.siyeh.ipp.commutative.CommutativeMethodCallPredicate.satisfiedBy(Commuta
tiveMethodCallPredicate.java:70)
at com.siyeh.ipp.Intention.findMatchingElement(Intention.java:125)
at
com.siyeh.ipp.MutablyNamedIntention.isAvailable(MutablyNamedIntention.java:2
6)
at com.intellij.codeInsight.l.a.l.d(l.java:81)
at com.intellij.codeInsight.l.a.l.c(l.java:109)
at com.intellij.codeInsight.l.a.d$3.run(d$3.java:1)
at com.intellij.openapi.application.b.b$b_.run(b$b_.java:4)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.p.b(p.java:38)
at com.intellij.ide.p.a(p.java:146)
at com.intellij.ide.p.dispatchEvent(p.java:134)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

-



Thanks,

Tim


1 comment
Comment actions Permalink

I was wrong about the condition that causes it.
After a little trial and error, I found that I get the error message when I
place the cursor inside the following expression inside a JSP Scriptlet on
the page:
Boolean.valueOf(request.getParameter("minimumNetWorth"))
Moving the cursor outside the expression makes the message stop appearing.


"Tim Haley" <ymaraner@yahoo.com> wrote in message
news:c660ap$5t0$1@is.intellij.net...

I keep getting this Error Message while I am editing a JSP.
It seems to happen when I cut and paste. (I know....if it hurts when I do
that then stop doing that!)
Once it happens, the Error Message Dialog keeps popping up every time I
close it until I (very quickly) take the focus away from the editor.
I can then put the focus back in the editor and resume editing the JSP

with

no Error Message until the next time I cut and paste.

>

-------------------------------
Error message: Assertion failed
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:9)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:1)
at

>
com.intellij.psi.util.TypeConversionUtil.isAssignable(TypeConversionUtil.jav

a:166)
at com.intellij.psi.PsiType.isAssignableFrom(PsiType.java:11)
at

>
com.siyeh.ipp.commutative.CommutativeMethodCallPredicate.satisfiedBy(Commuta

tiveMethodCallPredicate.java:70)
at com.siyeh.ipp.Intention.findMatchingElement(Intention.java:125)
at

>
com.siyeh.ipp.MutablyNamedIntention.isAvailable(MutablyNamedIntention.java:2

6)
at com.intellij.codeInsight.l.a.l.d(l.java:81)
at com.intellij.codeInsight.l.a.l.c(l.java:109)
at com.intellij.codeInsight.l.a.d$3.run(d$3.java:1)
at com.intellij.openapi.application.b.b$b_.run(b$b_.java:4)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.p.b(p.java:38)
at com.intellij.ide.p.a(p.java:146)
at com.intellij.ide.p.dispatchEvent(p.java:134)
at

>
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja

va:201)
at

>
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java

:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

>

-------------------------------

>

Thanks,

>

Tim

>
>


0

Please sign in to leave a comment.