Massachusetts general revenue collection from July through April exceeded budget forecasts by $1.9 billion, according to a report by the state Department of Revenue.