Title: The latest version (codeanalyzer-1.0.8.jar) of the code analyzer is failing when executing the datasets · Issue #87 · codellm-devkit/codeanalyzer-java · GitHub
Open Graph Title: The latest version (codeanalyzer-1.0.8.jar) of the code analyzer is failing when executing the datasets · Issue #87 · codellm-devkit/codeanalyzer-java
X Title: The latest version (codeanalyzer-1.0.8.jar) of the code analyzer is failing when executing the datasets · Issue #87 · codellm-devkit/codeanalyzer-java
Description: Describe the bug The latest version (codeanalyzer-1.0.8.jar) of the code analyzer execution is failing when executing the dataset . Currently, we have found this issue in the cash-account and portfolio-spring projects. code analyser vers...
Open Graph Description: Describe the bug The latest version (codeanalyzer-1.0.8.jar) of the code analyzer execution is failing when executing the dataset . Currently, we have found this issue in the cash-account and portf...
X Description: Describe the bug The latest version (codeanalyzer-1.0.8.jar) of the code analyzer execution is failing when executing the dataset . Currently, we have found this issue in the cash-account and portf...
Opengraph URL: https://github.com/codellm-devkit/codeanalyzer-java/issues/87
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The latest version (codeanalyzer-1.0.8.jar) of the code analyzer is failing when executing the datasets","articleBody":"### Describe the bug\r\n\r\nThe latest version (codeanalyzer-1.0.8.jar) of the code analyzer execution is failing when executing the dataset .\r\nCurrently, we have found this issue in the cash-account and portfolio-spring projects.\r\ncode analyser version = codeanalyzer-1.0.8.jar\r\ndatasets = https://github.com/IBMStockTrader/cash-account,\r\n https://github.com/IBMStockTrader/portfolio-spring\r\n\r\n### Steps To Reproduce\r\n\r\nSteps to reproduce the behavior:\r\nexecute below command with latest code analyser (1.0.8)\r\njava -jar codeanalyzer-1.0.8.jar -i ~/{root project folder} -o ~/{outputFolder} -a 2\r\n\r\n### Observed behavior\r\n\r\nCommand execution is failing with the following error:\r\n\r\njava.lang.RuntimeException: java.lang.IllegalStateException: Could not find a valid maven command. I did not find \r\n/cash-account/mvnw in the project directory or in the system PATH.\r\n\tat com.ibm.cldk.CodeAnalyzer.run(CodeAnalyzer.java:103)\r\n\tat picocli.CommandLine.executeUserObject(CommandLine.java:1767)\r\n\tat picocli.CommandLine.access$900(CommandLine.java:145)\r\n\tat picocli.CommandLine$RunLast.handle(CommandLine.java:2139)\r\n\tat picocli.CommandLine$RunLast.handle(CommandLine.java:2106)\r\n\tat picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1973)\r\n\tat picocli.CommandLine.execute(CommandLine.java:1902)\r\n\tat com.ibm.cldk.CodeAnalyzer.main(CodeAnalyzer.java:92)\r\nCaused by: java.lang.IllegalStateException: Could not find a valid maven command. I did not find /cash-account/mvnw in the project directory or in the system PATH.\r\n\tat com.ibm.cldk.utils.BuildProject.downloadLibraryDependencies(BuildProject.java:231)\r\n\tat com.ibm.cldk.CodeAnalyzer.analyze(CodeAnalyzer.java:121)\r\n\tat com.ibm.cldk.CodeAnalyzer.run(CodeAnalyzer.java:101)\r\n\r\n### Expected behavior\r\n\r\nIt should execute and build analysis.json without any error\r\n\r\n### Screenshots\r\n\r\nIf applicable, add screenshots to help explain your problem.\r\n\r\n### Environment (please complete the following information):\r\n \r\n- OS = macOS 15.1, linux\r\n - Version of Java = Eclipse OpenJ9 VM 17.0.10.0\r\n - Version of Maven = Apache Maven 3.9.9\r\n\r\n### Additional context\r\n\r\nAdd any other context about the problem here.\r\n","author":{"url":"https://github.com/rejoykulangara","@type":"Person","name":"rejoykulangara"},"datePublished":"2025-01-08T17:21:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/87/codeanalyzer-java/issues/87"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0adf2e70-a985-52d9-d8a9-01bd64384530 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABA4:18096:7F9CCB:ADF055:698E0C97 |
| html-safe-nonce | 9bd2b7b866a08f5bbc02c3bca8c23480d494e05c2a6a34023ec91dbc5279dced |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkE0OjE4MDk2OjdGOUNDQjpBREYwNTU6Njk4RTBDOTciLCJ2aXNpdG9yX2lkIjoiMTQyODkxMTIxNzE0NTk0MTE0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 878c20bb2a0dd72128976833842854ec96026355aa943317f48982f070932f05 |
| hovercard-subject-tag | issue:2775922802 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/codellm-devkit/codeanalyzer-java/87/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4e7b12ac3b9984b53c772ec1f098911826a0745bc44705e6f51a341b9e315399/codellm-devkit/codeanalyzer-java/issues/87 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4e7b12ac3b9984b53c772ec1f098911826a0745bc44705e6f51a341b9e315399/codellm-devkit/codeanalyzer-java/issues/87 |
| og:image:alt | Describe the bug The latest version (codeanalyzer-1.0.8.jar) of the code analyzer execution is failing when executing the dataset . Currently, we have found this issue in the cash-account and portf... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rejoykulangara |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdf74c91c9ac187cc5cd7b14d4af2d6ef3e18136d002f5d36253f8538e97ee4c |
| turbo-cache-control | no-preview |
| go-import | github.com/codellm-devkit/codeanalyzer-java git https://github.com/codellm-devkit/codeanalyzer-java.git |
| octolytics-dimension-user_id | 197800760 |
| octolytics-dimension-user_login | codellm-devkit |
| octolytics-dimension-repository_id | 731300153 |
| octolytics-dimension-repository_nwo | codellm-devkit/codeanalyzer-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 731300153 |
| octolytics-dimension-repository_network_root_nwo | codellm-devkit/codeanalyzer-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1a5a3e7bbfb3486980e340c242368684156fba87 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width