@@ -997,6 +997,9 @@ public class RandomPaperServiceImpl implements RandomPaperService {
}
private Integer[] getOption(Integer count) {
+ if(count==null) {
+ return null;
+ }
Integer[] ret = new Integer[count];
for (int i = 0; i < count; i++) {
ret[i] = i;