elharo opened a new issue, #66:
URL: https://github.com/apache/maven-scripting-plugin/issues/66
### Affected version
HEAD
### Bug description
Problem here:
```
protected Object eval(ScriptEngine engine, ScriptContext context) throws
ScriptException {
try (InputStream is =
this.getClass().getClassLoader().getResourceAsStream(resourceName);
Reader reader = new InputStreamReader(is)) {
return engine.eval(reader, context);
} catch (IOException ex) {
throw new UncheckedIOException(resourceName + " caused:", ex);
}
}
```
probably catch the NullPointerException and convert it to a ScriptException,
or maybe do that in the calling method
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]