Hi Adam, Apologies if my previous follow-ups came off as impolite or excessive — that wasn’t my intention.
From: Ádám Sághy <adamsa...@gmail.com> Sent: Friday, July 4, 2025 3:11 PM To: dev@fineract.apache.org Subject: Re: Random Issue with Fineract Application Start-up Dear Bhaskar, First of all kindly asking you to stop spamming the Fineract DEV mail list… Sending every 6 hours an "Is there any solution for my issue?” is not polite… Version 1.9 was released in January 2024, which - unfortunately- is too old to remember what might be the reason of the failing build… I would suggest you to check whether a later version (1.11.0 is the latest) has the same issue or not. If the upgrade from 1.9 version is not feasible in short time, you might give a try to backport the gradle rework that can be found in the latest “apache/develop” branch. There were multiple commits that were addressing the reliable build issues: - https://github.com/apache/fineract/commit/11cecb0d45bef2e6f7fda3a7c3575be53732a078 - https://github.com/apache/fineract/commit/dd2c29fb91cfb5e93b8a705ff23dbcd303a6af9c - https://github.com/apache/fineract/commit/62bb1e6509ebf4ab72d62137a7f0f0215f791266 - https://github.com/apache/fineract/commit/db28259b1ae6867fa2dd17f5f12fac16d0f5d97f - https://github.com/apache/fineract/commit/29d1ed3cd4617ddd857763048c8f367e60595917 - https://github.com/apache/fineract/commit/dd4ca4d3e235b4d687605e62d8c8128e659221f9 - https://github.com/apache/fineract/commit/dc2101bc2136eafacae54c5edab63a64b4bd10c0 You might not need all these commits, but I believe the work was done across these commits… I hope it gives you some pointers! Regards, Adam On 2025. Jul 4., at 11:02, Bhaskar Tiwari <bhas...@strideone.in<mailto:bhas...@strideone.in>> wrote: Hi, Is there any solution for my issue? From: Bhaskar Tiwari Sent: Thursday, July 3, 2025 8:00 PM To: dev@fineract.apache.org<mailto:dev@fineract.apache.org> Subject: RE: Random Issue with Fineract Application Start-up We are using fineract 1.9 From: Ádám Sághy <adamsa...@gmail.com<mailto:adamsa...@gmail.com>> Sent: Thursday, July 3, 2025 7:50 PM To: dev@fineract.apache.org<mailto:dev@fineract.apache.org> Subject: Re: Random Issue with Fineract Application Start-up Hi Are you facing this issue on latest code of `apache/develop` branch? Regards, Adam On 2025. Jul 3., at 16:13, Bhaskar Tiwari <bhas...@strideone.in<mailto:bhas...@strideone.in>> wrote: Hi Team, I am encountering an intermittent issue when starting the Fineract application. The build process completes successfully when I run the command: ./gradlew --no-daemon --no-build-cache build However, when I attempt to run the application using the generated build files, I sometimes encounter a random error related to theInlineLoanCOBExecutorServiceImpl.class. Interestingly, the issue resolves when I rebuild the application again. Could anyone help me understand why this error occurs sporadically, and if there’s a potential root cause for this behavior? Thanks in advance for your support! My full error: 2025-07-03T16:10:35.621+05:30 INFO 3674330 --- [ main] org.apache.fineract.ServerApplication : Starting ServerApplication v1.6.0-SNAPSHOT using Java 17.0.15 with PID 3674330 (/home/ubuntu/scfcode/incubator-fineract-scf/fineract-provider/build/libs/fineract-provider-1.6.0-SNAPSHOT.jar started by ubuntu in /home/ubuntu) 2025-07-03T16:10:35.625+05:30 INFO 3674330 --- [ main] org.apache.fineract.ServerApplication : The following 1 profile is active: "dev" 2025-07-03T16:10:36.585+05:30 WARN 3674330 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/home/ubuntu/scfcode/incubator-fineract-scf/fineract-provider/build/libs/fineract-provider-1.6.0-SNAPSHOT.jar!/BOOT-INF/classes!/org/apache/fineract/cob/service/InlineLoanCOBExecutorServiceImpl.class] 2025-07-03T16:10:36.725+05:30 ERROR 3674330 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/home/ubuntu/scfcode/incubator-fineract-scf/fineract-provider/build/libs/fineract-provider-1.6.0-SNAPSHOT.jar!/BOOT-INF/classes!/org/apache/fineract/cob/service/InlineLoanCOBExecutorServiceImpl.class] at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:464) ~[spring-context-6.0.15.jar!/:6.0.15] at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:318) ~[spring-context-6.0.15.jar!/:6.0.15] at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:276) ~[spring-context-6.0.15.jar!/:6.0.15] at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128) ~[spring-context-6.0.15.jar!/:6.0.15] at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:289) ~[spring-context-6.0.15.jar!/:6.0.15] at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:243) ~[spring-context-6.0.15.jar!/:6.0.15] at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:517) ~[spring-context-6.0.15.jar!/:6.0.15] "Print this mail only if absolutely necessary. Save Paper. Save Trees." Disclaimer: “This electronic mail message sent from StrideOne (Stride Fintree Private Limited) may contain Confidential/Restricted/Internal information and should only be viewed by the intended recipients. Under no circumstances may any such information be disclosed, copied, used or distributed to any unauthorized persons or entities without the written consent of Strideone. If you are not the intended recipient, any review, retransmission, dissemination or reliance on the content of these materials is strictly prohibited and may be the subject of legal action. If you received this email in error, please notify the sender and delete the message immediately.” "Print this mail only if absolutely necessary. Save Paper. Save Trees." Disclaimer: “This electronic mail message sent from StrideOne (Stride Fintree Private Limited) may contain Confidential/Restricted/Internal information and should only be viewed by the intended recipients. Under no circumstances may any such information be disclosed, copied, used or distributed to any unauthorized persons or entities without the written consent of Strideone. If you are not the intended recipient, any review, retransmission, dissemination or reliance on the content of these materials is strictly prohibited and may be the subject of legal action. If you received this email in error, please notify the sender and delete the message immediately.” "Print this mail only if absolutely necessary. Save Paper. Save Trees." Disclaimer: “This electronic mail message sent from StrideOne (Stride Fintree Private Limited) may contain Confidential/Restricted/Internal information and should only be viewed by the intended recipients. Under no circumstances may any such information be disclosed, copied, used or distributed to any unauthorized persons or entities without the written consent of Strideone. If you are not the intended recipient, any review, retransmission, dissemination or reliance on the content of these materials is strictly prohibited and may be the subject of legal action. If you received this email in error, please notify the sender and delete the message immediately.”