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

NullPointerException in Check Unhandled Faults #2092

Closed
brlarson opened this issue Dec 2, 2019 · 5 comments · Fixed by #2100
Closed

NullPointerException in Check Unhandled Faults #2092

brlarson opened this issue Dec 2, 2019 · 5 comments · Fixed by #2100

Comments

@brlarson
Copy link

brlarson commented Dec 2, 2019

Summary

Running Check Unhandled Faults causes a NullPointerException

Expected and Current Behavior

Expected: generate .csv file in UnhandledFaults folder

Current:

java.lang.NullPointerException
	at org.osate.aadl2.modelsupport.errorreporting.AnalysisErrorReporterManager.error(AnalysisErrorReporterManager.java:249)
	at org.osate.ui.handlers.AbstractAaxlHandler.error(AbstractAaxlHandler.java:604)
	at org.osate.aadl2.errormodel.analysis.handlers.UnhandledFaultsHandler.checkPropagationPathErrorTypes(UnhandledFaultsHandler.java:98)
	at org.osate.aadl2.errormodel.analysis.handlers.UnhandledFaultsHandler.doAaxlAction(UnhandledFaultsHandler.java:78)
	at org.osate.ui.handlers.AbstractAaxlHandler.processAaxlAction(AbstractAaxlHandler.java:482)
	at org.osate.ui.handlers.AbstractAaxlHandler.actionBody(AbstractAaxlHandler.java:191)
	at org.osate.ui.handlers.AaxlReadOnlyHandlerAsJob$ActionAsJob.runInWorkspace(AaxlReadOnlyHandlerAsJob.java:124)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Steps to Reproduce

I'd need to upload, or emai:
liPCA_Context_Open_PCA_Context_i_Instance.aaxl2

Only saw the stack trace because I'm running from sources from the master branch, pulled 12/1/2019.

Before I made significant model changes, Unhandled Faults ran fine.

Environment

I tried it with downloaded 2.6.0 too, and there was no .csv output, either. (Can only see stack trace when running from sources.

  • OSATE Version: 2.6.0.vfinal
  • Operating System: MacOS 10.14.6
@lwrage
Copy link
Contributor

lwrage commented Dec 2, 2019

Waiting for AADL model.

@brlarson
Copy link
Author

brlarson commented Dec 3, 2019 via email

@lwrage
Copy link
Contributor

lwrage commented Dec 3, 2019

The whole model, please. With instructions which component to instantiate, where to find that component, how to run the analysis, etc.

@brlarson
Copy link
Author

brlarson commented Dec 3, 2019 via email

@lwrage
Copy link
Contributor

lwrage commented Dec 4, 2019

Got the model. The issue is reproducible.

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.

3 participants