java.lang.ClassCastException: java.lang.String cannot be cast to com.ppolivka.gitlabprojects.merge.request.SearchableUser

GitHub | 4rg0n | 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

    GitHub comment 42#244326707

    GitHub | 8 months ago | 4rg0n
    java.lang.ClassCastException: java.lang.String cannot be cast to com.ppolivka.gitlabprojects.merge.request.SearchableUser
  2. 0

    java.lang.ClassCastException during merge request

    GitHub | 8 months ago | TobseF
    java.lang.ClassCastException: java.lang.String cannot be cast to com.ppolivka.gitlabprojects.merge.request.SearchableUser

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to com.ppolivka.gitlabprojects.merge.request.SearchableUser

      at com.ppolivka.gitlabprojects.component.SearchBoxModel.setSelectedItem()
    2. com.ppolivka.gitlabprojects
      SearchBoxModel.setSelectedItem
      1. com.ppolivka.gitlabprojects.component.SearchBoxModel.setSelectedItem(SearchBoxModel.java:106)
      1 frame
    3. Java RT
      EventQueue.dispatchEvent
      1. javax.swing.JComboBox.actionPerformed(JComboBox.java:1314)
      2. javax.swing.plaf.basic.BasicComboBoxUI$Handler.focusLost(BasicComboBoxUI.java:1852)
      3. java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:230)
      4. java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:229)
      5. java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:229)
      6. java.awt.Component.processFocusEvent(Component.java:6427)
      7. java.awt.Component.processEvent(Component.java:6291)
      8. java.awt.Container.processEvent(Container.java:2236)
      9. java.awt.Component.dispatchEventImpl(Component.java:4891)
      10. java.awt.Container.dispatchEventImpl(Container.java:2294)
      11. java.awt.Component.dispatchEvent(Component.java:4713)
      12. java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
      13. java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:995)
      14. java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:661)
      15. java.awt.Component.dispatchEventImpl(Component.java:4762)
      16. java.awt.Container.dispatchEventImpl(Container.java:2294)
      17. java.awt.Component.dispatchEvent(Component.java:4713)
      18. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
      19. java.awt.EventQueue.access$500(EventQueue.java:97)
      20. java.awt.EventQueue$3.run(EventQueue.java:709)
      21. java.awt.EventQueue$3.run(EventQueue.java:703)
      22. java.security.AccessController.doPrivileged(Native Method)
      23. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      24. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      25. java.awt.EventQueue$4.run(EventQueue.java:731)
      26. java.awt.EventQueue$4.run(EventQueue.java:729)
      27. java.security.AccessController.doPrivileged(Native Method)
      28. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      29. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
      29 frames
    4. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:829)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:665)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    5. Java RT
      Dialog.show
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
      4. java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
      5. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
      6. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
      9. java.awt.Dialog.show(Dialog.java:1084)
      9 frames
    6. IDEA
      DialogWrapper.show
      1. com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:778)
      2. com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:455)
      3. com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1665)
      4. com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1607)
      4 frames
    7. git4idea
      DialogManager.show
      1. git4idea.DialogManager.showDialog(DialogManager.java:56)
      2. git4idea.DialogManager.show(DialogManager.java:23)
      2 frames
    8. com.ppolivka.gitlabprojects
      GitLabApiAction.actionPerformed
      1. com.ppolivka.gitlabprojects.merge.request.GitLabMergeRequestAction.apiValidAction(GitLabMergeRequestAction.java:31)
      2. com.ppolivka.gitlabprojects.common.GitLabApiAction.actionPerformed(GitLabApiAction.java:58)
      2 frames
    9. IDEA
      ActionMenuItem$ActionTransmitter.actionPerformed
      1. com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:197)
      2. com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
      3. com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:156)
      4. com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:211)
      5. com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$actionPerformed$2(ActionMenuItem.java:304)
      6. com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:905)
      7. com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
      8. com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:284)
      8 frames
    10. Java RT
      AbstractButton.fireActionPerformed
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
      1 frame
    11. IDEA
      BegMenuItemUI$MyMouseInputHandler.mouseReleased
      1. com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$0(ActionMenuItem.java:112)
      2. com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
      3. com.intellij.openapi.application.TransactionGuardImpl.access$300(TransactionGuardImpl.java:40)
      4. com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:113)
      5. com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:123)
      6. com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:109)
      7. com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:112)
      8. com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:513)
      9. com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:45)
      10. com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:533)
      10 frames
    12. Java RT
      EventQueue.dispatchEvent
      1. java.awt.Component.processMouseEvent(Component.java:6535)
      2. javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
      3. java.awt.Component.processEvent(Component.java:6300)
      4. java.awt.Container.processEvent(Container.java:2236)
      5. java.awt.Component.dispatchEventImpl(Component.java:4891)
      6. java.awt.Container.dispatchEventImpl(Container.java:2294)
      7. java.awt.Component.dispatchEvent(Component.java:4713)
      8. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
      9. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
      10. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
      11. java.awt.Container.dispatchEventImpl(Container.java:2280)
      12. java.awt.Window.dispatchEventImpl(Window.java:2750)
      13. java.awt.Component.dispatchEvent(Component.java:4713)
      14. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
      15. java.awt.EventQueue.access$500(EventQueue.java:97)
      16. java.awt.EventQueue$3.run(EventQueue.java:709)
      17. java.awt.EventQueue$3.run(EventQueue.java:703)
      18. java.security.AccessController.doPrivileged(Native Method)
      19. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      20. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      21. java.awt.EventQueue$4.run(EventQueue.java:731)
      22. java.awt.EventQueue$4.run(EventQueue.java:729)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      25. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
      25 frames
    13. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:829)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:661)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    14. Java RT
      EventDispatchThread.pumpEvents
      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)
      5 frames