Bug 189622 DesignElementHandle.getMethods( ) shouldn't return null value
The return type of DesignElementHandle.getMethods( ) is List; if the design element handle doesn't have script methods, then it return null value. The return value is empty list will be better.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/extension/PeerExtensibilityProvider.java
assert elementFactory != null;
		reportItem = elementFactory.newReportItem( element.getHandle( module ) );
		List localPropDefns = extDefn.getLocalProperties( );
		for ( int i = 0; i < localPropDefns.size( ); i++ )
		{
			ElementPropertyDefn propDefn = (ElementPropertyDefn) localPropDefns
					.get( i );
			if ( propDefn.getTypeCode( ) != IPropertyType.XML_TYPE
					|| !propDefn.canInherit( ) || !propDefn.hasOwnModel( ) )
				continue;
			String propName = propDefn.getName( );
			Object value = extensionPropValues.get( propName );
			if ( value == null )
			{
				
				ExtendedItem parent = (ExtendedItem) ModelUtil
						.getParent( element );
				while ( parent != null )
				{
					
					
					PeerExtensibilityProvider parentProvider = parent
							.getExtensibilityProvider( );
					HashMap propValues = parentProvider.extensionPropValues;
					value = propValues.get( propName );
					if ( value == null )
					{
						if ( parentProvider.reportItem != null )
							value = parentProvider.reportItem
									.serialize( propName );