mitre / mitre/HTTP-Proxy-Servlet

NullPointerException: null

Open
#246 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Java
Stars
1.5k
Forks
557
PR merge metrics
No merged PRs in 30d

Description

Why does my IP address fill in incorrectly and not report Caused by: Java. ang. NumberFormatException: For input string: "124:356:256:7889"? He will report Java. lang. NullPointerException: null
At org. mitre. dsmile. httproxy. ProxyServlet. copyRequestHeader (ProxyServlet. java: 516)

Jdk 1.8

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at ProxyServlet.java:516 and inspect how the request header or IP value reaches copyRequestHeader, using the reported JDK 1.8 stack trace as the initial clue. Reproduce the input "124:356:256:7889" if possible and determine the expected handling for the NumberFormatException and resulting NullPointerException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.