ahanin / intellij-jalopy-plugin

IntelliJ IDEA Jalopy Plugin
GNU General Public License v3.0
1 stars 1 forks source link

The plugin doesn't work #2

Closed vlaw closed 6 years ago

vlaw commented 11 years ago
Error during dispatching of java.awt.event.KeyEvent[KEY_PRESSED,keyCode=80,keyText=P,keyChar='',modifiers=Ctrl+Shift,extModifiers=Ctrl+Shift,keyLocation=KEY_LOCATION_STANDARD,rawCode=80,primaryLevelUnicode=112,scancode=25,extendedKeyCode=0x50] on frame0: Wrong line separators: '...ngine.saf;\r\n\r\nimport...' at offset 34
java.lang.AssertionError: Wrong line separators: '...ngine.saf;\r\n\r\nimport...' at offset 34
    at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:55)
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
    at com.intellij.openapi.util.text.StringUtil.assertValidSeparators(StringUtil.java:2132)
    at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:473)
    at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:414)
    at com.intellij.openapi.editor.impl.DocumentImpl.access$300(DocumentImpl.java:51)
    at com.intellij.openapi.editor.impl.DocumentImpl$4.run(DocumentImpl.java:790)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:117)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:99)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:85)
    at com.intellij.openapi.editor.impl.DocumentImpl.setText(DocumentImpl.java:797)
    at com.alexeyhanin.intellij.jalopyplugin.util.JalopyDocumentFormatter.format(JalopyDocumentFormatter.java:45)
    at com.alexeyhanin.intellij.jalopyplugin.action.FormatAction$EditorDocumentUpdateAction.run(FormatAction.java:52)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1013)
    at com.alexeyhanin.intellij.jalopyplugin.util.RuntimeHelper$WriteAction.run(RuntimeHelper.java:38)
    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 com.alexeyhanin.intellij.jalopyplugin.action.FormatAction.actionPerformed(FormatAction.java:36)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:564)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:611)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:463)
    at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:206)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:494)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

IDEA version: 12.1.4