We're updating the issue view to help you get more done. 

parsing multipart-config element with undefined optional parameters will cause NPE

Description

Parsing a web.xml containing a multipart config, where some optional sub tags are missing, will cause a NPE during web.xml parsing.

Example: the following multipart-config does not contain the (optional) location element.

1 2 3 4 5 6 7 8 <servlet> ... <multipart-config> <max-file-size>1048576</max-file-size> <max-request-size>1048576</max-request-size> <file-size-threshold>1048576</file-size-threshold> </multipart-config> </servlet>

Environment

None

Status

Assignee

Stephan Siano

Reporter

Stephan Siano

Labels

Components

Fix versions

Affects versions

6.1.2

Priority

Major