An internal error occurred during: “Compute launch button tooltip”. java.lang.IllegalArgumentException with Eclipse Kepler after TestNG installation

前端 未结 1 1018
被撕碎了的回忆
被撕碎了的回忆 2021-01-23 11:29

My projects in Eclipse Kepler were working just fine until I downloaded TestNG. Post TestNG download, I am unable to click on Run button for my code. after I click on run or eve

相关标签:
1条回答
  • 2021-01-23 11:59

    The error says it all :

    An internal error occurred during: "Compute launch button tooltip". java.lang.IllegalArgumentException
    

    Root Cause

    You are unable to click on Run button for your code or after you click on Run when you hover over on Run you see the error because the labels of these buttons are calculated depending on the *.java file in the active editor. This issue can occur if there are two jars with same classes e.g. (selenium-server-standalone-3.9.1 and client-combined-3.9.1).

    Solution

    So the possible solutions are :

    • Use only single Java Client variant either selenium-server-standalone-3.9.1 and client-combined-3.9.1
    • Change all inner classes in the file (including static ones) from private to default access.
    • Clean your Projects from your IDE.
    • Use CCleaner to wipe off all the OS chores before and after the execution of your Test Suite
    • Incase you need to uninstall Eclipse use Revo Uninstaller with Moderate scan.
    • Reboot your System.
    • Execute your Tests

      Here you can find here a detailed discussion on "Compute launch button tooltip" error

    0 讨论(0)
提交回复
热议问题