tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 57425] ReplicatedContext implementation throws NullPointerException for attributes with null value
Date Thu, 08 Jan 2015 18:57:16 GMT

--- Comment #2 from Felix Schumacher <> ---
Created attachment 32358
Don't add orderedLibs attribute if it is null

The attached patch is for tomcat 8. But the same logic would apply to tomcat 7.
The file in tomcat 7 is named java/org/apache/catalina/deploy/ It
applies cleanly for trunk.

The idea is to not store the attribute, if it is null, since getAttribute will
give a null value, if the attribute is not present and the replicated context
fails, if the concurrent hashmap gets a null as a value or a key.

If noone objects, I will apply the patch.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message