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

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

Open
mpkusnierz opened this issue Mar 1, 2023 · 1 comment
Open

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

mpkusnierz opened this issue Mar 1, 2023 · 1 comment

Comments

@mpkusnierz
Copy link

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)

@lepe
Copy link

lepe commented May 16, 2023

Yes, I believe you are right. I fixed the code in the unofficial release-5, which I'm planning to release within the next week (if all goes smoothly).

lepe pushed a commit to Intellisrc/spark that referenced this issue May 16, 2023
lepe pushed a commit to Intellisrc/spark that referenced this issue May 16, 2023
This was referenced Jun 29, 2023
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

No branches or pull requests

2 participants