Error - liquibase.command.CommandExecutionException: liquibase.exception.DatabaseException:

I am using mvn project + liquibase for datasnapshot . I am trying to export data using the maven command mvn liquibase:generateChangeLog -Dliquibase.outputChangeLogFile=changelog.JSON -Dliquibase.diffTypes=data

But encountering error - liquibase.command.CommandExecutionException: liquibase.exception.DatabaseException: Error getting jdbc:postgresql://localhost:****/postgres view with liquibase.statement.core.GetViewDefinitionStatement@528f8f8b: Expected single row from liquibase.statement.core.GetViewDefinitionStatement@1237e0be but got 0: Empty result set, expected one row
Can someone help me with ??