Project: Birt
Bug 257128 java.io.NotSerializableException: com.ibm.icu.impl.ResourceBundleWrapper
Reported: 2008-12-01 15:26:24 | Status: resolved fixed

Build ID: M20080911-1700 Steps To Reproduce: 1. Use the Report Engine API to create a IRunTask 2. Set the value of a parameter, but supply in invalid object type for the value. For example, task.setParameterValue( "myStringParameter", Boolean.TRUE ); In this example the data type of the parameter is a String but we are passing it a Boolean. 3. The result will be a ParameterValidationException, which when serialized will in turn cause a NotSerializableException. More information: Our application is a client/server app that uses RMI, and when we encounter an exception in BIRT it is sometimes masked because of an object that is not serializable. In this particular example, the server tries to toss a ParameterValidationException back to the client but it fails because the field rb (com.ibm.icu.impl.ResourceBundleWrapper) is not serializable.

Files changed in fix:
core/org.eclipse.birt.core/src/org/eclipse/birt/core/exception/BirtException.java