Summary:
Since Java
has changed its internal logic, some variable we used may be null now. Get rid of
NPE.
Bugzilla Entry(ies) Resolved:
157953
Description:
Open an empty file throws Nullpointer exception in JDK 5.
Java has
changed its internal logic when parsing xml, some variable we used may be null now.
Get rid of NPE.
Tests Description:
JUnit
tests
Files Edited:
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/ModuleParserErrorHandler.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/ReportDesignParseTest.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/MetaDataErrorHandler.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/input/EmptyDesignFile.xml"
Files Added:
None.
Notes to Build Team:
This
check-in is only checked in head.
Notes to Developers:
None.
Notes to QA:
None.
Notes to Documentation:
None.
Best regards,
Jiaying Liu
Actuate Corporation - Shanghai R&D Center
( : (86)21-58826388