rhbz965890 prevent NPE for unspecified adapter params