throw exception in case plugin defines the metadata in getInformation method and plugin json