I apologize for the delay in giving an answer. I was unable to reproduce this error. I ask you to add the following snippet in the file gameserver/scripting/java/JavaExecutionContext.java just above line 166:
if (diagnostic.getSource() == null) {
throw new AssertionError(diagnostic);
}
will look like this:
for (Diagnostic<? extends JavaFileObject> diagnostic : compilationDiagnostics.getDiagnostics())
{
if (diagnostic.getSource() == null) {
throw new AssertionError(diagnostic);
}
out.println("\t" + diagnostic.getKind() + ": " + diagnostic.getSource().getName() + ", Line " + diagnostic.getLineNumber() + ", Column " + diagnostic.getColumnNumber());
out.println("\t\tcode: " + diagnostic.getCode());
out.println("\t\tmessage: " + diagnostic.getMessage(null));
}
I ask you to send the error returned in this snippet.