卸载java提示内部错误,在以下期间发生内部错误:“计算启动按钮工具提示”。 TestNG安装后,带有Eclipse Kepler的java.lang.IllegalArgumentException...

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 even if I hover over on run the following error message is displayed.

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

If I uninstall testing all my scripts run. But as soon as I reinstall Testing the issue reappears

I have tried the following methods:

Re-installing Eclipse

Changing Workspace

Restarting Eclipse

Creating new projects

Installing TestNg from Eclipse Marketplace as well as by Installing new software.

解决方案

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
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值