We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d64e2a commit b4a9d3eCopy full SHA for b4a9d3e
src/main/java/org/scijava/widget/DefaultWidgetModel.java
@@ -226,6 +226,7 @@ public Number getStepSize() {
226
@Override
227
public String[] getChoices() {
228
final List<?> choicesList = item.getChoices();
229
+ if (choicesList == null) return null;
230
final String[] choices = new String[choicesList.size()];
231
for (int i = 0; i < choices.length; i++) {
232
choices[i] = objectService.getName(choicesList.get(i));
0 commit comments