Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix bug 132818 -- JointDataSetHandle can get 'parameters' property, but NEP thrown when using its iterator.

Summary:

JointDataSetHandle can get ‘parameters’ property, but NEP thrown when using its iterator.

 

Bugzilla Entry(ies) Resolved:

132818

 

Description:

JointDataSetHandle can get ‘parameters’ property, but NEP thrown when using its iterator.

 

Solution: JointDataSetHandle does not support property ‘parameters’, so getPorpertyHandle on JointDataSetHandle should return null.

 

Tests Description:

Tested with JUnit tests

 

Files Edited:

"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/JointDataSetHandleTest.java" "/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/JointDataSetHandle.java"  

 

Files Added:

None.

 

Notes to Build Team:

None.

 

Notes to Developers:

Developers may need to double check codes related to getPropertyHandle especially on DataSetHandle or JointDataSetHandle. NPE may happen when getting some properties that do not belong to corresponding element. Recommended way to use property handle is to pre-judge if getPropertyHandle() method returns null.

 

Notes to QA:

None.

 

Notes to Documentation:

None.

 

 

Best regards,

 

Jane Liu

Actuate Corporation - Shanghai R&D Center
( : (86)21-58826388

 


Back to the top