Error in parameter when override and no main Bug 6923