Skip to content

Instantly share code, notes, and snippets.

@kans
Created February 18, 2014 20:39
Show Gist options
  • Save kans/9079601 to your computer and use it in GitHub Desktop.
Save kans/9079601 to your computer and use it in GitHub Desktop.
null
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.a(FileDocumentManagerImpl.java:144)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.access$000(FileDocumentManagerImpl.java:84)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl$1.invoke(FileDocumentManagerImpl.java:111)
at com.sun.proxy.$Proxy19.beforeDocumentSaving(Unknown Source)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.a(FileDocumentManagerImpl.java:419)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.a(FileDocumentManagerImpl.java:393)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveDocument(FileDocumentManagerImpl.java:344)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveDocument(FileDocumentManagerImpl.java:336)
at floobits.handlers.FlooHandler$9.on_document(FlooHandler.java:542)
at floobits.handlers.DocumentFetcher$1.run(FlooHandler.java:64)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:981)
at floobits.utilities.ThreadSafe$1$1.run(ThreadSafe.java:17)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:124)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:99)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:85)
at floobits.utilities.ThreadSafe$1.run(ThreadSafe.java:14)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:346)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: com.intellij.openapi.editor.ReadOnlyModificationException: Attempt to modify read-only document
at com.intellij.openapi.editor.impl.DocumentImpl.deleteString(DocumentImpl.java:367)
at com.intellij.openapi.editor.impl.DocumentImpl$1$1.run(DocumentImpl.java:172)
at com.intellij.openapi.command.impl.CommandProcessorImpl.runUndoTransparentAction(CommandProcessorImpl.java:330)
at com.intellij.openapi.editor.impl.DocumentImpl$1.run(DocumentImpl.java:169)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:981)
at com.intellij.openapi.editor.impl.DocumentImpl.stripTrailingSpaces(DocumentImpl.java:166)
at com.intellij.openapi.fileEditor.impl.TrailingSpacesStripper.stripIfNotCurrentLine(TrailingSpacesStripper.java:158)
at com.intellij.openapi.fileEditor.impl.TrailingSpacesStripper.a(TrailingSpacesStripper.java:76)
at com.intellij.openapi.fileEditor.impl.TrailingSpacesStripper.beforeDocumentSaving(TrailingSpacesStripper.java:58)
... 37 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment