How to report bugs? Exception thrown when can't write to project directory

How should I report potential bugs?

Here's what I saw:

I attempted to create a project from an existing directory that contained two rails projects, this parent directory was owned by root so IntelliJ couldnt write to it. After I did a chown I then saw the following exception.

Peter

PS: Easy install, nicely hides the Java from those who are scared by it, hope it does well.


getOutputStream() must not be called against a directory: file:///Users/pbooth/TXFR/Oye/spree2
java.io.IOException: getOutputStream() must not be called against a directory: file:///Users/pbooth/TXFR/Oye/spree2
at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.getOutputStream(VirtualDirectoryImpl.java:289)
at com.intellij.openapi.vfs.VirtualFile.getOutputStream(VirtualFile.java:481)
at com.intellij.openapi.components.impl.stores.FileBasedStorage$FileSaveSession.doSave(FileBasedStorage.java:174)
at com.intellij.openapi.components.impl.stores.XmlElementStorage$MySaveSession.save(XmlElementStorage.java:371)
at com.intellij.openapi.components.impl.stores.CompoundSaveSession.save(CompoundSaveSession.java:36)
at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$MySaveSession.save(StateStorageManagerImpl.java:408)
at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$SaveSessionImpl.save(ComponentStoreImpl.java:361)
at com.intellij.openapi.components.impl.stores.ProjectStoreImpl$ProjectSaveSession.save(ProjectStoreImpl.java:553)
at com.intellij.openapi.components.impl.ComponentManagerImpl.doSave(ComponentManagerImpl.java:634)
at com.intellij.openapi.project.impl.ProjectImpl.save(ProjectImpl.java:258)
at com.intellij.ide.SaveAndSyncHandler.saveProjectsAndDocuments(SaveAndSyncHandler.java:108)
at com.intellij.ide.SaveAndSyncHandler.access$200(SaveAndSyncHandler.java:27)
at com.intellij.ide.SaveAndSyncHandler$3.onFrameDeactivated(SaveAndSyncHandler.java:65)
at com.intellij.ide.FrameStateManagerImpl.fireDeactivationEvent(FrameStateManagerImpl.java:84)
at com.intellij.ide.FrameStateManagerImpl.access$100(FrameStateManagerImpl.java:28)
at com.intellij.ide.FrameStateManagerImpl$1.run(FrameStateManagerImpl.java:75)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:213)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:302)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:472)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:465)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:337)
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)

1 comment
Comment actions Permalink

Hello Peter,

How should I report potential bugs?


You can post bug using RubyMine builtin error reporter or you can post bugs/suggestions/feature requests directly in our bugtracker for both RubyMine and Ruby plugin at: http://www.jetbrains.net/jira/secure/BrowseProject.jspa

Here's what I saw:

I attempted to create a project from an existing directory that contained two rails projects, this parent directory was owned by root so IntelliJ couldnt write to it. After I did a chown I then saw the following exception.
getOutputStream() must not be called against a directory: file:///Users/pbooth/TXFR/Oye/spree2
java.io.IOException: getOutputStream() must not be called against a directory: file:///Users/pbooth/TXFR/Oye/spree2
at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.getOutputStream(VirtualDirectoryImpl.java:289)
at com.intellij.openapi.vfs.VirtualFile.getOutputStream(VirtualFile.java:481)
at com.intellij.openapi.components.impl.stores.FileBasedStorage$FileSaveSession.doSave(FileBasedStorage.java:174)
at com.intellij.openapi.components.impl.stores.XmlElementStorage$MySaveSession.save(XmlElementStorage.java:371)
at com.intellij.openapi.components.impl.stores.CompoundSaveSession.save(CompoundSaveSession.java:36)
at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$MySaveSession.save(StateStorageManagerImpl.java:408)
at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$SaveSessionImpl.save(ComponentStoreImpl.java:361)
at com.intellij.openapi.components.impl.stores.ProjectStoreImpl$ProjectSaveSession.save(ProjectStoreImpl.java:553)
at com.intellij.openapi.components.impl.ComponentManagerImpl.doSave(ComponentManagerImpl.java:634)
at com.intellij.openapi.project.impl.ProjectImpl.save(ProjectImpl.java:258)
at com.intellij.ide.SaveAndSyncHandler.saveProjectsAndDocuments(SaveAndSyncHandler.java:108)
at com.intellij.ide.SaveAndSyncHandler.access$200(SaveAndSyncHandler.java:27)
at com.intellij.ide.SaveAndSyncHandler$3.onFrameDeactivated(SaveAndSyncHandler.java:65)
at com.intellij.ide.FrameStateManagerImpl.fireDeactivationEvent(FrameStateManagerImpl.java:84)
at com.intellij.ide.FrameStateManagerImpl.access$100(FrameStateManagerImpl.java:28)
at com.intellij.ide.FrameStateManagerImpl$1.run(FrameStateManagerImpl.java:75)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:213)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:302)

I`ve created issue for your case: http://www.jetbrains.net/jira/browse/RUBY-2362

0

Please sign in to leave a comment.