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 when Verifying All Layers on a component with no AGREE annex #123

Open
iamundson opened this issue Aug 18, 2022 · 0 comments

Comments

@iamundson
Copy link
Contributor

If Verify All Layers is run on a component with no AGREE annex, but with subcomponents containing AGREE annexes, a null pointer exception is thrown with no useful information. This does not happen when Verify Single Layer is run. This is either due to a bug or the exception is not being handled gracefully. See stack trace below:

!ENTRY com.rockwellcollins.atc.agree.analysis 4 0 2022-08-18 16:37:34.080
!MESSAGE
!STACK 0
java.lang.NullPointerException
at jkind.api.results.CompositeAnalysisResult.addChild(CompositeAnalysisResult.java:19)
at com.rockwellcollins.atc.agree.analysis.handlers.VerifyHandler.runJob(VerifyHandler.java:223)
at com.rockwellcollins.atc.agree.analysis.handlers.AadlHandler.lambda$1(AadlHandler.java:127)
at com.rockwellcollins.atc.agree.analysis.handlers.AadlHandler.lambda$0(AadlHandler.java:113)
at org.eclipse.xtext.resource.OutdatedStateManager.exec(OutdatedStateManager.java:70)
at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.internalReadOnly(XtextDocument.java:525)
at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.readOnly(XtextDocument.java:497)
at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:136)
at com.rockwellcollins.atc.agree.analysis.handlers.AadlHandler$1.runInWorkspace(AadlHandler.java:105)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

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

No branches or pull requests

1 participant