If the user has invalid values for the zanata values in csprocessor.ini then it will throw an NPE when trying to either build/assemble/preview (plus probably other commands). The error is: java.lang.NullPointerException at org.jboss.pressgang.ccms.zanata.ZanataDetails.returnUrl(ZanataDetails.java:70) at org.jboss.pressgang.ccms.contentspec.client.commands.BuildCommand.validateServerUrl(BuildCommand.java:946) at org.jboss.pressgang.ccms.contentspec.client.Client.processArgs(Client.java:230) at org.jboss.pressgang.ccms.contentspec.client.Client.main(Client.java:109)
Fixed in 1.3-SNAPSHOT build 201311051217 The problem was caused by how the zanata url was being generated. Since it was doing an indexOf() call on the url, if it was null then it would throw an NPE.
Tested with an empty "default.url", a missing "default.url" and a "default.url" that was not a url. Also tried with a missing "default" and an invalid "default". None threw a NPE.