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

ClassCastException when running codegen checker #2054

Closed
lwrage opened this issue Nov 8, 2019 · 1 comment · Fixed by #2326
Closed

ClassCastException when running codegen checker #2054

lwrage opened this issue Nov 8, 2019 · 1 comment · Fixed by #2326
Assignees
Milestone

Comments

@lwrage
Copy link
Contributor

lwrage commented Nov 8, 2019

Summary

CCE occurs when running codegen checker on a certain component of the JCA demo model.

Expected and Current Behavior

Steps to Reproduce

  1. Open JCADemoDesign, package JCA_Demo_AH64D_Design.aadl
  2. Outline view: System Impl AH64D_Demo.OE1_RunSchedPeriodicRelease
  3. Context menu: Analyses -> Semantic Checks -> Check Codegen Prerequisites VxWorks

CCE: ThreadTypeImpl cannot be cast to ThreadImplementation at
org.osate.codegen.checker.checks.ThreadCheck.perform() - ThreadCheck.java:86

Environment

  • OSATE Version: 2.6.0
  • Operating System: all
@lwrage lwrage added this to the 2.8.0 milestone Apr 13, 2020
@lwrage
Copy link
Contributor Author

lwrage commented May 12, 2020

This happens where the checker inspects calls in threads. If the component instance references a thread type this check should be skipped.

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

Successfully merging a pull request may close this issue.

1 participant