Skip to content

MigrationException: Error executing command. Cause: null #220

Closed
@szj-coder

Description

@szj-coder

Hi,
I'm using mybatis-migration:3.3.9 for data migration and I'm getting a strange exception, only when I deploy in Amazon cloud environment, I can't locate the exception based on the exception stack information.

org.apache.ibatis.migration.MigrationException: Error executing command.  Cause: null
	at org.apache.ibatis.migration.operations.PendingOperation.operate(PendingOperation.java:95)
	at org.apache.ibatis.migration.operations.PendingOperation.operate(PendingOperation.java:40)
	...

Please consider cleaning up the following code in PendingOperation.java and DownOperation.java and UpOperation.java

while (e instanceof MigrationException) {
   e = e.getCause();
}

Thanks

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions