raise error if no adapter is configured