Running this code gives me a `Exception in thread "AWT-EventQueue-0" 
java.lang.NullPointerException: Cannot invoke 
"javax.script.ScriptEngine.getBindings(int)" because "this.engine" is null`:

```
String filename = "Some_file.odt";
File infile = new File(filename);
JavaScriptTemplate template = new JavaScriptTemplate(infile);
```

This did not happen with earlier Java versions. I am now using the 
following Java: `openjdk version "15.0.2" 2021-01-19`.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"jOpenDocument" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jopendocument+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jopendocument/41a4c20a-2b75-4e84-922e-43fe260ab747n%40googlegroups.com.

Reply via email to