Title: Illegal state exception (duplicate key) while analyzing redis lettuce project · Issue #136 · codellm-devkit/codeanalyzer-java · GitHub
Open Graph Title: Illegal state exception (duplicate key) while analyzing redis lettuce project · Issue #136 · codellm-devkit/codeanalyzer-java
X Title: Illegal state exception (duplicate key) while analyzing redis lettuce project · Issue #136 · codellm-devkit/codeanalyzer-java
Description: Describe the bug Analyzing the redis lettuce project at analysis level 1 results in this runtime error: java.lang.RuntimeException: java.lang.IllegalStateException: Duplicate key connectStatefulAsync(T, DefaultEndpoint, RedisURI, Mono, S...
Open Graph Description: Describe the bug Analyzing the redis lettuce project at analysis level 1 results in this runtime error: java.lang.RuntimeException: java.lang.IllegalStateException: Duplicate key connectStatefulAsy...
X Description: Describe the bug Analyzing the redis lettuce project at analysis level 1 results in this runtime error: java.lang.RuntimeException: java.lang.IllegalStateException: Duplicate key connectStatefulAsy...
Opengraph URL: https://github.com/codellm-devkit/codeanalyzer-java/issues/136
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Illegal state exception (duplicate key) while analyzing redis lettuce project","articleBody":"**Describe the bug**\nAnalyzing the redis lettuce project at analysis level 1 results in this runtime error:\n```\njava.lang.RuntimeException: java.lang.IllegalStateException: Duplicate key connectStatefulAsync(T, DefaultEndpoint, RedisURI, Mono, Supplier) (attempted merging values Callable(filePath=./redis_lettuce/src/main/java/io/lettuce/core/cluster/RedisClusterClient.java, signature=connectStatefulAsync(T, DefaultEndpoint, RedisURI, Mono, Supplier), comments=[Comment(content=\n * Initiates a channel connection considering {@link ClientOptions} initialization options, authentication and client name\n * options.\n , startLine=844, endLine=847, startColumn=5, endColumn=7, isJavadoc=true)], annotations=[@SuppressWarnings(\"unchecked\")], modifiers=[private], thrownExceptions=[], declaration=private ConnectionFuture\u003cS\u003e connectStatefulAsync(T connection, DefaultEndpoint endpoint, RedisURI connectionSettings, Mono\u003cSocketAddress\u003e socketAddressSupplier, Supplier\u003cCommandHandler\u003e commandHandlerSupplier), parameters=[ParameterInCallable(type=T, name=connection, annotations=[], modifiers=[], startLine=849, endLine=849, startColumn=116, endColumn=127), ParameterInCallable(type=io.lettuce.core.protocol.DefaultEndpoint, name=endpoint, annotations=[], modifiers=[], startLine=850, endLine=850, startColumn=13, endColumn=36), ParameterInCallable(type=io.lettuce.core.RedisURI, name=connectionSettings, annotations=[], modifiers=[], startLine=850, endLine=850, startColumn=39, endColumn=65), ParameterInCallable(type=reactor.core.publisher.Mono\u003cjava.net.SocketAddress\u003e, name=socketAddressSupplier, annotations=[], modifiers=[], startLine=850, endLine=850, startColumn=68, endColumn=108), ParameterInCallable(type=java.util.function.Supplier\u003cio.lettuce.core.protocol.CommandHandler\u003e, name=commandHandlerSupplier, annotations=[], modifiers=[], startLine=851, endLine=851, startColumn=13, endColumn=59)], code={\n\n ConnectionBuilder connectionBuilder = createConnectionBuilder(connection, connection.getConnectionState(), endpoint,\n connectionSettings, socketAddressSupplier, commandHandlerSupplier);\n\n ConnectionFuture\u003cRedisChannelHandler\u003cK, V\u003e\u003e future = initializeChannelAsync(connectionBuilder);\n\n return future.thenApply(channelHandler -\u003e (S) connection);\n }\n...\n```\n\n**To Reproduce**\nSteps to reproduce the behavior:\n1. Run code analyzer on the attached `redis/lettuce` project\n```\njava -jar ./build/libs/codeanalyzer-2.3.4.jar --input ./redis_lettuce --output ./output --analysis-level 1\n```\n[redis_lettuce.tgz](https://github.com/user-attachments/files/20551765/redis_lettuce.tgz)\n\n**Expected behavior**\nA clear and concise description of what you expected to happen.\n\n**Logs**\nIf applicable, add logs to help explain your problem.\n\n**Additional context**\nAdd any other context about the problem here.\n","author":{"url":"https://github.com/sinha108","@type":"Person","name":"sinha108"},"datePublished":"2025-06-02T12:59:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/136/codeanalyzer-java/issues/136"}
| 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:69a3dd25-dfbe-99bf-51b7-f55a19e4d65b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84FA:28904:8E2268:C32608:698E0CAE |
| html-safe-nonce | cbbdf590eb6c6b01dc2422a8f4a4405c952fa5af5f67c4471bbb174d775611f6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEZBOjI4OTA0OjhFMjI2ODpDMzI2MDg6Njk4RTBDQUUiLCJ2aXNpdG9yX2lkIjoiNzQzMjI0MTc4ODUyMDEwNzE4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 12d1899a8f845c1f0ab99d02bc808a62e6837fce55b7bae19e9e3f3e33444f2b |
| hovercard-subject-tag | issue:3110091840 |
| 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/136/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c8007672dcbb42b56051f315d92adbbc81c74e72a9967a69a567f11a8203f9bd/codellm-devkit/codeanalyzer-java/issues/136 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c8007672dcbb42b56051f315d92adbbc81c74e72a9967a69a567f11a8203f9bd/codellm-devkit/codeanalyzer-java/issues/136 |
| og:image:alt | Describe the bug Analyzing the redis lettuce project at analysis level 1 results in this runtime error: java.lang.RuntimeException: java.lang.IllegalStateException: Duplicate key connectStatefulAsy... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sinha108 |
| 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