This fixes the NPE caused by setting maxInactiveIntervalInSeconds = "" on the EnableHazelcastHttpSession annotation. This is a basic scenario that was not covered by integration tests. Tests configuring Hazelcast with an XML file (probably the most common method in the wild) covering the failing scenario and more have been added.