created an attachment (id=166913)
test report

description:
  exception throw out when preview this report in web viewer.(can preview as html)

test build:
birt2.6.0 v20100504-0630

step to reproduce:

1. use the report attached.
2. preview report in web viewer

expect result:
report display correctly when preview in web viewer.

actual result:
exception throw out

error log:
caused by: java.io.ioexception: data type of class org.mozilla.javascript.nativejavamethod is not supported to be serialized
   at org.eclipse.birt.core.util.ioutil.writeobject(ioutil.java:673)
   at org.eclipse.birt.data.engine.impl.document.rowsaveutil.saveexprvalue(rowsaveutil.java:172)
the report itself is invalid:
in data set "beforeopen" script block, "c=this.getextensionid" should be "c=this.getextensionid()".

please update the report.
updated the report