Skip to content

Fix 'No serializer found for class java.lang.Object' on getTeamInfo method execution#231

Merged
zmarushchak-hs merged 1 commit intomasterfrom
fix-getteaminfo
Jun 3, 2021
Merged

Fix 'No serializer found for class java.lang.Object' on getTeamInfo method execution#231
zmarushchak-hs merged 1 commit intomasterfrom
fix-getteaminfo

Conversation

@zmarushchak-hs
Copy link
Copy Markdown
Contributor

ObjectMapper fails to serialize an instance of class Object. Because of this getTeamInfo method fails with 'No serializer found for class java.lang.Object'. since it passes new Object() as a params field to the postSlackCommand method. This PR fixes this by passing an empty map instead of the object's instance.

@leonidhladii
Copy link
Copy Markdown
Contributor

LGTM

@zmarushchak-hs zmarushchak-hs merged commit ff45dfd into master Jun 3, 2021
@zmarushchak-hs zmarushchak-hs deleted the fix-getteaminfo branch June 3, 2021 08:33
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

Successfully merging this pull request may close these issues.

2 participants