824 killed my installation of RubyMine

I was happily running RubyMine 820, worked just ok. Decided to upgrade to 824. Now I cannot open any project, directory or even create a new file. Tried going back to 820, same thing. Tried nuking the rubymine preferences directory. Same thing.

What is happening. A sample error message below.

Error during dispatching of java.awt.event.MouseEvent[MOUSE_CLICKED,(187,214),button=1,modifiers=Button1,clickCount=1] on frame1
java.lang.IllegalArgumentException
    at java.nio.Buffer.position(Buffer.java:218)
    at com.intellij.util.io.PagedFileStorage.get(PagedFileStorage.java:121)
    at com.intellij.util.io.PagedFileStorage.getInt(PagedFileStorage.java:71)
    at com.intellij.util.io.ResizeableMappedFile.getInt(ResizeableMappedFile.java:121)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.getName(FSRecords.java:278)
    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFS.getId(PersistentFS.java:391)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.b(VirtualDirectoryImpl.java:124)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.a(VirtualDirectoryImpl.java:114)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:128)
    at com.intellij.openapi.vfs.newvfs.NewVirtualFileSystem.findFileByPath(NewVirtualFileSystem.java:56)
    at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.findFileByPath(LocalFileSystemImpl.java:265)
    at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.findFileByUrl(VirtualFileManagerImpl.java:24)
    at org.jetbrains.plugins.ruby.utils.OSUtil.findExecutableByName(OSUtil.java:45)
    at org.jetbrains.plugins.ruby.ruby.sdk.RubySdkUtil.findInterpreter(RubySdkUtil.java:77)
    at org.jetbrains.plugins.ruby.ruby.sdk.RubySdkUtil.suggestRubyHomePath(RubySdkUtil.java:75)
    at org.jetbrains.plugins.ruby.ruby.sdk.RubySdkType.suggestHomePath(RubySdkType.java:73)
    at com.intellij.openapi.projectRoots.impl.SdkConfigurationUtil.findOrCreateSdk(SdkConfigurationUtil.java:136)
    at com.intellij.openapi.projectRoots.impl.SdkConfigurationUtil.configureDirectoryProjectSdk(SdkConfigurationUtil.java:121)
    at org.jetbrains.plugins.ruby.module.RubySdkConfigurator.configureProject(RubySdkConfigurator.java:6)
    at com.intellij.platform.PlatformProjectOpenProcessor.doOpenProject(PlatformProjectOpenProcessor.java:11)
    at com.intellij.platform.NewDirectoryProjectAction.actionPerformed(NewDirectoryProjectAction.java:10)
    at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreen$ActionGroupDescriptor$3.onPress(WelcomeScreen.java:6)
    at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreen$ButtonWithExtension.onPress(WelcomeScreen.java:4)
    at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreen$ActionGroupDescriptor$2.mouseClicked(WelcomeScreen.java:3)
    at java.awt.Component.processMouseEvent(Component.java:5605)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
    at java.awt.Component.processEvent(Component.java:5367)
    at java.awt.Container.processEvent(Container.java:2010)
    at java.awt.Component.dispatchEventImpl(Component.java:4068)
    at java.awt.Container.dispatchEventImpl(Container.java:2068)
    at java.awt.Component.dispatchEvent(Component.java:3903)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3945)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
    at java.awt.Container.dispatchEventImpl(Container.java:2054)
    at java.awt.Window.dispatchEventImpl(Window.java:1801)
    at java.awt.Component.dispatchEvent(Component.java:3903)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:40)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:69)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:118)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

2 comments
Comment actions Permalink

Nuked everything that had a name rubymine on my disks except one 820.dmg that I had downloaded earlier (a working version), emptied the trash. Installed from this dmg 820. Cannot do any file operations (new, open...). Cannot even set the SDK.

Tried the same with a new download of 824.

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(1862,80),button=1,modifiers=Button1,clickCount=1] on dialog4
java.lang.IllegalArgumentException
    at java.nio.Buffer.position(Buffer.java:218)
    at com.intellij.util.io.PagedFileStorage.get(PagedFileStorage.java:121)
    at com.intellij.util.io.PagedFileStorage.getInt(PagedFileStorage.java:71)
    at com.intellij.util.io.ResizeableMappedFile.getInt(ResizeableMappedFile.java:121)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.getName(FSRecords.java:226)
    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFS.getId(PersistentFS.java:73)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.b(VirtualDirectoryImpl.java:131)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.a(VirtualDirectoryImpl.java:83)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:55)
    at com.intellij.openapi.vfs.newvfs.NewVirtualFileSystem.findFileByPath(NewVirtualFileSystem.java:56)
    at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.findFileByPath(LocalFileSystemImpl.java:203)
    at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.findFileByUrl(VirtualFileManagerImpl.java:41)
    at org.jetbrains.plugins.ruby.utils.OSUtil.findExecutableByName(OSUtil.java:5)
    at org.jetbrains.plugins.ruby.ruby.sdk.RubySdkUtil.findInterpreter(RubySdkUtil.java:38)
    at org.jetbrains.plugins.ruby.ruby.sdk.RubySdkUtil.suggestRubyHomePath(RubySdkUtil.java:79)
    at org.jetbrains.plugins.ruby.ruby.sdk.RubySdkType.suggestHomePath(RubySdkType.java:32)
    at com.intellij.openapi.projectRoots.impl.SdkConfigurationUtil.addSdk(SdkConfigurationUtil.java:38)
    at org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable.d(RubyIdeSdkConfigurable.java:9)
    at org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable.access$000(RubyIdeSdkConfigurable.java:44)
    at org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable$2.actionPerformed(RubyIdeSdkConfigurable.java:3)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:5602)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
    at java.awt.Component.processEvent(Component.java:5367)
    at java.awt.Container.processEvent(Container.java:2010)
    at java.awt.Component.dispatchEventImpl(Component.java:4068)
    at java.awt.Container.dispatchEventImpl(Container.java:2068)
    at java.awt.Component.dispatchEvent(Component.java:3903)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
    at java.awt.Container.dispatchEventImpl(Container.java:2054)
    at java.awt.Window.dispatchEventImpl(Window.java:1801)
    at java.awt.Component.dispatchEvent(Component.java:3903)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:194)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:224)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)
    at java.awt.Dialog$1.run(Dialog.java:535)
    at java.awt.Dialog$2.run(Dialog.java:565)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Dialog.java:563)
    at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:122)
    at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:104)
    at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:928)
    at com.intellij.ide.actions.ShowSettingsUtilImpl.a(ShowSettingsUtilImpl.java:5)
    at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:2)
    at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:3)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:10)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:51)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
    at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
    at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
    at java.awt.MenuItem.processEvent(MenuItem.java:556)
    at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
    at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
    at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:194)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:41)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.IllegalArgumentException
    at java.nio.Buffer.position(Buffer.java:218)
    at com.intellij.util.io.PagedFileStorage.get(PagedFileStorage.java:121)
    at com.intellij.util.io.PagedFileStorage.getInt(PagedFileStorage.java:71)
    at com.intellij.util.io.ResizeableMappedFile.getInt(ResizeableMappedFile.java:121)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.getName(FSRecords.java:226)
    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFS.getId(PersistentFS.java:73)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.b(VirtualDirectoryImpl.java:131)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.a(VirtualDirectoryImpl.java:83)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:55)
    at com.intellij.openapi.vfs.newvfs.NewVirtualFileSystem.findFileByPath(NewVirtualFileSystem.java:56)
    at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.findFileByPath(LocalFileSystemImpl.java:203)
    at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.findFileByUrl(VirtualFileManagerImpl.java:41)
    at org.jetbrains.plugins.ruby.utils.OSUtil.findExecutableByName(OSUtil.java:5)
    at org.jetbrains.plugins.ruby.ruby.sdk.RubySdkUtil.findInterpreter(RubySdkUtil.java:38)
    at org.jetbrains.plugins.ruby.ruby.sdk.RubySdkUtil.suggestRubyHomePath(RubySdkUtil.java:79)
    at org.jetbrains.plugins.ruby.ruby.sdk.RubySdkType.suggestHomePath(RubySdkType.java:32)
    at com.intellij.openapi.projectRoots.impl.SdkConfigurationUtil.addSdk(SdkConfigurationUtil.java:38)
    at org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable.d(RubyIdeSdkConfigurable.java:9)
    at org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable.access$000(RubyIdeSdkConfigurable.java:44)
    at org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable$2.actionPerformed(RubyIdeSdkConfigurable.java:3)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:5602)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
    at java.awt.Component.processEvent(Component.java:5367)
    at java.awt.Container.processEvent(Container.java:2010)
    at java.awt.Component.dispatchEventImpl(Component.java:4068)
    at java.awt.Container.dispatchEventImpl(Container.java:2068)
    at java.awt.Component.dispatchEvent(Component.java:3903)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
    at java.awt.Container.dispatchEventImpl(Container.java:2054)
    at java.awt.Window.dispatchEventImpl(Window.java:1801)
    at java.awt.Component.dispatchEvent(Component.java:3903)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:194)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:224)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)
    at java.awt.Dialog$1.run(Dialog.java:535)
    at java.awt.Dialog$2.run(Dialog.java:565)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Dialog.java:563)
    at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:122)
    at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:104)
    at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:928)
    at com.intellij.ide.actions.ShowSettingsUtilImpl.a(ShowSettingsUtilImpl.java:5)
    at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:2)
    at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:3)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:10)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:51)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
    at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
    at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
    at java.awt.MenuItem.processEvent(MenuItem.java:556)
    at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
    at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
    at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:194)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:41)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0
Comment actions Permalink

Hello Hannu,

I was happily running RubyMine 820, worked just ok. Decided to upgrade
to 824. Now I cannot open any project, directory or even create a new
file. Tried going back to 820, same thing. Tried nuking the rubymine
preferences directory. Same thing.


You need to use File | Invalidate Caches on the RubyMine welcome screen and
then restart RubyMine. Sorry for the inconvenience - RubyMine needs to be
able to recover from such situations by itself.

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


0

Please sign in to leave a comment.