could not access: readStream; in class: io.vertx.codegen.type.ApiTypeInfo
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
Research direction
Reproduce the 4.0.0-SNAPSHOT code-generation run through Kotlin kapt using CallbackKue.java and JobService, including the Java JobCodec and package-info.java mappers. Start with the ApiTypeInfo.readStream error and compare both service-interface declarations; done means the codegen no longer fails at those declarations.
Written by the indexing model from the issue text.
Description
Trying out the 4.0.0-SNAPSHOT build and while it was working a couple weeks ago I'm now getting this really cryptic error that I haven't been able to pinpoint down to anywhere.
vertx/blueprint/kue/CallbackKue.java:21: error: Could not generate model for io.vertx.blueprint.kue.CallbackKue: [Error: could not access: readStream; in class: io.vertx.codegen.type.ApiTypeInfo]
public interface CallbackKue extends JobService {
^
[Near : {... } ....}]
^
[Line: 25, Column: 5]
The code is basically just a Kotlin translation of the vertx kue blueprint. The service interfaces are still in Java though. There's a JobCodec in Java I had to add since the codegen doesn't handle Kotlin classes well for DataObjects. Which is why it's using the 4.0.0 version of the code, it uses the new mappers(previously codecs) function in package-info.java. The codegen is getting run by kapt, which was working fine before. The same error happens with both service files, CallbackKueue and JobService if you're familiar with the Kue library. Both basically just point at the interface declaration itself, nowhere useful in particular
Just wondering if you've come across any similar errors while testing the 4.0 branch?
- Dominant language
- Java
- Stars
- 111
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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 4/5 3-5 days Newbie friendliness 25/100
eclipse-vertx/vertx-codegen#320 · 4 comments ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
eclipse-vertx/vertx-codegen#319 · 1 comment · 1 reaction ·
All issues in eclipse-vertx/vertx-codegen
Similar issues
-
CalendarEventAttendance/get returns eventAttendanceStatus while the doc says attendanceStatusPossibly taken @chibenwa claimed this today. Openbug claude
Difficulty 1/5 Under an hour Newbie friendliness 90/100
linagora/tmail-backend#2697 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/skywalking#14120 ·
Maintainers usually reply within 1 day
-
[BUG] Case-insensitive search suggestions miss items when the JVM default locale is TurkishPossibly taken @thswlsqls claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
HMCL-dev/HMCL#6943 · 1 comment ·
Maintainers usually reply within 1 day
-
NameAllocator generates colliding identifiers with ignorable charactersPossibly taken @PHJ2000 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day