GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — "Entry <...> is a duplicate" error after launching test generated for Kotlin · Issue #950 · UnitTestBot/UTBotJava

"Entry <...> is a duplicate" error after launching test generated for Kotlin #950

New issue
Copy link
New issue
Copy link
Closed
#1019
Closed
"Entry <...> is a duplicate" error after launching test generated for Kotlin#950
#1019
Copy link
Assignees
volivan239
Labels
ctg-bugIssue is a bugIssue is a bug

Description

@volivan239
volivan239
opened on Sep 16, 2022
Issue body actions

Description

Each time I generate tests with UTBot for Kotlin code, I'm unable to launch them because build fails.

To Reproduce

  1. Create a Kotlin class
  2. Launch action on it
  3. Launch generated tests

Expected behavior

Tests are launched normally.

Actual behavior

Build fails

Visual proofs (screenshots, logs, images)

Execution failed for task ':jar'.
> Entry generics/StandardCollections.class is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.0.2/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details.

(generics.StandarCollections is the class I'm launching action on)

Environment

Default sandbox.

Additional context

Running gradle clean after test generation fixes the problem.

Activity

  1. volivan239
    added
    ctg-bugIssue is a bugIssue is a bug
    on Sep 16, 2022
  2. volivan239
    self-assigned this
    on Sep 16, 2022
  3. korifey
    added this to UTBot Javaon Sep 16, 2022
  4. korifey
    moved this to Todo in UTBot Javaon Sep 16, 2022
  5. volivan239
    closed this as completedin #1019on Sep 30, 2022
  6. Repository owner moved this from Todo to Done in UTBot Javaon Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @volivan239
    volivan239

Labels

ctg-bugIssue is a bugIssue is a bug

Type

No type

Projects

  • UTBot Java
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.