Added negative index check for String#indexOf(String).
We want to use JavaFX UI in KNIME node extension.
For that, we need to specify '-Dorg.osgi.framework.bundle.parent=ext' in knime.ini,
However, when we specify that, the StringIndexOutOfBoundsException occurs because the url of non-osgi bundle resource doesn't contains bundle id.
Added negative index check for String#indexOf(String).
We want to use JavaFX UI in KNIME node extension. For that, we need to specify '-Dorg.osgi.framework.bundle.parent=ext' in knime.ini, However, when we specify that, the StringIndexOutOfBoundsException occurs because the url of non-osgi bundle resource doesn't contains bundle id.
Could you merge this simple check?