EventPorts without EventOut not regarded
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
- 42/100
Hướng nghiên cứu
Bắt đầu trong core/run/WithBuilder.postBuild() và theo dõi cách source và target được lấy cho một explicitInput nhắm đến một model có một out EventPort nhưng không có chỉ thị eventout. Tái hiện lỗi con trỏ null với cách sắp xếp model đó, sau đó xác minh rằng port vẫn có thể được sử dụng trong quá trình mô phỏng mà không cần chỉ thị eventout.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I am not quite sure if it is a bug or intended behavior, but whenever we utilize an out EventPort in our model without the corresponding EventOut directive, this port seems not to be further regarded during the simulation. For example, if we define an explicit input (e.g. ), it is required to have an output port in the target model. If this model provides an out-port, but without a corresponding eventout directive, this port can not be further used. By debugging jLEMS I somehow tried to locate the problem: In core/run/WithBuilder, there is a method called postBuild() which is used to retrieve the source and target by the path. However, the component returned as source/target does not contain any output ports (if no out directive is stated), therefore the overall process stops with an nullpoint exception given the fact, that no output port can be found.
I am fully aware that we can avoid this problem by simply stating an event-out directive, but this can result in other problems, e.g. when components communicate between each other.
- Ngôn ngữ chính
- Java
- Star
- 13
- Fork
- 11
- 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
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 LEMS/jLEMS
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
As a user I want to set a recording frequency different from the simulation/integration time stepĐang mởenhancement help required
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
Issue tương tự
-
status: needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
JabRef/jabref#17546 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
hiero-ledger/hiero-sdk-java#3010 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Optimize consumer version heatmap aggregation to avoid repeated scansCó thể đã có người làm @praykaria31 đã nhận hôm nay. Đang mởtype/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Apicurio/apicurio-registry#10662 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
a:false-positive
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
status: waiting-for-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
spring-projects/spring-boot#52347 ·
Maintainer thường phản hồi trong vòng 2 ngày