Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MergeFilter - API versions not supported #3409

Closed
fritschldwg opened this issue Nov 17, 2023 · 0 comments · Fixed by #3421
Closed

MergeFilter - API versions not supported #3409

fritschldwg opened this issue Nov 17, 2023 · 0 comments · Fixed by #3421
Labels
bug Only issues that describe bugs. pr-analysis Issues that touch the analysis pr(oject). priority:high Set by PO

Comments

@fritschldwg
Copy link
Collaborator

MergeFilter - API versions not supported

Expected Behavior

WHEN

  • Execute ccsh
  • Select the codechata\analysis folder to be analysed
  • Select sourcecodeparser and rawtextparser
  • Configure the sourcecodeparser to output JSON
  • After exectuting the parsers, select yes when being asked to merge the output files

THEN

  • The two outputfiles should get merged into one file

Actual Behavior

The following exception is thrown

de.maibornwolff.codecharta.filter.mergefilter.MergeException: API versions not supported.
        at de.maibornwolff.codecharta.filter.mergefilter.ProjectMerger.merge(ProjectMerger.kt:25)
        at de.maibornwolff.codecharta.filter.mergefilter.MergeFilter.call(MergeFilter.kt:97)
        at de.maibornwolff.codecharta.filter.mergefilter.MergeFilter.call(MergeFilter.kt:16)
        at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
        at picocli.CommandLine.access$1500(CommandLine.java:148)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
        at picocli.CommandLine.execute(CommandLine.java:2170)
        at de.maibornwolff.codecharta.tools.ccsh.parser.ParserService$Companion.executePreconfiguredParser(ParserService.kt:68)
        at de.maibornwolff.codecharta.tools.ccsh.Ccsh$Companion.executeConfiguredParser(Ccsh.kt:183)
        at de.maibornwolff.codecharta.tools.ccsh.Ccsh$Companion.askAndMergeResults(Ccsh.kt:175)
        at de.maibornwolff.codecharta.tools.ccsh.Ccsh$Companion.executeConfiguredParsers(Ccsh.kt:146)
        at de.maibornwolff.codecharta.tools.ccsh.Ccsh$Companion.executeParserSuggestions(Ccsh.kt:113)
        at de.maibornwolff.codecharta.tools.ccsh.Ccsh$Companion.executeCommandLine(Ccsh.kt:94)
        at de.maibornwolff.codecharta.tools.ccsh.Ccsh$Companion.main(Ccsh.kt:87)
        at de.maibornwolff.codecharta.tools.ccsh.Ccsh.main(Ccsh.kt)
[main] INFO de.maibornwolff.codecharta.tools.ccsh.Ccsh - Error executing merge, code 1

Screenshots

Config wrong api versions 2

Steps to Reproduce the Problem

  1. Execute ccsh
  2. Select the codechata\analysis folder to be analysed
  3. Select sourcecodeparser and rawtextparser
  4. Configure the sourcecodeparser to output JSON
  5. After exectuting the parsers, select yes when being asked to merge the output files

Specifications

  • is released in online-demo: yes
  • CodeCharta Version: 1.120.0
  • OS: Windows
  • Browser: -
@fritschldwg fritschldwg added bug Only issues that describe bugs. pr-analysis Issues that touch the analysis pr(oject). labels Nov 17, 2023
@ce-bo ce-bo added the priority:high Set by PO label Nov 17, 2023
fritschldwg added a commit that referenced this issue Nov 27, 2023
fritschldwg added a commit that referenced this issue Nov 28, 2023
fritschldwg added a commit that referenced this issue Nov 28, 2023
fritschldwg added a commit that referenced this issue Nov 28, 2023
Nereboss pushed a commit that referenced this issue Nov 28, 2023
Nereboss pushed a commit that referenced this issue Nov 28, 2023
Nereboss pushed a commit that referenced this issue Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Only issues that describe bugs. pr-analysis Issues that touch the analysis pr(oject). priority:high Set by PO
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants