The following xdr definition triggers a NumberFormatException in jrpcgen.translateConstant :
enum colors { RED, ORANGE, GREEN };
Call resolves to new BigInteger("0+1+1",8) where the string "0+1+1" is not a valid number representation.
Remark : When the definition has only two elements (such as enum colors { RED, ORANGE}), there is no error as the call resolves to new BigInteger("0+1",8) where "0+1" is a valid octal representation...