Exception in saving file after modifying psi tree

Hello,

I have a unit test which modifies a psi tree. After modification( astNode.addChild()), I get the following stack trace when the test exits. I guess I am missing a method call. Any tips?


thanks
Siddharth

ERROR: Changes have been made to '/tmp/xyz' in memory and on disk.
java.lang.RuntimeException: Changes have been made to '/tmp/xyz' in memory and on disk.
 at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.askReloadFromDisk(FileDocumentManagerImpl.java:518)
 at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl$5.run(FileDocumentManagerImpl.java:456)
 at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.contentsChanged(FileDocumentManagerImpl.java:462)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616)
 at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:89)
 at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:34)
 at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:65)
 at $Proxy13.contentsChanged(Unknown Source)
 at com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.a(BulkVirtualFileListenerAdapter.java:51)
 at com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.after(BulkVirtualFileListenerAdapter.java:43)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616)
 at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:99)
 at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:215)
 at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:207)
 at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:197)
 at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:42)
 at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:123)
 at $Proxy53.after(Unknown Source)
 at com.intellij.openapi.vfs.newvfs.persistent.PersistentFS.processEvents(PersistentFS.java:643)
 at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.fireEventsInWriteAction(RefreshSessionImpl.java:138)
 at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.fireEvents(RefreshSessionImpl.java:117)
 at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.execute(RefreshQueueImpl.java:55)
 at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.launch(RefreshSessionImpl.java:84)
 at com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java:42)
 at com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java:46)
 at com.intellij.openapi.vfs.newvfs.NewVirtualFile.refresh(NewVirtualFile.java:104)
 at com.intellij.openapi.vfs.VirtualFile.refresh(VirtualFile.java:593)
 at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.a(FileDocumentManagerImpl.java:262)
 at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.access$300(FileDocumentManagerImpl.java:73)
 at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl$3.run(FileDocumentManagerImpl.java:244)
 at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:864)
 at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveDocument(FileDocumentManagerImpl.java:242)
 at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveAllDocuments(FileDocumentManagerImpl.java:227)
 at com.intellij.testFramework.LightPlatformTestCase$4.run(LightPlatformTestCase.java:487)
 at com.intellij.openapi.command.WriteCommandAction$Simple.run(WriteCommandAction.java:171)
 at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
 at com.intellij.openapi.command.WriteCommandAction$2$1.run(WriteCommandAction.java:122)
 at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:864)
 at com.intellij.openapi.command.WriteCommandAction$2.run(WriteCommandAction.java:120)
 at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:115)
 at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:91)
 at com.intellij.openapi.command.WriteCommandAction.performWriteCommandAction(WriteCommandAction.java:118)
 at com.intellij.openapi.command.WriteCommandAction.access$000(WriteCommandAction.java:34)
 at com.intellij.openapi.command.WriteCommandAction$1.run(WriteCommandAction.java:73)
 at com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAction.java:78)
 at com.intellij.testFramework.LightPlatformTestCase.doTearDown(LightPlatformTestCase.java:466)
 at com.intellij.testFramework.PlatformTestCase.tearDown(PlatformTestCase.java:354)
 at com.intellij.testFramework.IdeaTestCase.tearDown(IdeaTestCase.java:43)
 at com.intellij.testFramework.PlatformTestCase$5.run(PlatformTestCase.java:525)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:216)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
 at java.awt.EventQueue.access$000(EventQueue.java:96)
 at java.awt.EventQueue$1.run(EventQueue.java:608)
 at java.awt.EventQueue$1.run(EventQueue.java:606)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
java.lang.AssertionError: Changes have been made to '/tmp/siddharth/tmp/c.g.devtools.intellig.newbuildeditor.core.psi/testAddArgumentFirst-PsiBuildArgListTest/client/google3/BUILD' in memory and on disk.
 at com.intellij.testFramework.LoggedErrorProcessor$1.processError(LoggedErrorProcessor.java:35)
 at com.intellij.testFramework.TestLogger.error(TestLogger.java:51)
 at com.intellij.openapi.diagnostic.Logger.error(Logger.java:67)
 at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:106)
 at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:215)
 at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:207)
 at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:197)
 at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:42)
 at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:123)
 at $Proxy53.after(Unknown Source)
 at com.intellij.openapi.vfs.newvfs.persistent.PersistentFS.processEvents(PersistentFS.java:643)
 at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.fireEventsInWriteAction(RefreshSessionImpl.java:138)
 at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.fireEvents(RefreshSessionImpl.java:117)
 at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.execute(RefreshQueueImpl.java:55)
 at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.launch(RefreshSessionImpl.java:84)
 at com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java:42)
 at com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java:46)
 at com.intellij.openapi.vfs.newvfs.NewVirtualFile.refresh(NewVirtualFile.java:104)
 at com.intellij.openapi.vfs.VirtualFile.refresh(VirtualFile.java:593)
 at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.a(FileDocumentManagerImpl.java:262)
 at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.access$300(FileDocumentManagerImpl.java:73)
 at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl$3.run(FileDocumentManagerImpl.java:244)
 at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:864)
 at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveDocument(FileDocumentManagerImpl.java:242)
 at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveAllDocuments(FileDocumentManagerImpl.java:227)
 at com.intellij.testFramework.LightPlatformTestCase$4.run(LightPlatformTestCase.java:487)
 at com.intellij.openapi.command.WriteCommandAction$Simple.run(WriteCommandAction.java:171)
 at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
 at com.intellij.openapi.command.WriteCommandAction$2$1.run(WriteCommandAction.java:122)
 at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:864)
 at com.intellij.openapi.command.WriteCommandAction$2.run(WriteCommandAction.java:120)
 at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:115)
 at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:91)
 at com.intellij.openapi.command.WriteCommandAction.performWriteCommandAction(WriteCommandAction.java:118)
 at com.intellij.openapi.command.WriteCommandAction.access$000(WriteCommandAction.java:34)
 at com.intellij.openapi.command.WriteCommandAction$1.run(WriteCommandAction.java:73)
 at com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAction.java:78)
 at com.intellij.testFramework.LightPlatformTestCase.doTearDown(LightPlatformTestCase.java:466)
 at com.intellij.testFramework.PlatformTestCase.tearDown(PlatformTestCase.java:354)
 at com.intellij.testFramework.IdeaTestCase.tearDown(IdeaTestCase.java:43)
 at com.intellij.testFramework.PlatformTestCase$5.run(PlatformTestCase.java:525)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:216)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
 at java.awt.EventQueue.access$000(EventQueue.java:96)
 at java.awt.EventQueue$1.run(EventQueue.java:608)
 at java.awt.EventQueue$1.run(EventQueue.java:606)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

1 comment
Comment actions Permalink

Hello Siddharth,

This happens because your test tries to modify the actual file that is stored
on disk. Normally, in tests you don't want to do that; the tests work on
in-memory copies of the files.

If you use CodeInsightTestFixture.configureByFile() and related methods to
set up your test, this will be handled for you automatically.

I have a unit test which modifies a psi tree. After modification(
astNode.addChild()), I get the following stack trace *when the test
exits*. I guess I am missing a method call. Any tips?

thanks
Siddharth
ERROR: Changes have been made to '/tmp/xyz' in memory and on disk.
java.lang.RuntimeException: Changes have been made to '/tmp/xyz' in
memory and on disk.
at
com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.askReload
FromDisk(FileDocumentManagerImpl.java:518)
at
com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl$5.run(Fil
eDocumentManagerImpl.java:456)
at
com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.contentsC
hanged(FileDocumentManagerImpl.java:462)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:89)
at
com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:34)
at
com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:65)
at $Proxy13.contentsChanged(Unknown Source)
at
com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.a(BulkVir
tualFileListenerAdapter.java:51)
at
com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.after(Bul
kVirtualFileListenerAdapter.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessag
e(MessageBusConnectionImpl.java:99)
at
com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageB
usImpl.java:215)
at
com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBus
Impl.java:207)
at
com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusI
mpl.java:197)
at
com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusIm
pl.java:42)
at
com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl
.java:123)
at $Proxy53.after(Unknown Source)
at
com.intellij.openapi.vfs.newvfs.persistent.PersistentFS.processEvents(
PersistentFS.java:643)
at
com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.fireEventsInWriteAc
tion(RefreshSessionImpl.java:138)
at
com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.fireEvents(RefreshS
essionImpl.java:117)
at
com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.execute(RefreshQueueI
mpl.java:55)
at
com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.launch(RefreshSessi
onImpl.java:84)
at
com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java
:42)
at
com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java
:46)
at
com.intellij.openapi.vfs.newvfs.NewVirtualFile.refresh(NewVirtualFile.
java:104)
at com.intellij.openapi.vfs.VirtualFile.refresh(VirtualFile.java:593)
at
com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.a(FileDoc
umentManagerImpl.java:262)
at
com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.access$30
0(FileDocumentManagerImpl.java:73)
at
com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl$3.run(Fil
eDocumentManagerImpl.java:244)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(A
pplicationImpl.java:864)
at
com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveDocum
ent(FileDocumentManagerImpl.java:242)
at
com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveAllDo
cuments(FileDocumentManagerImpl.java:227)
at
com.intellij.testFramework.LightPlatformTestCase$4.run(LightPlatformTe
stCase.java:487)
at
com.intellij.openapi.command.WriteCommandAction$Simple.run(WriteComman
dAction.java:171)
at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
at
com.intellij.openapi.command.WriteCommandAction$2$1.run(WriteCommandAc
tion.java:122)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(A
pplicationImpl.java:864)
at
com.intellij.openapi.command.WriteCommandAction$2.run(WriteCommandActi
on.java:120)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(
CommandProcessorImpl.java:115)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(
CommandProcessorImpl.java:91)
at
com.intellij.openapi.command.WriteCommandAction.performWriteCommandAct
ion(WriteCommandAction.java:118)
at
com.intellij.openapi.command.WriteCommandAction.access$000(WriteComman
dAction.java:34)
at
com.intellij.openapi.command.WriteCommandAction$1.run(WriteCommandActi
on.java:73)
at
com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAc
tion.java:78)
at
com.intellij.testFramework.LightPlatformTestCase.doTearDown(LightPlatf
ormTestCase.java:466)
at
com.intellij.testFramework.PlatformTestCase.tearDown(PlatformTestCase.
java:354)
at
com.intellij.testFramework.IdeaTestCase.tearDown(IdeaTestCase.java:43)
at
com.intellij.testFramework.PlatformTestCase$5.run(PlatformTestCase.jav
a:525)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:216)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessCon
trolContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:275)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:200)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:190)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
java.lang.AssertionError: Changes have been made to
'/tmp/siddharth/tmp/c.g.devtools.intellig.newbuildeditor.core.psi/test
AddArgumentFirst-PsiBuildArgListTest/client/google3/BUILD' in memory
and on disk.
at
com.intellij.testFramework.LoggedErrorProcessor$1.processError(LoggedE
rrorProcessor.java:35)
at com.intellij.testFramework.TestLogger.error(TestLogger.java:51)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:67)
at
com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessag
e(MessageBusConnectionImpl.java:106)
at
com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageB
usImpl.java:215)
at
com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBus
Impl.java:207)
at
com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusI
mpl.java:197)
at
com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusIm
pl.java:42)
at
com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl
.java:123)
at $Proxy53.after(Unknown Source)
at
com.intellij.openapi.vfs.newvfs.persistent.PersistentFS.processEvents(
PersistentFS.java:643)
at
com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.fireEventsInWriteAc
tion(RefreshSessionImpl.java:138)
at
com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.fireEvents(RefreshS
essionImpl.java:117)
at
com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.execute(RefreshQueueI
mpl.java:55)
at
com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.launch(RefreshSessi
onImpl.java:84)
at
com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java
:42)
at
com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java
:46)
at
com.intellij.openapi.vfs.newvfs.NewVirtualFile.refresh(NewVirtualFile.
java:104)
at com.intellij.openapi.vfs.VirtualFile.refresh(VirtualFile.java:593)
at
com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.a(FileDoc
umentManagerImpl.java:262)
at
com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.access$30
0(FileDocumentManagerImpl.java:73)
at
com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl$3.run(Fil
eDocumentManagerImpl.java:244)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(A
pplicationImpl.java:864)
at
com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveDocum
ent(FileDocumentManagerImpl.java:242)
at
com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveAllDo
cuments(FileDocumentManagerImpl.java:227)
at
com.intellij.testFramework.LightPlatformTestCase$4.run(LightPlatformTe
stCase.java:487)
at
com.intellij.openapi.command.WriteCommandAction$Simple.run(WriteComman
dAction.java:171)
at com.intellij.openapi.application.RunResult.run(RunResult.java:37)
at
com.intellij.openapi.command.WriteCommandAction$2$1.run(WriteCommandAc
tion.java:122)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(A
pplicationImpl.java:864)
at
com.intellij.openapi.command.WriteCommandAction$2.run(WriteCommandActi
on.java:120)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(
CommandProcessorImpl.java:115)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(
CommandProcessorImpl.java:91)
at
com.intellij.openapi.command.WriteCommandAction.performWriteCommandAct
ion(WriteCommandAction.java:118)
at
com.intellij.openapi.command.WriteCommandAction.access$000(WriteComman
dAction.java:34)
at
com.intellij.openapi.command.WriteCommandAction$1.run(WriteCommandActi
on.java:73)
at
com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAc
tion.java:78)
at
com.intellij.testFramework.LightPlatformTestCase.doTearDown(LightPlatf
ormTestCase.java:466)
at
com.intellij.testFramework.PlatformTestCase.tearDown(PlatformTestCase.
java:354)
at
com.intellij.testFramework.IdeaTestCase.tearDown(IdeaTestCase.java:43)
at
com.intellij.testFramework.PlatformTestCase$5.run(PlatformTestCase.jav
a:525)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:216)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessCon
trolContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:275)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:200)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:190)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
---
Original message URL:
http://devnet.jetbrains.net/message/5322871#5322871


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.