Hi,
after upgrading i got some errors on startup:
2020-03-11 09:36:03,372 ERROR [spring-startup] liquibase.changelog.ChangeSet Change Set liquibase/r7_0/upgrade.xml::BBSDEV-19009-1::fdoherty failed. Error: FEHLER: NULL-Wert in Spalte »next_val« verletzt Not-Null-Constraint Detail: Fehlgeschlagene Zeile enthält (bb_comment, null). [Failed SQL: update id_sequence set next_val = ( select max(id) + 100 from bb_comment ) where sequence_name = 'bb_comment']
and
2020-03-11 09:36:03,405 ERROR [spring-startup] c.a.j.s.w.s.JohnsonDispatcherServlet SpringMVC dispatcher [springMvc] could not be startedorg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'crowdAliasDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.MigrationFailedException: Migration failed for change set liquibase/r7_0/upgrade.xml::BBSDEV-19009-1::fdoherty: Reason: liquibase.exception.DatabaseException: FEHLER: NULL-Wert in Spalte »next_val« verletzt Not-Null-Constraint Detail: Fehlgeschlagene Zeile enthält (bb_comment, null). [Failed SQL: update id_sequence set next_val = ( select max(id) + 100 from bb_comment ) where sequence_name = 'bb_comment'] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:723) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) at javax.servlet.GenericServlet.init(GenericServlet.java:158) at java.lang.Thread.run(Thread.java:748) ... 18 frames trimmedCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.MigrationFailedException: Migration failed for change set liquibase/r7_0/upgrade.xml::BBSDEV-19009-1::fdoherty: Reason: liquibase.exception.DatabaseException: FEHLER: NULL-Wert in Spalte »next_val« verletzt Not-Null-Constraint Detail: Fehlgeschlagene Zeile enthält (bb_comment, null). [Failed SQL: update id_sequence set next_val = ( select max(id) + 100 from bb_comment ) where sequence_name = 'bb_comment'] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796) ... 5 common frames omittedCaused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase/r7_0/upgrade.xml::BBSDEV-19009-1::fdoherty: Reason: liquibase.exception.DatabaseException: FEHLER: NULL-Wert in Spalte »next_val« verletzt Not-Null-Constraint Detail: Fehlgeschlagene Zeile enthält (bb_comment, null). [Failed SQL: update id_sequence set next_val = ( select max(id) + 100 from bb_comment ) where sequence_name = 'bb_comment'] at liquibase.changelog.ChangeSet.execute(ChangeSet.java:637) at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:78) at liquibase.Liquibase.update(Liquibase.java:202) at liquibase.Liquibase.update(Liquibase.java:179) at liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:317) at liquibase.database.ExtendedSpringLiquibase.afterPropertiesSet(ExtendedSpringLiquibase.java:32) ... 5 common frames omittedCaused by: liquibase.exception.DatabaseException: FEHLER: NULL-Wert in Spalte »next_val« verletzt Not-Null-Constraint Detail: Fehlgeschlagene Zeile enthält (bb_comment, null). [Failed SQL: update id_sequence set next_val = ( select max(id) + 100 from bb_comment ) where sequence_name = 'bb_comment'] at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:356) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:57) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:125) at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1229) at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1211) at liquibase.changelog.ChangeSet.execute(ChangeSet.java:600) ... 11 common frames omittedCaused by: org.postgresql.util.PSQLException: FEHLER: NULL-Wert in Spalte »next_val« verletzt Not-Null-Constraint Detail: Fehlgeschlagene Zeile enthält (bb_comment, null). at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308) at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441) at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365) at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307) at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293) at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270) at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266) at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:95) at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:352) ... 16 common frames omitted
Kind regards
Markus