IntelliJ - 无法启动:0通过,1未启动 [英] IntelliJ - Failed to start: 0 passed, 1 not started

查看:1045
本文介绍了IntelliJ - 无法启动:0通过,1未启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚第一次使用IntelliJ IDEA社区版,我第一次使用它,所以如果我遗失了什么,请原谅。

Just been playing around for the first time with IntelliJ IDEA Community edition, first time I have worked with it so if I'm missing something, please excuse me.

我运行了一系列单元测试,但是,当在IntelliJ中运行它们时(标准设置开箱即用),我间歇地在控制台中出现以下错误:

I have a bunch of unit tests which I run, however, when running them in IntelliJ (with the standard setup out of the box), I intermittently get the following error in the console:


03:14:17无法启动:58通过,1未启动

03:14:17 Failed to start: 58 passed, 1 not started

我在网上搜索但无济于事。如果我只运行失败的测试,它可能会或可能不会打印出类似的错误:

I have searched the web but to no avail. If I run just the test that failed, it may or may not print out a similar error:


03:19:54无法启动:0通过,1未启动

03:19:54 Failed to start: 0 passed, 1 not started

如果我继续尝试,最终它会起作用并告诉我所有测试都已通过。

If I keep trying, eventually it works and tells me that all of my tests have passed.

图像不是错误的感叹号,它是一个不同的错误图标(),我不认识。 事件日志窗口中的错误显示为红色文本。

The image is not the error as an exclamation mark, it is a different error icon (), which I do not recognise. The error in Event Log window appears as red text.

它似乎总是只发生一次测试,对于任何给定的测试集,它始终是相同的测试。 I.E.在另一个项目中,同样的问题也会出现,但对于不同的测试(但在每个项目或一组测试中它总是相同的)。

It always appears to happen with only one test and it is always the same test for any given set of tests. I.E. In a different project, the same issue also appears, but for a different test (but its always the same one in each project or set of tests).

还有一件事要注意的是,这只发生在调试时,而不是在运行时,所以它可能与连接调试器有关吗?

One more thing to note is that this ONLY happens when debugging and not when running, so it may be something to do with connecting the debugger?

这一切都适用于Eclipse。

It all works perfectly fine with Eclipse.

任何可能导致这种情况的想法?

Any ideas what could be causing this?

非常感谢!

推荐答案

看起来这可能是IntelliJ上的一个错误,它已经被提出来了。

Looks like this may have been a bug on IntelliJ, it has been raised with them.

这篇关于IntelliJ - 无法启动:0通过,1未启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆