Skip to content

Unexpected internal calls in SARIF code flows #1366

Closed
@mmvpm

Description

@mmvpm

Description

Sometimes there are internal irrelevant entries in the stacktrace on the Problems tab:

public class ClassNotFoundException {
    public Class<?> getClass(String className) throws java.lang.ClassNotFoundException {
        return Class.forName(className);
    }
}

image

To Reproduce

  1. Enable the checkbox "Display detected errors..." in the project settings
  2. Run test generation on the sample class above
  3. Check the stacktrace on the Problems tab ("Analyze stack trace" button)

Expected behavior

No internal calls in the stacktrace

Actual behavior

org.utbot.instrumentation.process.HandlerClassesLoader.loadClass(ChildProcess.kt:48)

Metadata

Metadata

Assignees

Labels

ctg-bugIssue is a bug

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions