Title: replace in read-only file

Note in the image the lower leftmost tab , whose editor is showing.
A "changed" and "locked" icon at the same time???
Happened after a "replace in path".  The dialog asked me if I wanted
to replace the occurrence, even though the file was locked.  When I said "yes",
it replaced the text, then I got 2 internal assertion dialogs and the
trace shown below, then the text went back to its original value.
But the "star" icon stays, and is not removed by resync, save all, or close and
reopen tab, only toggling the write-protect state does it.

Win2K, Build 515, JDK 1.3.1_01

[codeEditor] IntelliJ IDEA (Pandora)  build #515
[codeEditor] JDK: 1.3.1_01
[codeEditor] VM: Java HotSpot(TM) Client VM
[codeEditor] Vendor: Sun Microsystems Inc.
[codeEditor] OS: Windows 2000
[codeEditor] com.intellij.util.o: Cannot modify a read-only file E:\LN20\Fronten
d\src\com\liquidnet\trader\swing\oskar\IndicationPage.java.
[codeEditor]    at com.intellij.psi.impl.f.a(f.java:19)
[codeEditor]    at com.intellij.psi.impl.source.e.a.a(a.java:101)
[codeEditor]    at com.intellij.codeEditor.a.f.run(f.java:16)
[codeEditor]    at com.intellij.psi.impl.t.a(t.java:10)
[codeEditor]    at com.intellij.codeEditor.a.a.b(a.java:152)
[codeEditor]    at com.intellij.codeEditor.a.a.a(a.java:186)
[codeEditor]    at com.intellij.codeEditor.a.e.run(e.java)
[codeEditor]    at com.intellij.undo.a.e.a(e.java:68)
[codeEditor]    at com.intellij.codeEditor.a.a.a(a.java:22)
[codeEditor]    at com.intellij.codeEditor.a.a.a(a.java:143)
[codeEditor]    at com.intellij.codeInsight.z.run(z.java:3)
[codeEditor]    at com.intellij.command.a.b.a(b.java:124)
[codeEditor]    at com.intellij.codeInsight.CodeInsightManager.a(CodeInsightMana
ger.java:114)
[codeEditor]    at com.intellij.codeInsight.highlighting.q.run(q.java:4)
[codeEditor]    at com.intellij.util.s.run(s.java:2)
[codeEditor]    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
154)
[codeEditor]    at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
[codeEditor]    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDi
spatchThread.java:131)
[codeEditor]    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
atchThread.java:98)
[codeEditor]    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
ava:93)
[codeEditor]    at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

[codeEditor.check] IntelliJ IDEA (Pandora)  build #515
[codeEditor.check] JDK: 1.3.1_01
[codeEditor.check] VM: Java HotSpot(TM) Client VM
[codeEditor.check] Vendor: Sun Microsystems Inc.
[codeEditor.check] OS: Windows 2000
[codeEditor.check] com.intellij.b.a: ASSERTION: File text mismatch after reparse

[codeEditor.check]      at com.intellij.b.b.a(b.java:138)
[codeEditor.check]      at com.intellij.codeEditor.a.k.a(k.java:6)
[codeEditor.check]      at com.intellij.codeEditor.a.a.a(a.java:175)
[codeEditor.check]      at com.intellij.codeEditor.a.a.a(a.java:153)
[codeEditor.check]      at com.intellij.codeEditor.a.f.run(f.java:0)
[codeEditor.check]      at com.intellij.psi.impl.t.a(t.java:10)
[codeEditor.check]      at com.intellij.codeEditor.a.a.b(a.java:152)
[codeEditor.check]      at com.intellij.codeEditor.a.a.a(a.java:186)
[codeEditor.check]      at com.intellij.codeEditor.a.e.run(e.java)
[codeEditor.check]      at com.intellij.undo.a.e.a(e.java:68)
[codeEditor.check]      at com.intellij.codeEditor.a.a.a(a.java:22)
[codeEditor.check]      at com.intellij.codeEditor.a.a.a(a.java:143)
[codeEditor.check]      at com.intellij.codeInsight.z.run(z.java:3)
[codeEditor.check]      at com.intellij.command.a.b.a(b.java:124)
[codeEditor.check]      at com.intellij.codeInsight.CodeInsightManager.a(CodeIns
ightManager.java:114)
[codeEditor.check]      at com.intellij.codeInsight.highlighting.q.run(q.java:4)

[codeEditor.check]      at com.intellij.util.s.run(s.java:2)
[codeEditor.check]      at java.awt.event.InvocationEvent.dispatch(InvocationEve
nt.java:154)
[codeEditor.check]      at java.awt.EventQueue.dispatchEvent(EventQueue.java:337
)
[codeEditor.check]      at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:131)
[codeEditor.check]      at java.awt.EventDispatchThread.pumpEventsForHierarchy(E
ventDispatchThread.java:98)
[codeEditor.check]      at java.awt.EventDispatchThread.pumpEvents(EventDispatch
Thread.java:93)
[codeEditor.check]      at java.awt.EventDispatchThread.run(EventDispatchThread.
java:85)
--

Erb

==============================================================
"The only time I like in the morning is afternoon."
    - Russell D. Cooper

"If you do everything, then you're all done."
    - Melissa F. Cooper

"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
    - Larry Wall
==============================================================

 

Attachment: bug1.bmp.zip
Description: Binary data

Reply via email to