Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VcsException: fatal: Invalid revision range #2

Closed
shiraji opened this issue Mar 24, 2016 · 1 comment
Closed

VcsException: fatal: Invalid revision range #2

shiraji opened this issue Mar 24, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@shiraji
Copy link
Owner

shiraji commented Mar 24, 2016

null
java.security.PrivilegedActionException: java.security.PrivilegedActionException: com.intellij.openapi.vcs.VcsException: fatal: Invalid revision range c26337a6b2a5df7059f2b28529823cf969f669f9
 during executing git -c core.quotepath=false log c26337a6b2a5df7059f2b28529823cf969f669f9..master "--grep=Merge pull request" --merges --ancestry-path --reverse --pretty=format:%x01%H%x02%ct%x02%an%x02%at%x02%ae%x02%cn%x02%ce%x02%P%x02%s%x02%b%x02%B%x03 --encoding=UTF-8 -M --name-status -c --
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:866)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:650)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
    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)
Caused by: java.security.PrivilegedActionException: com.intellij.openapi.vcs.VcsException: fatal: Invalid revision range c26337a6b2a5df7059f2b28529823cf969f669f9
 during executing git -c core.quotepath=false log c26337a6b2a5df7059f2b28529823cf969f669f9..master "--grep=Merge pull request" --merges --ancestry-path --reverse --pretty=format:%x01%H%x02%ct%x02%an%x02%at%x02%ae%x02%cn%x02%ce%x02%P%x02%s%x02%b%x02%B%x03 --encoding=UTF-8 -M --name-status -c --
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:690)
    at java.awt.EventQueue$3.run(EventQueue.java:688)
    ... 12 more
Caused by: com.intellij.openapi.vcs.VcsException: fatal: Invalid revision range c26337a6b2a5df7059f2b28529823cf969f669f9
 during executing git -c core.quotepath=false log c26337a6b2a5df7059f2b28529823cf969f669f9..master "--grep=Merge pull request" --merges --ancestry-path --reverse --pretty=format:%x01%H%x02%ct%x02%an%x02%at%x02%ae%x02%cn%x02%ce%x02%P%x02%s%x02%b%x02%B%x03 --encoding=UTF-8 -M --name-status -c --
    at git4idea.commands.GitSimpleHandler.run(GitSimpleHandler.java:241)
    at git4idea.history.GitHistoryUtils.loadDetails(GitHistoryUtils.java:843)
    at git4idea.history.GitHistoryUtils.history(GitHistoryUtils.java:806)
    at com.github.shiraji.findpullrequest.model.FindPullRequestModel.findPullRequestCommit(FindPullRequestModel.kt:75)
    at com.github.shiraji.findpullrequest.model.FindPullRequestModel.findPullRequestUrlOrCommitUrl(FindPullRequestModel.kt:49)
    at com.github.shiraji.findpullrequest.action.FindPullRequestAction.actionPerformed(FindPullRequestAction.kt:17)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:182)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:311)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:958)
    at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:281)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
    at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:109)
    at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:513)
    at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:45)
    at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:533)
    at java.awt.Component.processMouseEvent(Component.java:6414)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6179)
    at java.awt.Container.processEvent(Container.java:2084)
    at java.awt.Component.dispatchEventImpl(Component.java:4776)
    at java.awt.Container.dispatchEventImpl(Container.java:2142)
    at java.awt.Component.dispatchEvent(Component.java:4604)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4279)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4209)
    at java.awt.Container.dispatchEventImpl(Container.java:2128)
    at java.awt.Window.dispatchEventImpl(Window.java:2492)
    at java.awt.Component.dispatchEvent(Component.java:4604)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
    at java.awt.EventQueue.access$400(EventQueue.java:82)
    at java.awt.EventQueue$2.run(EventQueue.java:676)
    at java.awt.EventQueue$2.run(EventQueue.java:674)
    ... 17 more
Caused by: com.intellij.openapi.vcs.VcsException: fatal: Invalid revision range c26337a6b2a5df7059f2b28529823cf969f669f9

    at git4idea.commands.GitSimpleHandler$1.processTerminated(GitSimpleHandler.java:227)
    at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:88)
    at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:34)
    at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:68)
    at com.sun.proxy.$Proxy101.processTerminated(Unknown Source)
    at git4idea.commands.GitTextHandler$1.processTerminated(GitTextHandler.java:83)
    at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.intellij.execution.process.ProcessHandler$4.invoke(ProcessHandler.java:214)
    at com.sun.proxy.$Proxy15.processTerminated(Unknown Source)
    at com.intellij.execution.process.ProcessHandler$3.run(ProcessHandler.java:171)
    at com.intellij.execution.process.ProcessHandler$TasksRunner.execute(ProcessHandler.java:247)
    at com.intellij.execution.process.ProcessHandler.notifyTerminated(ProcessHandler.java:153)
    at com.intellij.execution.process.ProcessHandler.notifyProcessTerminated(ProcessHandler.java:149)
    at com.intellij.execution.process.BaseOSProcessHandler.onOSProcessTerminated(BaseOSProcessHandler.java:150)
    at com.intellij.execution.process.BaseOSProcessHandler$1$1.consume(BaseOSProcessHandler.java:115)
    at com.intellij.execution.process.BaseOSProcessHandler$1$1.consume(BaseOSProcessHandler.java:100)
    at com.intellij.execution.process.ProcessWaitFor$1.run(ProcessWaitFor.java:55)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:366)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:695)
    at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)
@shiraji shiraji self-assigned this Mar 24, 2016
@shiraji shiraji added the bug label Mar 24, 2016
@shiraji
Copy link
Owner Author

shiraji commented Mar 24, 2016

According to GitHistoryUtils#history, @throws VcsException if there is problem with running git. Need to catch and show notification.

@shiraji shiraji added this to the v1.0.1 milestone Mar 24, 2016
@shiraji shiraji added the Bug label Mar 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant