[ https://issues.apache.org/jira/browse/FELIX-6711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-6711. ----------------------------------- > Potential NPE in HttpServletRequest.getPart > ------------------------------------------- > > Key: FELIX-6711 > URL: https://issues.apache.org/jira/browse/FELIX-6711 > Project: Felix > Issue Type: Bug > Components: HTTP Service > Affects Versions: http.wrappers-1.1.2, http.wrappers-1.0.2, > http.jetty12-1.0.8, http.jetty-5.1.18 > Reporter: Carsten Ziegeler > Assignee: Carsten Ziegeler > Priority: Major > Fix For: http.wrappers-1.0.4, http.wrappers-1.1.4, > http.jetty12-1.0.10, http.jetty-5.1.20 > > > If getPart() is called on the request wrappers, it is not checked whether the > actual part exists (is null) and the returned value is always wrapped. > Resulting in an NPE like > java.lang.NullPointerException: null > at > org.apache.felix.http.javaxwrappers.PartWrapper.getInputStream(PartWrapper.java:44) > [org.apache.felix.http.jetty:5.1.14] -- This message was sent by Atlassian Jira (v8.20.10#820010)