Skip to content

java.lang.IllegalStateException: ClassId com.google.common.collect.TreeMultiset$1 does not have canonical name #2458

Closed
@Markoutte

Description

@Markoutte

Description

Error during running ContestEstimator for classes that have anonymous classes:

<StatsForClass(com.google.common.collect.TreeMultiset)> :
	canceled by timeout = false
	#methods = 61, 
	#methods started symbolic exploration = 61
	#methods with at least one TC = 8
	#methods with exceptions = 4
	#generated TC = 8
	#total coverage = 117/2161
	#fuzzed coverage = 117/2161
	#concolic coverage = 0/2161
07:48:25.216 | INFO  | ISOLATION: java.lang.IllegalStateException: ClassId com.google.common.collect.TreeMultiset$1 does not have canonical name
07:48:25.217 | INFO  | continue without compilation

As result ContestEstimator doesn't produce any test.

To Reproduce

  1. Set 'guava' project in ContestEstimator.kt class, fuzzingRatio = 1.0, timeLimit = 60
  2. Change file utbot-junit-contest/src/main/resources/classes/guava/list and leave only com.google.common.collect.TreeMultiset
  3. Run ContestEstimator

Expected behavior

Generated test can be found in utbot-junit-contest/build/output

Actual behavior

No test generated.

Metadata

Metadata

Assignees

Labels

comp-fuzzingIssue is related to the fuzzingcomp-summariesSomething related to the method names, code comments and display names generationctg-bugIssue is a bug

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions