java.lang.IllegalArgumentException: Argument for @NotNull parameter 'repository' of git4idea/branch/GitBranchUtil.getBranchNameOrRev must not be null

GitHub | ragol | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Argument for @NotNull parameter 'repository' of git4idea/branch/GitBranchUtil.getBranchNameOrRev must not be null

    GitHub | 8 months ago | ragol
    java.lang.IllegalArgumentException: Argument for @NotNull parameter 'repository' of git4idea/branch/GitBranchUtil.getBranchNameOrRev must not be null

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Argument for @NotNull parameter 'repository' of git4idea/branch/GitBranchUtil.getBranchNameOrRev must not be null

      at git4idea.branch.GitBranchUtil.getBranchNameOrRev()
    2. git4idea.branch
      GitBranchUtil.getBranchNameOrRev
      1. git4idea.branch.GitBranchUtil.getBranchNameOrRev(GitBranchUtil.java)
      1 frame
    3. gitflow
      GitflowBranchUtil.<init>
      1. gitflow.GitflowBranchUtil.<init>(GitflowBranchUtil.java:37)
      1 frame
    4. gitflow.ui
      GitflowTaskDialogPanelProvider.getOpenTaskPanel
      1. gitflow.ui.GitflowTaskDialogPanelProvider.getOpenTaskPanel(GitflowTaskDialogPanelProvider.java:21)
      1 frame
    5. com.intellij.tasks
      TaskDialogPanelProvider.lambda$getOpenTaskPanels$0
      1. com.intellij.tasks.ui.TaskDialogPanelProvider.lambda$getOpenTaskPanels$0(TaskDialogPanelProvider.java:39)
      1 frame
    6. IDEA
      ContainerUtil.mapNotNull
      1. com.intellij.util.containers.ContainerUtil.mapNotNull(ContainerUtil.java:1888)
      2. com.intellij.util.containers.ContainerUtil.mapNotNull(ContainerUtil.java:1837)
      2 frames
    7. com.intellij.tasks
      GotoTaskAction.lambda$showOpenTaskDialog$0
      1. com.intellij.tasks.ui.TaskDialogPanelProvider.getOpenTaskPanels(TaskDialogPanelProvider.java:38)
      2. com.intellij.tasks.actions.OpenTaskDialog.<init>(OpenTaskDialog.java:103)
      3. com.intellij.tasks.actions.GotoTaskAction.lambda$showOpenTaskDialog$0(GotoTaskAction.java:113)
      3 frames
    8. IDEA
      LaterInvocator$FlushQueue.run
      1. com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:291)
      2. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:326)
      3. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:310)
      3 frames
    9. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      8 frames
    10. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:863)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:699)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    11. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames