Arrays.asList requires a non-null argument, which was throwing a null pointer exception. For some reason, the mac called the other constructor (more appropriately)