Sun N1 Service Provisioning System 6.0 Release Notes

Null Pointer Exception Error Occurs When Using <matches> With Null Pattern (6407827)

If you include a <matches> element with a null pattern value in a plan, and then try to check in the plan, the check in fails. A message similar to the following is displayed.


ERROR [main] com.raplix.rolloutexpress.systemmodel.plandb.ElementResolver 
(ElementResolver.java:34) - unable to create element
java.lang.NullPointerException

Workaround: Include a dummy pattern with the <matches> element. For example:


<matches value=":[ip1]" pattern="121212"/>
<matches value=":[group]" pattern="121212"