Closed RishonLi closed 9 years ago
@RishonLi That case shouldn't throw a NPE because:
Are you running the latest code? What stack trace are you seeing?
Thanks for your answer. Yesterday, I pull the latest code with branch tomcat-7. running throw NPE at the code. Is there any other possible?
As stated in the README, the tomcat-7
branch is no longer in use having been merged into master some time ago. You should use master
.
in the method setAttribute
if ( (value != null || oldValue != null)
&& ( value == null && oldValue != null
|| oldValue == null && value != null
|| !value.getClass().isInstance(oldValue)
|| !value.equals(oldValue) ) ) {
not handled
if (value == null && oldValue == null)