Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311490

Summary: [Automation]Exception throw out when preview this report in Web viewer
Product: z_Archived Reporter: Yong Jiang <yjiang>
Component: BIRTAssignee: Wenjie Tu <wtu>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: mwu
Version: 2.6.0   
Target Milestone: 2.6.0 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
test report none

Description Yong Jiang CLA 2010-05-04 03:53:16 EDT
Created attachment 166913 [details]
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)
Comment 1 Wenjie Tu CLA 2010-05-12 01:58:32 EDT
The report itself is invalid:
in data set "beforeOpen" script block, "c=this.getExtensionID" should be "c=this.getExtensionID()".

Please update the report.
Comment 2 Yong Jiang CLA 2010-05-13 06:12:05 EDT
updated the report