Menu

#2 NullPointerException When Using vpp:filter

open
nobody
None
5
2006-07-12
2006-07-12
John Gibson
No

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>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.