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

Fixed null pointer exception in message reporting #2230

Merged
merged 2 commits into from
Mar 5, 2024
Merged

Conversation

cmnrd
Copy link
Collaborator

@cmnrd cmnrd commented Mar 4, 2024

This fixes #2228. When a message is reported on an eObject, but the object is null, this let to a null pointer exception. This change falls back to reporting nowhere, if the given object is null.

This generalizes and replaces the fix in #2229.

This fixes #2228. When a message
is reported on an eObject, but the object is null, this let to a null pointer
exception. This change falls back to reporting nowhere, if the given object is
null.

This generalizes and replaces the fix in #2229.
Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that this is a much better solution. Thanks, @cmnrd.

@cmnrd cmnrd enabled auto-merge March 5, 2024 08:58
@cmnrd cmnrd added this pull request to the merge queue Mar 5, 2024
Merged via the queue into master with commit b797035 Mar 5, 2024
24 checks passed
@cmnrd cmnrd deleted the report-at-null branch March 5, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Specifying -s=NP or -s=ADAPTIVE on the command line crashes lfc when a program contains deadlines.
3 participants