Double-Click file in tree does not work

I use RubyMine at work, and I don't have any plugins installed.  Today when I was trying to work in a project, I needed to open a file to edit it, just a regular .html.erb file that I have edited before.  I can open other files in the directory, but not this one.  While testing other files, I discovered that there's a large batch of them that won't open when I double click them.  I have confirmed that these files do exist on my computer, so it's not that the directory was somehow accidentally wiped out or whatever.

I did find this discussion here: http://devnet.jetbrains.net/message/5291700, but none of the solutions using the keyboard worked for me. (I am on mac and tried a bunch of variations on them.)

Here's the last 40 lines of my idea.log file.

 at java.awt.EventQueue$1.run(EventQueue.java:636)

 at java.security.AccessController.doPrivileged(Native Method)

 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)

 at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)

 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:719)

 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:544)

 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:421)

 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:379)

 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)

2012-07-27 13:03:04,178 [ 640990]  ERROR - penapi.actionSystem.impl.Utils - JetBrains RubyMine 4.5  Build #RM-119.28

2012-07-27 13:03:04,178 [ 640990]  ERROR - penapi.actionSystem.impl.Utils - JDK: 1.6.0_29

2012-07-27 13:03:04,178 [ 640990]  ERROR - penapi.actionSystem.impl.Utils - VM: Java HotSpot(TM) 64-Bit Server VM

2012-07-27 13:03:04,178 [ 640990]  ERROR - penapi.actionSystem.impl.Utils - Vendor: Apple Inc.

2012-07-27 13:03:04,178 [ 640990]  ERROR - penapi.actionSystem.impl.Utils - OS: Mac OS X

2012-07-27 13:03:04,178 [ 640990]  ERROR - penapi.actionSystem.impl.Utils - Last Action: EditSource

zion4s-iMac:~ mel$ tail -40 Library/Logs/RubyMine40/idea.log

 at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:165)

 at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:124)

 at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:84)

 at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:144)

 at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:84)

 at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:238)

 at com.intellij.openapi.actionSystem.impl.ActionMenu.g(ActionMenu.java:260)

 at com.intellij.openapi.actionSystem.impl.ActionMenu.access$400(ActionMenu.java:42)

 at com.intellij.openapi.actionSystem.impl.ActionMenu$MenuListenerImpl.menuSelected(ActionMenu.java:223)

 at javax.swing.JMenu.fireMenuSelected(JMenu.java:1028)

 at javax.swing.JMenu$MenuChangeListener.stateChanged(JMenu.java:1107)

 at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:333)

 at javax.swing.DefaultButtonModel.setSelected(DefaultButtonModel.java:215)

 at javax.swing.JMenu.setSelected(JMenu.java:294)

 at com.apple.laf.ScreenMenu$1.run(ScreenMenu.java:117)

 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)

 at apple.awt.CToolkit$CPeerEvent.dispatch(CToolkit.java:1210)

 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)

 at java.awt.EventQueue.access$000(EventQueue.java:85)

 at java.awt.EventQueue$1.run(EventQueue.java:638)

 at java.awt.EventQueue$1.run(EventQueue.java:636)

 at java.security.AccessController.doPrivileged(Native Method)

 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)

 at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)

 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:719)

 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:544)

 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:421)

 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:379)

 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)

2012-07-27 13:03:04,178 [ 640990]  ERROR - penapi.actionSystem.impl.Utils - JetBrains RubyMine 4.5  Build #RM-119.28

2012-07-27 13:03:04,178 [ 640990]  ERROR - penapi.actionSystem.impl.Utils - JDK: 1.6.0_29

2012-07-27 13:03:04,178 [ 640990]  ERROR - penapi.actionSystem.impl.Utils - VM: Java HotSpot(TM) 64-Bit Server VM

2012-07-27 13:03:04,178 [ 640990]  ERROR - penapi.actionSystem.impl.Utils - Vendor: Apple Inc.

2012-07-27 13:03:04,178 [ 640990]  ERROR - penapi.actionSystem.impl.Utils - OS: Mac OS X

2012-07-27 13:03:04,178 [ 640990]  ERROR - penapi.actionSystem.impl.Utils - Last Action: EditSource



Any ideas? I am on RubyMine 4.5, Build RM-119.28.
7 comments
Comment actions Permalink

It doesn't appear that I can edit my previous post??

But I tried opening opening the file using shift + command + N, and it shows the file in the drop-down list, but it won't open it up in the editor.  When I try to search in the directory that the file is in (it's in there with only three other files) for a string that I know is in the file, it doesn't show up in the search results.  The one that does show up won't open either.

When I rename the file to an .rb extension, it opens fine!  If I rename it back while the file is open in this way it'll recolor everything but if I close it and try to reopen it it won't.

Totally bizzare. :S

0
Comment actions Permalink

I am having the same problem. Two of my projects are exhibiting this behavior. This all seemed to occur after I upgraed to Mountain Lion (10.8). I triend deleting .idea and that didn't work.

EDIT: My solution was to clone a copy of my repository into a new directory.

0
Comment actions Permalink

Hmn.  I'm still on Snow Leopard. :S

EDIT:  Your solution does not work for me. :(

0
Comment actions Permalink

Please try doing File | Invalidate Caches

4
Comment actions Permalink

Perfect!  Thanks! :)

0
Comment actions Permalink

Worked for me as well.

0
Comment actions Permalink

Invalidate Caches works for me too ! Thanks :)

0

Please sign in to leave a comment.