Processor yield NPE under some circonstancies
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start with the CodeGenProcessor and the linked IDEA-258659 reproducer. Rebuild the sample project with IntelliJ 2020.2.4 and 2020.3 using JDK 8 to confirm when the NPE occurs, then compare the processor behavior with the IntelliJ reports. Done means the processor no longer fails with an NPE under the reported build configuration.
Written by the indexing model from the issue text.
Description
Questions
When using IntelliJ > 2020.2.4 the build fails with NPE in the CodeGenProcessor.
This sound very much like an intelliJ issue however their investigation seem to aim for a lack of robustness in some processor implementations.
Here is the ticket I filled in at IntelliJ' support : https://youtrack.jetbrains.com/issue/IDEA-258659
This other ticket may be of interest too: https://youtrack.jetbrains.com/issue/IDEA-257871
Version 3.5.3
Context
Problem ocurred while uprading from IntelliJ 2020.2.4 to 2020.3
Do you have a reproducer?
The following sample project builds againts intelliJ 2020.2.4 and not against 2020.3
Steps to reproduce
- clone repo
- build -> rebuild project
Extra
- windows 10 pro
- oracle jdk8u201
- For those who are looking for a workround, in the link I provided above, they explained how to configure the
-Djps.track.ap.dependencies=falseflag, this worked for me.
- Dominant language
- Java
- Stars
- 111
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from eclipse-vertx/vertx-codegen
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 15/100
eclipse-vertx/vertx-codegen#361 ·
-
help wanted
Difficulty 4/5 3-5 days Newbie friendliness 35/100
eclipse-vertx/vertx-codegen#340 · 11 comments · 2 reactions ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
eclipse-vertx/vertx-codegen#335 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
eclipse-vertx/vertx-codegen#319 · 1 comment · 1 reaction ·
-
JPMS json mapperOpenbug help wanted
Difficulty 4/5 3-5 days Newbie friendliness 25/100
eclipse-vertx/vertx-codegen#315 ·
All issues in eclipse-vertx/vertx-codegen
Similar issues
-
P2 testing
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
area/core kind/bug status/triage team/core-shared
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
checkstyle/checkstyle#21755 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
spring-projects/spring-integration#11495 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day