冻结的“仍在工作..."遍历质量配置文件中的规则和某些规则中的无名规则集时出现的消息 [英] Frozen "Still Working..." message when traversing rules in quality profile AND nameless rulesets in some rules

查看:112
本文介绍了冻结的“仍在工作..."遍历质量配置文件中的规则和某些规则中的无名规则集时出现的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个SQ 5.3的新实例. 我从另一个SQ 5.3实例(从SQ 5.1.2迁移)导入了几个Java质量配置文件.

然后,当我打开任何Java质量概要文件时,都可以看到属于它的所有规则. 但是,当我单击一条规则以查看其定义时,我会看到消息仍在工作...",即使经过很长时间,该消息也不会消失!

更有趣的是:当我单击滚动"按钮以获取下一个规则的定义时,对于某些规则,该定义出现,同时仍显示仍在工作..."消息./p>

另一件事:如果显示了定义的规则,我会看到该规则属于2个规则集:声纳方式",并赋予一个规则集没有的名称!然后,当我尝试从无名的规则集中删除规则时,出现错误消息找不到质量配置文件:java-sonar-way-28885"!即使在SonarQube的现有规则集中没有28885的规则集.

更新:我在所有其他语言的规则中也发现了无名规则集的问题,例如Web或XML,即使我没有做任何更改!

是什么导致了所描述的错误?如何解决?

谢谢.

解决方案

问题已解决!

之后:

  1. 停止SQ,
  2. 删除文件夹"/data/es"(包含Elastic Search数据),
  3. 开始SQ

一切都再次正常!

尽管如此,问题仍然存在:是什么引起了问题?从文件恢复质量配置文件?

I have a new instance of SQ 5.3. I imported couple of Java quality profiles from another SQ 5.3 instance (migrated from SQ 5.1.2).

Then, when I open any Java quality profile I can see all rules belonging to it. But when I click at a rule to see its definition then I see the message "Still Working..." which doesn't disappear at all, even after a long time!

What's more interesting: when I click at the 'scroll' button to get to the definition of the next rule then, for some rules, the definition appears while the message "Still Working..." is still being shown.

One more thing: in case of a rule which definition is show I see that the rule belongs to e.g. 2 rulesets: 'Sonar way' and to a ruleset without name! When I then try to remove the rule from the nameless ruleset I get the error message "Quality profile not found: java-sonar-way-28885"! Even if there is no ruleset with 28885 in the existing rulesets on SonarQube.

Update: I observe the problem with nameless rulesets in rules for all other languages, as well, e.g. Web or XML, even if I haven't changed there anything!

What caused the described errors? How can they be fixed?

Thanks in advance.

解决方案

Problem solved!

After:

  1. Stopping SQ,
  2. Deleting the folder '/data/es' (with Elastic Search data),
  3. Starting SQ

everything worked fine again!

Nevertheless, the question stays: what caused the problem? Restoring quality profiles from files?

这篇关于冻结的“仍在工作..."遍历质量配置文件中的规则和某些规则中的无名规则集时出现的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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