Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

could not access: readStream; in class: io.vertx.codegen.type.ApiTypeInfo

Open
#277 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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

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.

More from eclipse-vertx/vertx-codegen

All issues in eclipse-vertx/vertx-codegen

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.