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

Nullpointer when handling a null body in webhook response #3517

Closed
sbuettner opened this issue Oct 21, 2024 · 0 comments · Fixed by #3518
Closed

Nullpointer when handling a null body in webhook response #3517

sbuettner opened this issue Oct 21, 2024 · 0 comments · Fixed by #3518
Assignees
Labels
kind:bug Something isn't working
Milestone

Comments

@sbuettner
Copy link
Contributor

Describe the Bug

When using an incomplete response expression without a body:

  "status": 200
}

It leads to a NullpointerException in the runtime during the escape routine at

Steps to Reproduce

Create a webhook connector and use the following response expression:

```{
  "status": 200
}

It will lead to a NullpointerException.

Expected Behavior

It should not lead to a nullpointer exception.

Environment

  • Connector Runtime 8.6.2
@sbuettner sbuettner added the kind:bug Something isn't working label Oct 21, 2024
@sbuettner sbuettner added this to the 8.6.3 milestone Oct 21, 2024
@sbuettner sbuettner self-assigned this Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant