title: Spring Security - Wss4jSecurityInterceptor - Nullpointer
body: <p>I have the luck to migrate a large monolithic system from Java7 and Scala 2.10 to Java8 and Scala 2.11. So far so good. The application is using SpringSecurity. </p>
  
  <p>After updating the spring libraries to the newest one we faced a null pointer exception thrown in Wss4jSecurityInterceptor in the validateMessage method here:</p>
  
  <pre><code>if (validationActionsVector.contains(WSConstants.NO_SECURITY)) {
              return;
  }
  </code></pre>
  
  <p>The exception occurs during running a test. However, before I post here tons of code (test/implementation..) probably somebody has an idea where to approach the problem - or which part should be investigated in more detail.</p>
  
  <p>EDIT:</p>
  
  <p>One interesting fact that by compiling with Java7 and Scala 2.10 (with the same library versions) the null pointer exception do not occur.</p>