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

孤街醉人 提交于 2019-12-02 06:21:29

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!