openrewrite / openrewrite/rewrite-analysis

Misc. errors thrown while running `org.openrewrite.analysis.controlflow.ControlFlowVisualization`

Open
#39 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
16
Forks
12
Avg merge
2h 26m
Merged PRs (30d)
1

Description

  • Duplicate key J.Block on src/main/java/com/amazonaws/kinesisvideo/internal/service/BlockingAckConsumer.java
  • No current node! on JS files
  • Could not parse as Java on sdk1/src/test/java/com/amazonaws/services/dynamodbv2/mapper/integration/DynamoDBTestBase.java
  • Unable to create new J.VariableDeclarations with name enumSymbolIterator on avro-kafkaconnect-converter/src/main/java/com/amazonaws/services/schemaregistry/kafkaconnect/avrodata/AvroData.java
  • Condition Node is not a guard! on src/main/webapp/config.js [JS file]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with org.openrewrite.analysis.controlflow.ControlFlowVisualization and reproduce the listed failures against the referenced Java and JavaScript files. Review each reported error, including the duplicate J.Block key, missing current node, Java parse failure, variable-declaration failure, and guard-condition failure; done means the visualization runs without these errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript
Domain
compilers, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.