To clarify: I had checked in the file from outside of IDEA, and it never synchronized. When I went to save, it was read-only, and I think that's why it threw the "Access denied" exception.
Ian. "Ian Zabel" <[EMAIL PROTECTED]> wrote in message affr46$jh9$[EMAIL PROTECTED]">news:affr46$jh9$[EMAIL PROTECTED]... > I guess that I got a newer version of a file and IDEA never synchonized > before I started modifying it. Once I hit Save, it told me that the file on > disk was different than mine, and asked to Reload or not. I said no, and > then got an Internal Error. > > It may be possible that this exception is ok to be thrown (i dunno), but I > think it should be handled more gracefully if that's the case. > > Ian. > > [10995806] ERROR - psi - > [10995876] ERROR - psi - IntelliJ IDEA (Ariadna) > 3.0 > Build #629 > [10995906] ERROR - psi - JDK: 1.3.1 > [10995906] ERROR - psi - VM: Java HotSpot(TM) > Client > VM > [10995916] ERROR - psi - Vendor: Sun > Microsystems In > c. > [10995936] ERROR - psi - OS: Windows 2000 > [10995936] ERROR - psi - > java.io.FileNotFoundException: C:\path_to_my_file\file.java (Access is > denied) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.<init>(FileOutputStream.java:102) > at java.io.FileOutputStream.<init>(FileOutputStream.java:62) > at java.io.FileOutputStream.<init>(FileOutputStream.java:132) > at com.intellij.openapi.vfs.a.a.ba.getOutputStream(ba.java:228) > at > com.intellij.openapi.vfs.VirtualFile.getWriter(VirtualFile.java:17) > at com.intellij.psi.f.x.d(x.java:324) > at com.intellij.psi.f.x.a(x.java:235) > at com.intellij.psi.f.q.run(q.java:1) > at com.intellij.openapi.application.a.d.runWriteAction(d.java:54) > at com.intellij.psi.f.x.b(x.java:45) > at com.intellij.openapi.project.a.e.run(e.java:1) > at com.intellij.command.b.b.a(b.java:26) > at com.intellij.openapi.project.a.c.saveAllDocuments(c.java:32) > at com.intellij.ide.e.dr.actionPerformed(dr.java:0) > at com.intellij.openapi.a.a.d.b(d.java:70) > at com.intellij.openapi.a.a.d.b(d.java:86) > at com.intellij.openapi.a.a.d.a(d.java:2) > at com.intellij.ide.p.dispatchEvent(p.java:41) > at > java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh > read.java:131) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre > ad.java:98) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) > > > _______________________________________________ Eap-bugs mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-bugs
