[ 
https://issues.apache.org/jira/browse/FINERACT-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bharath Gowda updated FINERACT-2145:
------------------------------------
    Fix Version/s: 1.11.0

> java.lang.NullPointerException: Cannot invoke 
> "java.lang.Throwable.getMessage()" because the return value of 
> "java.lang.Exception.getCause()" is null
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FINERACT-2145
>                 URL: https://issues.apache.org/jira/browse/FINERACT-2145
>             Project: Apache Fineract
>          Issue Type: Bug
>    Affects Versions: 1.10.0
>         Environment: OS: Debian 12, Ubuntu 22.04
> Java version: openjdk 17.0.12
> Docker engine: Docker version 27.3.1, build ce12230
>            Reporter: Harimbola Santatra
>            Priority: Blocker
>             Fix For: 1.11.0
>
>
> Fineract process is resulting in error _after a certain time._
>  
> *Step to reproduce*
> Download and build the [1.10.1 
> version|[https://github.com/apache/fineract/releases/tag/1.10.1]]
>  
> Then, run using either one of these method:
> 1. On command line: 
> {code:java}
> java -jar fineract-provider.jar
> {code}
> 2. With docker: run the [compose 
> file|https://github.com/apache/fineract/blob/develop/docker-compose.yml]
> **
> *Full Error:*
> {code:java}
> Caused by: org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'tenantDatabaseUpgradeService' defined in URL 
> [jar:nested:/home/santatra/cb/fineract-provider.jar/!BOOT-INF/classes/!/org/apache/fineract/infrastructure/core/service/migration/TenantDatabaseUpgradeService.class]:
>  liquibase.exception.CommandExecutionException: 
> java.lang.NullPointerException: Cannot invoke 
> "java.lang.Throwable.getMessage()" because the return value of 
> "java.lang.Exception.getCause()" is null                                      
>          at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1773)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)
>         at 
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:312)
>         at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
>         at 
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:365)
>         ... 154 common frames omitted
> Caused by: liquibase.exception.UnexpectedLiquibaseException: 
> liquibase.exception.CommandExecutionException: 
> java.lang.NullPointerException: Cannot invoke 
> "java.lang.Throwable.getMessage()" because the return value of 
> "java.lang.Exception.getCause()" is null
>         at 
> liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:304)
>         at 
> org.apache.fineract.infrastructure.core.service.migration.TenantDatabaseUpgradeService.upgradeIndividualTenant(TenantDatabaseUpgradeService.java:154)
>         at 
> org.apache.fineract.infrastructure.core.service.migration.TenantDatabaseUpgradeService.upgradeIndividualTenants(TenantDatabaseUpgradeService.java:129)
>         at 
> org.apache.fineract.infrastructure.core.service.migration.TenantDatabaseUpgradeService.afterPropertiesSet(TenantDatabaseUpgradeService.java:80)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1820)
>         at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1769)
>         ... 163 common frames omitted
> Caused by: liquibase.exception.CommandExecutionException: 
> java.lang.NullPointerException: Cannot invoke 
> "java.lang.Throwable.getMessage()" because the return value of 
> "java.lang.Exception.getCause()" is null
>         at liquibase.command.CommandScope.execute(CommandScope.java:253)
>         at liquibase.Liquibase.lambda$update$0(Liquibase.java:245)
>         at liquibase.Scope.lambda$child$0(Scope.java:186)
>         at liquibase.Scope.child(Scope.java:195)
>         at liquibase.Scope.child(Scope.java:185)
>         at liquibase.Scope.child(Scope.java:164)
>         at liquibase.Liquibase.runInScope(Liquibase.java:1419)
>         at liquibase.Liquibase.update(Liquibase.java:234)
>         at liquibase.Liquibase.update(Liquibase.java:212)
>         at 
> liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:343)
>         at 
> liquibase.integration.spring.SpringLiquibase.lambda$afterPropertiesSet$0(SpringLiquibase.java:294)
>         at liquibase.Scope.lambda$child$0(Scope.java:186)
>         at liquibase.Scope.child(Scope.java:195)
>         at liquibase.Scope.child(Scope.java:185)
>         at liquibase.Scope.child(Scope.java:164)
>         at liquibase.Scope.child(Scope.java:252)
>         at 
> liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:287)
>         ... 168 common frames omitted
> Caused by: java.lang.NullPointerException: Cannot invoke 
> "java.lang.Throwable.getMessage()" because the return value of 
> "java.lang.Exception.getCause()" is null
>         at 
> liquibase.command.core.AbstractUpdateCommandStep.run(AbstractUpdateCommandStep.java:133)
>         at 
> liquibase.command.core.UpdateCommandStep.run(UpdateCommandStep.java:105)
>         at liquibase.command.CommandScope.execute(CommandScope.java:217)
>         ... 184 common frames omitted {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to