Bhakti Mehta wrote on 05/ 7/10 12:57 PM:
> Command create-cluster failed.
>
> 2. asadmin create-cluster/create-instance --help fails with following
> exception however passes with asadmin help create-cluster(in v2.1.1 both
> ways would work)
> /Users/bhakti/gftest/foradmin/glassfishv3/glassfish/bin % ./asadmin
> create-cluster --help
> Exception in thread "main" java.lang.NullPointerException
> at com.sun.enterprise.admin.cli.CLICommand.prevalidate(CLICommand.java:639)
> at com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:238)
> at
> com.sun.enterprise.admin.cli.AsadminMain.executeCommand(AsadminMain.java:229)
>
> at com.sun.enterprise.admin.cli.AsadminMain.main(AsadminMain.java:167)
This was my bug. I just committed the fix.