Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix bug 157953 -- Open an empty file throws Nullpointer exception in JDK 5.

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

 


Back to the top