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 2a28c7e commit cd1923eCopy full SHA for cd1923e
it.baeyens.arduino.core/src/io/sloeber/core/api/BoardID.java
@@ -324,11 +324,13 @@ private void getMenuOptions(ICConfigurationDescription confdesc) {
324
e.printStackTrace();
325
return;
326
}
327
- String[] lines = storedValue.split("\n"); //$NON-NLS-1$
328
- for (String curLine : lines) {
329
- String[] values = curLine.split("=", 2); //$NON-NLS-1$
330
- if (values.length == 2) {
331
- this.myOptions.put(values[0], values[1]);
+ if (storedValue != null) {
+ String[] lines = storedValue.split("\n"); //$NON-NLS-1$
+ for (String curLine : lines) {
+ String[] values = curLine.split("=", 2); //$NON-NLS-1$
+ if (values.length == 2) {
332
+ this.myOptions.put(values[0], values[1]);
333
+ }
334
335
336
0 commit comments