i have a report design with a refferenced javascript.
in the executincontext, line 1007 comes a nullpointerexception.
shouldnt be there getscriptcontext() instead of scriptcontext ?
the scriptcontext variable is null at this point, wehen i turn on the debug modus in eclipse. i linked some birt sources to my project to debug other things in birt (twice call of xml data source).

java.lang.nullpointerexception
	at org.eclipse.birt.report.engine.executor.executioncontext.loadscript(executioncontext.java:1007)
	at org.eclipse.birt.report.engine.api.impl.enginetask.loaddesign(enginetask.java:1578)
	at org.eclipse.birt.report.engine.api.impl.runandrendertask.dorun(runandrendertask.java:95)
	at org.eclipse.birt.report.engine.api.impl.runandrendertask.run(runandrendertask.java:75)
hi, 

i have the same problem. with birt 2.3.2 the reports runs ok. but updating to 2.5.1 this exception appears.
would you please attach a sample report design to reproduce this problem? thanks!
i think it has been fixed in 2.5.2