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.
2 parents cb6d2fa + c8ab4ad commit 5e17ffbCopy full SHA for 5e17ffb
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