If this code returns Null
public static Session getSessionAsSigner() {
Session sessionAsSigner = null;
try {
FacesContext context = JSFUtil.getFacesContext();
sessionAsSigner = (Session) context.getApplication().getVariableResolver().resolveVariable(context,"sessionAsSigner");
} catch (Exception e) {
Util.logError(e);
}
return sessionAsSigner;
}
Then your code might have been signed by different user / servers.. Just sign it with your user ID and try again.