Re: NPE with tomahawk t:swapImage

Splash Forums PrettyFaces Users NPE with tomahawk t:swapImage Re: NPE with tomahawk t:swapImage

#20446

Hey JonH,

I just committed a fix for this issue. In my tests <t:swapImage> is working fine now. Could you give the latests snapshot a try and test with your application?

If you are using Maven, just set the version to 3.1.1-SNAPSHOT:

<dependency>
<groupId>com.ocpsoft</groupId>
<artifactId>prettyfaces-jsf2</artifactId>
<version>3.1.1-SNAPSHOT</version>
</dependency>

Please make also sure that you have the OcpSoft Maven Repository in your pom.xml:

<repository>
<id>ocpsoft</id>
<name>OcpSoft</name>
<url>http://ocpsoft.com/repository/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>

You can also directly download the latest snapshot here: prettyfaces-jsf12-3.1.1-20101211.190350-53.jar.

It would be great to get your feedback so that we can make sure that this issue got correctly fixed!