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 — "Array is empty" error message from ExecutionDistance class in utbot-summary module · Issue #267 · UnitTestBot/UTBotJava

"Array is empty" error message from ExecutionDistance class in utbot-summary module #267

New issue
Copy link
New issue
Copy link
Closed
#567
Closed
"Array is empty" error message from ExecutionDistance class in utbot-summary module#267
#567
Copy link
Assignees
amandelpie
Labels
comp-summariesSomething related to the method names, code comments and display names generationSomething related to the method names, code comments and display names generationctg-bugIssue is a bugIssue is a bug

Description

@amandelpie
amandelpie
opened on Jun 21, 2022
Issue body actions

Description

For many summary test generation the following message "Array is empty" is raised

To Reproduce

Generate tests without mocks for the Stats class from guava-26

Expected behavior

Tests are supposed to be generated.

Actual behavior

Tests are not generated and the mentioned earlier exception is found

Activity

  1. amandelpie
    self-assigned this
    on Jun 21, 2022
  2. amandelpie
    added
    ctg-bugIssue is a bugIssue is a bug
    on Jun 21, 2022
  3. korifey
    added this to UTBot Javaon Jun 21, 2022
  4. korifey
    moved this to Todo in UTBot Javaon Jun 21, 2022
  5. amandelpie
    added
    comp-summariesSomething related to the method names, code comments and display names generationSomething related to the method names, code comments and display names generation
    on Jun 21, 2022
  6. amandelpie commented on Jun 21, 2022

    @amandelpie
    amandelpie
    on Jun 21, 2022
    CollaboratorAuthor
    More actions

    @Markoutte did you have this exception?

  7. Markoutte commented on Jun 21, 2022

    @Markoutte
    Markoutte
    on Jun 21, 2022
    Collaborator
    More actions

    Looks like yes

  8. amandelpie commented on Jul 6, 2022

    @amandelpie
    amandelpie
    on Jul 6, 2022
    CollaboratorAuthor
    More actions

    Stacktrace

    When I run it for Stats.of(doubles) method

    The error which found is here ExecutionDistance: row 28 distances.last().last().toDouble()

  9. sergeypospelov commented on Jul 6, 2022

    @sergeypospelov
    sergeypospelov
    on Jul 6, 2022
    Member
    More actions

    Some context: If we use concrete execution not in the end of the analysis, the engine produces a UtExecution with empty paths, because ConcreteExecutor doesn't know hot to translate bytecode to soot.

    Reacted by Amandel Pie
  10. amandelpie commented on Jul 6, 2022

    @amandelpie
    amandelpie
    on Jul 6, 2022
    CollaboratorAuthor
    More actions

    @sergeypospelov thanks, looks like now we have a temporary solution and it should be revisited in the nearest future

    Reacted by Sergey Pospelov
  11. amandelpie commented on Jul 25, 2022

    @amandelpie
    amandelpie
    on Jul 25, 2022
    CollaboratorAuthor
    More actions

    Fixed in the #567

  12. amandelpie
    closed this as completedon Jul 25, 2022
  13. Repository owner moved this from Todo to Done in UTBot Javaon Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @amandelpie
    amandelpie

Labels

comp-summariesSomething related to the method names, code comments and display names generationSomething related to the method names, code comments and display names generationctg-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.