Skip to content

Occasionally duplication of the error in Problems View #1867

Closed
@tyuldashev

Description

@tyuldashev

Description

Sometimes the same problem displayed twice in Problems view.

To Reproduce
There is no exact steps to reproduce and I faced it only couple of times today. Both times it happens when I:

  • Generated test for all methods in org.utbot.examples.exceptions.ExceptionExamples from UTBot Java project, which was copied into dedicated project.
  • It was TestNG test framework and JDK 17 as a project JDK. Though not sure if it's important.

Steps to reproduce the behavior:

  1. Create new project with JDK 17
  2. Copy org.utbot.examples.exceptions.ExceptionExamples from UTBot Java project to the new project.
  3. Generate tests for that class with TestNG framework.

Expected behavior
Tests are generated in Problems view there is only entry for division by zero problem:
image

Actual behavior

Sometimes there are two entries which point to the same test.

Visual proofs (screenshots, logs, images)
image

Attaching both SARIF reports with duplicated problems.

Maven17JUnit5Report.log
Gradle17TestNGReport.log

Metadata

Metadata

Assignees

Labels

comp-sarifIssue is related to SARIF report or Problems tabctg-bugIssue is a bug

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions