Hi Luis, (could you subscribe to the mailing list ?... at the moment it seems I have to approve your posts)
As Martin says, we'll take a look. We have seen this sort of issue in the past, where increasing the logging level to DEBUG is caused Isis to attempt to do a toString() on an entity that had been deleted or was otherwise invalid to access. It's possible that's the issue here. For now, I guess the workaround is to leave the logging as it us :-) Thanks for bringing this to our attention, though. Cheers Dan On 9 April 2015 at 18:27, Luis Miguel Payet <[email protected]> wrote: > Hello Martin, > > > Please give us the diff and we will debug it. > > Here it is: > > --- a/src/main/webapp/WEB-INF/logging.properties > +++ b/src/main/webapp/WEB-INF/logging.properties > @@ -19,8 +19,8 @@ > # > # Isis uses log4j is used to provide system logging > # > -log4j.rootCategory=INFO, Console > -#log4j.rootCategory=DEBUG, Console,File > +#log4j.rootCategory=INFO, Console > +log4j.rootCategory=DEBUG, Console,File > > Thanks, > Miguel > > > On Apr 9, 2015, at 9:42 AM, Martin Grigorov <[email protected]> > wrote: > > > > Hi, > > > > What change exactly you did in logging.properties ? > > Please give us the diff and we will debug it. > > Thanks! > > > > Martin Grigorov > > Freelancer, available for hire! > > Wicket Training and Consulting > > https://twitter.com/mtgrigorov > > > > On Thu, Apr 9, 2015 at 5:57 AM, Luis Miguel Payet <[email protected]> > > wrote: > > > >> Hello, > >> > >> I create a new project from the SimpleApp archetype, version > >> 1.9.0-SNAPSHOT. I change the logging to DEBUG in the logging.properties > >> file. I test that the application runs properly. > >> > >> Then I add the isis-module-security add-on following the readme > >> instructions. When I run the application, I get an exception as follows: > >> > >> 21:49:23,873 [IsisWicketApplication main ERROR] Failed to > >> initialize > >> com.google.inject.ProvisionException: Guice provision errors: > >> > >> 1) Error in custom provider, java.util.ConcurrentModificationException > >> at > >> > org.apache.isis.core.runtime.runner.IsisInjectModule.provideIsisSystem(IsisInjectModule.java:132) > >> at > >> > org.apache.isis.core.runtime.runner.IsisInjectModule.provideIsisSystem(IsisInjectModule.java:132) > >> while locating org.apache.isis.core.runtime.system.IsisSystem > >> for field at > >> > org.apache.isis.viewer.wicket.viewer.IsisWicketApplication.system(IsisWicketApplication.java:142) > >> while locating domainapp.webapp.SimpleApplication > >> > >> When I turn the logging down to INFO, the application runs properly. The > >> same behaviour happens with the SimpleApp version 1.8.0 > >> > >> Please help, as I’m far too new at this to be able to fix it myself. > >> > >> Thanks, > >> Miguel > >
