cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From willuhn <...@git.apache.org>
Subject [GitHub] cxf pull request #:
Date Wed, 19 Oct 2016 10:04:47 GMT
Github user willuhn commented on the pull request:

    https://github.com/apache/cxf/commit/66f652cca276fba8395496454e870cfb82439549#commitcomment-19482455
  
    HttpServletRequestFilter#getParameterValues(String name) now creates a NullPointerException
in line 75:
    
    https://github.com/apache/cxf/blob/master/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/HttpServletRequestFilter.java#L75
    
    Problematic code:
    `readFromParamsIfNeeded();`
    `value = formParams.get(name).toArray(new String[]{});`
    
    If "formParams" does not contain a key with the requested parameter name, the "get" returns
NULL. The "toArray" after that now throws a NullPointerException
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message