Skip to content

NullPointerException in response.header(String, int) #1273

@mpkusnierz

Description

@mpkusnierz

spark.http.matching.ResponseWrapper needs to override this method spark.Response.header(String, int) and call the delegate to add the int Header; otherwise this method throws a NullPointerException

java.lang.NullPointerException: null
at spark.Response.header(Response.java:166)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions