Here: https://github.com/apache/grails-core/issues/15075
Gianluca Sartori -- https://dueuno.com On Tue, 16 Sept 2025 at 22:16, James Fredley <[email protected]> wrote: > > Please add it to an issue on https://github.com/apache/grails-core/issues > > On 2025/09/16 15:13:53 Gianluca Sartori wrote: > > I have a case where the 'init' closure gets called twice. > > > > 1. get: https://github.com/gsartori/dueuno-elements/tree/feature/grails-7 > > 2. Set a breakpoint in 'app-test/grails-app/init/BootStrap' at line 50 > > 3. bootRun app-test (debug) > > > > I suspect there is something weird with the project layout but have no > > idea what's going on. > > > > It happens only in the Dueuno Elements 'app-test' application, it does > > not happen on the other applications we implemented using > > "dueuno-elements" as a compiled dependency. > > > > I've tried to debug the Grails code with no luck, it looks like there > > is something going on in the DefaultGrailsBootstrapClass.callInit() > > that triggers the init twice. > > > > > > Gianluca Sartori > > -- > > https://dueuno.com > >
