I was adding an exception to a method signature when by accident I chose that I want
to add the exception to the whole method hierarchy but the file was is in the jar file
and
I got an "Internal error occurred" dialog and the exception. Expected: some error
message
(or maybe IDEA shouldn't give the option in this case).
Timur Zambalayev
======================================
[5360628] ERROR - com.intellij.codeInsight.o.ba -
[5360628] ERROR - com.intellij.codeInsight.o.ba - IntelliJ IDEA (Ariadna) 3.0
Build #636
[5360628] ERROR - com.intellij.codeInsight.o.ba - JDK: 1.4.0_01
[5360628] ERROR - com.intellij.codeInsight.o.ba - VM: Java HotSpot(TM) Client
VM
[5360628] ERROR - com.intellij.codeInsight.o.ba - Vendor: Sun Microsystems Inc
.
[5360628] ERROR - com.intellij.codeInsight.o.ba - OS: Windows 2000
[5360638] ERROR - com.intellij.codeInsight.o.ba -
com.intellij.util.l: Cannot modify a read-only file C:\junit3.7\src.jar!\junit\f
ramework\TestCase.java.
at com.intellij.psi.a.i.a(i.java:14)
at com.intellij.psi.a.a.i.a(i.java:127)
at com.intellij.psi.a.a.i.add(i.java:90)
at com.intellij.psi.PsiUtil.addException(PsiUtil.java:262)
at com.intellij.codeInsight.o.ba.a(ba.java:25)
at com.intellij.codeInsight.o.ba.b(ba.java:22)
at com.intellij.codeInsight.o.bp.run(bp.java:6)
at com.intellij.openapi.application.a.d.runWriteAction(d.java:159)
at com.intellij.codeInsight.o.bw.run(bw.java:0)
at com.intellij.openapi.command.a.b.executeCommand(b.java:18)
at com.intellij.codeInsight.o.bv.run(bv.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at com.intellij.ide.q.a(q.java:18)
at com.intellij.ide.q.dispatchEvent(q.java:10)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs