Skip to content
New issue

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

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

Already on GitHub? # to your account

Added severity check #214

Merged
merged 8 commits into from
Jun 28, 2024
Merged

Added severity check #214

merged 8 commits into from
Jun 28, 2024

Conversation

clr182
Copy link
Contributor

@clr182 clr182 commented Jun 17, 2024

Goal

Null severity causing exception during serialization.
Cannot invoke "com.bugsnag.Severity.getValue()" because "this.severity" is null

Design

To check the override for a null severity and log if null = true

Changeset

Added null check to severity value in the Bugsnag.java class for the notify overwrite method.

Testing

Running automated tests.

@clr182 clr182 requested a review from tomlongridge June 17, 2024 12:55
@clr182 clr182 marked this pull request as draft June 18, 2024 09:30
@clr182 clr182 marked this pull request as ready for review June 18, 2024 13:37
call notify override method on null severity
@clr182 clr182 requested a review from tomlongridge June 28, 2024 10:15
@clr182 clr182 merged commit bc8b4aa into next Jun 28, 2024
1 check passed
@clr182 clr182 deleted the PLAT-10187-CallNotifyWithNullSeverity branch June 28, 2024 10:25
@lemnik lemnik mentioned this pull request Aug 29, 2024
clr182 added a commit that referenced this pull request Aug 29, 2024
* (docs): update docs references from `master` to `main`

* (docs): switch build status badge to buildkite

* Update selector to accept only the major version

* Update Changelog

* update linting

* Added severity check (#214)

* added severity check

* fixed linting

* fixed linting v2

* added changelog entry

* Reverting changes

* update notify override with null check

* Update changelog

* Update Bugsnag.java

call notify override method on null severity

* add aopproxyutils dependancy and add handling in scheduledTaskConfig class (#218)

* add aopproxyutils dependancy and add handling in scheduledTaskConfig class

* fixed comment typo

* fixed import of aoputils

* added proxy testing

* fixed linting

* Updated tests

* updated tests

* update changelog

* moving createProxy method to util class

* update variable name

* reverting

* Update Serializer object to be an interface (#219)

* Adding non serializable metadata handling

* removed an unused import

* update feature

* update changelog

* Add serializeObject public method

* Fixed linting

* fixed tests

* Implemented Serializer interface

* update scenarios

* update changelog

* Changes based on feedback

* update tests

* updates based on reviews

* Update bugsnag/src/main/java/com/bugsnag/Configuration.java

Co-authored-by: Tom Longridge <tom@bugsnag.com>

* update config

---------

Co-authored-by: Tom Longridge <tom@bugsnag.com>

* v3.7.2

---------

Co-authored-by: Yousif Ahmed <yousif@bugsnag.com>
Co-authored-by: Yousif <74918474+yousif-bugsnag@users.noreply.github.com>
Co-authored-by: Tom Longridge <tom@bugsnag.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants