Discussion:
[Liquibase-user] New Topic: NullPointerException when upgrade from 2.0-rc7 to 2.0.0
Liquibase Community Forum
2011-01-26 04:41:24 UTC
Permalink
A new topic, 'NullPointerException when upgrade from 2.0-rc7 to 2.0.0', has been made on a board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=986.new#new

The text of the topic is shown below:

Caused by: java.lang.NullPointerException
at liquibase.integration.spring.SpringLiquibase.createLiquibase(SpringLiquibase.java:252)
at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:230)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
... 65 more

Seems it executes to SpringLiquibase.java line 270
Code:
if (this.defaultSchema != null) {
database.setDefaultSchemaName(this.defaultSchema);
}

and defaultSchema is null. It strangely throws NullPointerException. I have to switch back to rc7 for now.

Cheers,
Cheng Wei

Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The Liquibase Community Forum Team.

Loading...