NullPointerException When Using vpp:filter
Brought to you by:
didge
Using version 2.2.1:
When I ran the vpp:filter as part of a filter chain the
build fails with a NullPointerException. The exception
occurs on line 164 because vppConfig is null. However
this is masked by another NullPointerException because
the catch block on line 203 assumes that vppConfig is
not null.
I was able to work around the issue by supplying an
empty vpp:config like so:
<filterchain>
<replacetokens>
<token key="foo" value="${bar}"/>
</replacetokens>
<vpp:filter>
<vpp:config/>
</vpp:filter>
</filterchain>