How to Checkout and Build Apache Trinidad

1. Download Maven from Un-zip Maven so that you have the mvn tool at, e.g. ~/apache-maven-3.2.3/bin/

2. Check out Apache Trinidad from its SVN repository

svn co trinidad-maven
svn co trinidad

3. Update trinidad pom.xml with new trinidad-maven version


4. Use Maven to build Trinidad

cd ~/trinidad-maven/
~/apache-maven-3.2.3/bin/mvn -Dmaven.test.failure.ignore=true clean install

cd ~/trinidad/
~/apache-maven-3.2.3/bin/mvn -Dmaven.test.failure.ignore=true clean install

5. Find trinidad-impl-2.1.1-SNAPSHOT.jar in trinidad-impl/target/

ls trinidad-impl/target/

Links to download the build results



NullPointerException When Running an Apache Trinidad App in Internet Explorer 11 (IE 11)

When running a web app built with Apache Trinidad in IE 11, you may encounter NullPointerException.

at org.apache.myfaces.trinidadinternal.ui.RootRenderingContext.getRendererManager(
at org.apache.myfaces.trinidadinternal.uinode.UIXComponentUINode.getRenderer(
at org.apache.myfaces.trinidadinternal.uinode.UIXComponentUINode.renderInternal(
at org.apache.myfaces.trinidadinternal.uinode.UINodeRendererBase.encodeEnd(
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(

Same error with latest builds of Apache Trinidad versions 1.0, 1.2 and 2.0. This issue was actually fixed in Apache Trinidad 2.1 which you don’t currently see it on the official download page:

To upgrade to Apache Trinidad 2.1 so that your app can run in IE 100 as well as other browsers, do the following.

1. Download Apache Trinidad 2.1 from Maven repository:|org.apache.myfaces.trinidad|trinidad-impl|2.1.0|jar

2. Download the required compatible versions of MyFaces 2.1.x. Uppack the zip package to find the jars.

3. Download the required compatible versions of JSTL 1.2:

4. Copy the jars to your WEB-INF folder. Remove older versions of Apache Trinidad/MyFaces and JSTL.