Skip to content

Interceptor can't handle null JSON value #1312

Open
@abakes

Description

@abakes

I was converting a GET handler into a POST. I was doing this to pass in a paging token. However, the first page passes in null for this value. In the debugger, the code would only get hit if I provided a value for this (the only property in the request). If null was passed, my code would not get hit, the request would never complete, and be left pending.

Debugging the misk code, a handler was initially found for the request, but it seemed to get dropped in moving through the chain of interceptors, when trying to deserialize JSON request body.

Metadata

Metadata

Assignees

No one assigned

    Labels

    webserverJetty & web actions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions