History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-23131
Type: Exception Exception
Status: Open Open
Priority: Major Major
Assignee: Dmitry Jemerov
Reporter: Irina Petrovskaya
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

VersionControl: unshelve works incorrectly if the container package has been renamed after shelving

Created: 09 Nov 07 16:23   Updated: 06 Nov 08 23:06
Component/s: Version Control Integration
Fix Version/s: Undefined

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 8,005


 Description  « Hide
tested with SVN, VSS

-modify or rename some file (lets say, modify the class newpack.Bar)

  • shelve this change
    -rename the package newpack to newpack_renamed, commit
  • unshelve change:
    ----> the new packages newpack.Bar.java are created, exception is thrown

getInputStream() must not be called against a directory: file://C:/Documents and Settings/Irina.Petrovskaya/IdeaProjects/SVNProjects/http_trunk_test1/src/newpack/Bar.java
java.io.IOException: getInputStream() must not be called against a directory: file://C:/Documents and Settings/Irina.Petrovskaya/IdeaProjects/SVNProjects/http_trunk_test1/src/newpack/Bar.java
at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.getInputStream(VirtualDirectoryImpl.java:36)
at com.intellij.openapi.vfs.newvfs.NewVirtualFile.contentsToByteArray(NewVirtualFile.java:41)
at com.intellij.openapi.diff.impl.patch.FilePatch.apply(FilePatch.java:44)
at com.intellij.openapi.vcs.changes.patch.ApplyPatchAction.a(ApplyPatchAction.java:44)
at com.intellij.openapi.vcs.changes.patch.ApplyPatchAction.access$000(ApplyPatchAction.java:11)
at com.intellij.openapi.vcs.changes.patch.ApplyPatchAction$1$1.run(ApplyPatchAction.java:2)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:53)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:80)
at com.intellij.openapi.vcs.changes.patch.ApplyPatchAction$1.run(ApplyPatchAction.java:3)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:75)
at com.intellij.openapi.vcs.changes.patch.ApplyPatchAction.applyFilePatches(ApplyPatchAction.java:28)
at com.intellij.openapi.vcs.changes.shelf.ShelveChangesManager.unshelveChangeList(ShelveChangesManager.java:4)
at com.intellij.openapi.vcs.changes.shelf.UnshelveChangesAction.actionPerformed(UnshelveChangesAction.java:14)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:3)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:8)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:145)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:78)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:6)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:155)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:69)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:40)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.