Bug 179676 [regression]Error when report has chart in master page[05]
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/internal/executor/doc/ReportPageReader.java
nextFrag = fragment.getNextFragment( nextOffset );
					if ( nextFrag != null )
					{
						nextOffset = nextFrag.offset;
					}
					else
					{
						nextOffset = -1;
					}
				}
			}
			nextElement = nextOffset;
			return reader;
		}
		return null;
	}
	boolean hasNextElement( )
	{
		return ( nextElement != -1 );
	}
	long getFirstElementOffset( )
	{
		Fragment fstFrag = fragment.getNextFragment( -1 );
		if ( fstFrag != null )
		{
			return fstFrag.offset;
		}
		return -1;
	}
}