could not access: readStream; in class: io.vertx.codegen.type.ApiTypeInfo
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
Tái hiện lần chạy tạo mã của 4.0.0-SNAPSHOT thông qua Kotlin kapt bằng cách sử dụng CallbackKue.java và JobService, bao gồm các mapper Java JobCodec và package-info.java. Bắt đầu với lỗi ApiTypeInfo.readStream và so sánh cả hai khai báo interface dịch vụ; hoàn thành khi quá trình tạo mã không còn thất bại tại các khai báo đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- Java
- Star
- 111
- Fork
- 88
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của eclipse-vertx/vertx-codegen
-
Protobuf enum supportĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
eclipse-vertx/vertx-codegen#361 ·
-
help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
eclipse-vertx/vertx-codegen#340 · 11 bình luận · 2 reaction ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
eclipse-vertx/vertx-codegen#335 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
eclipse-vertx/vertx-codegen#320 · 4 bình luận ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
eclipse-vertx/vertx-codegen#319 · 1 bình luận · 1 reaction ·
Tất cả issue của eclipse-vertx/vertx-codegen
Issue tương tự
-
[destination-snowflake] Custom domains rejected unlike source connectionsCó thể đã có người làm @kuza55 đã nhận hôm nay. Đang mởautoteam community connectors/destination/snowflake team/use
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area-dashboard
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
component/operate kind/feature-request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Forge coverage prompts carry text the agent cannot act onCó thể đã có người làm @graalvmbot đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
oracle/graalvm-reachability-metadata#10572 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bundled migration plansĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
IBM/sample-app-mod#55 ·