Throw exception if VaadinService has not been initialized (#11961)

Change-Id: I754c73790aae197a262d6cc8b88751290efbe127