Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMV2Util.getErrorType(EMV2Path ep) returns null for bindings.NetworkError #1975

Closed
thari opened this issue Aug 29, 2019 · 0 comments · Fixed by #1978
Closed

EMV2Util.getErrorType(EMV2Path ep) returns null for bindings.NetworkError #1975

thari opened this issue Aug 29, 2019 · 0 comments · Fixed by #1978
Assignees
Milestone

Comments

@thari
Copy link

@thari thari commented Aug 29, 2019

Summary

A call to EMV2Util.getErrorType returns null when the propagation point is "bindings"

A snippet from
https://github.com/osate/alisa-examples/blob/master/Isolette/aadl/Devices.aadl

properties
EMV2::OccurrenceDistribution => [ProbabilityValue =>1.0E-6]
applies to failed,busfail, bindings.NetworkError;

calling EMV2Util.getErrorType() to fetch the error type returns null

Expected and Current Behavior

However, for a property applied to port error such as

properties
EMV2::OccurrenceDistribution => [ProbabilityValue =>1.0E-6]
applies to failed,busfail, power.PowerSupplyError;

getErrorType method returns "PowerSupplyError"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants