Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-3539

IntelliJ : Random Null pointer Exception is thrown when using MTA and MTR plugins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • False
    • None
    • False
    • User Experience
    • Hide
      * *Why we missed the bug?*
       ** Pick to proper answer from drop-down field upper.
       +_Additional comments:_+


       * *What is required:*
       ** Pick to proper answer from drop-down field upper.
       +_Additional comments:_+
      Show
      * *Why we missed the bug?*  ** Pick to proper answer from drop-down field upper.  +_Additional comments:_+  * *What is required:*  ** Pick to proper answer from drop-down field upper.  +_Additional comments:_+
    • ---
    • ---

      Description of problem

      A NULL Pointer Exception error is thrown to the user whilst using the MTA and MTR plugin, the root cause of the exception is not yet know, but from the exception log it is related to the Apply All Quickfixes functionality.

      How reproducible

      Intermittent

      Steps to Reproduce:

      No reproducible steps, casually use the MTA or the MTR plugin at some point the error will be thrown.

      Actual results 

      A NULL Pointer Exception error is thrown to the user

      Expected results

      This should be Handled properly.

      Additional info

      Full log:

      update failed for AnAction(org.jboss.tools.intellij.windup.explorer.actions.ApplyAllQuickfixAction, id=org.jboss.tools.intellij.windup.explorer.actions.ApplyAllQuickfixAction) with text=Apply All Quickfixesjava.lang.NullPointerException
          at org.jboss.tools.intellij.windup.explorer.actions.ApplyAllQuickfixAction.computeQuickfixes(ApplyAllQuickfixAction.java:109)
          at org.jboss.tools.intellij.windup.explorer.actions.ApplyAllQuickfixAction.isVisible(ApplyAllQuickfixAction.java:64)
          at org.jboss.tools.intellij.windup.explorer.actions.AbstractTreeAction.update(AbstractTreeAction.java:61)
          at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performDumbAwareUpdate$0(ActionUtil.java:131)
          at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:145)
          at com.intellij.openapi.actionSystem.impl.ActionUpdater.doUpdate(ActionUpdater.java:645)
          at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$updateActionReal$4(ActionUpdater.java:126)
          at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$computeOnEdt$6(ActionUpdater.java:210)
          at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:58)
          at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:189)
          at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608)
          at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683)
          at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639)
          at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607)
          at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
          at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:176)
          at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:58)
          at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$computeOnEdt$7(ActionUpdater.java:208)
          at com.intellij.openapi.actionSystem.impl.ActionUpdateEdtExecutor.lambda$computeOnEdt$0(ActionUpdateEdtExecutor.java:45)
          at com.intellij.openapi.actionSystem.impl.Utils.lambda$expandActionGroupFastTrack$5(Utils.java:270)
          at com.intellij.openapi.actionSystem.impl.Utils.runLoopAndWaitForFuture(Utils.java:595)
          at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroupFastTrack(Utils.java:268)
          at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroupImpl(Utils.java:180)
          at com.intellij.openapi.actionSystem.impl.Utils.lambda$fillMenu$6(Utils.java:294)
          at com.intellij.openapi.actionSystem.impl.Utils.computeWithRetries(Utils.java:633)
          at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:293)
          at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.lambda$updateChildren$1(ActionPopupMenuImpl.java:171)
          at com.intellij.util.TimeoutUtil.run(TimeoutUtil.java:59)
          at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.updateChildren(ActionPopupMenuImpl.java:170)
          at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:129)
          at com.intellij.ui.PopupHandler$2.invokePopup(PopupHandler.java:142)
          at com.intellij.ui.PopupHandler.mousePressed(PopupHandler.java:47)
          at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:288)
          at java.desktop/java.awt.Component.processMouseEvent(Component.java:6651)
          at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
          at com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:394)
          at java.desktop/java.awt.Component.processEvent(Component.java:6419)
          at java.desktop/java.awt.Container.processEvent(Container.java:2263)
          at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5029)
          at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
          at java.desktop/java.awt.Component.dispatchEvent(Component.java:4861)
          at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
          at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544)
          at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
          at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
          at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2793)
          at java.desktop/java.awt.Component.dispatchEvent(Component.java:4861)
          at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
          at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
          at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
          at java.base/java.security.AccessController.doPrivileged(Native Method)
          at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
          at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
          at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
          at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
          at java.base/java.security.AccessController.doPrivileged(Native Method)
          at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
          at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
          at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:898)
          at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:820)
          at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:743)
          at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:439)
          at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:803)
          at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:438)
          at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:119)
          at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:604)
          at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:436)
          at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:873)
          at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:484)
          at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
          at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
          at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
          at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
          at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
          at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
       

       

       

       

            josteele John Steele
            midays mohamed idays
            mohamed idays mohamed idays
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: