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 afe795a commit 5edf07dCopy full SHA for 5edf07d
src/main/java/org/scijava/widget/DefaultWidgetModel.java
@@ -221,6 +221,7 @@ public Number getStepSize() {
221
@Override
222
public String[] getChoices() {
223
final List<?> choicesList = item.getChoices();
224
+ if (choicesList == null) return null;
225
final String[] choices = new String[choicesList.size()];
226
for (int i = 0; i < choices.length; i++) {
227
choices[i] = objectService.getName(choicesList.get(i));
0 commit comments