Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13342

Fix user locale selection to avoid StackOverFlow error

    XMLWordPrintable

    Details

      Description

      The following build is showing a stack overflow linked to user locale selection at initialization, problem seems random.
      http://qa.nuxeo.org/jenkins/job/FT-nuxeo-master-funkload-dm-tomcat-multidb/Slave=MULTIDB_LINUX,dbprofile=oracle11g,jdk=openjdk-7-jdk/1825/

      2013-12-05 16:29:04,685 INFO  [http-bio-0.0.0.0-8080-exec-6] [org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter] Login failed for foo
      2013-12-05 16:31:33,667 ERROR [http-bio-0.0.0.0-8080-exec-19] [org.nuxeo.ecm.core.event.impl.EventServiceImpl] Error during timezoneSelector sync listener execution, transaction won't be rolled back since event.markRollBack() was not called by the Listener
      java.lang.StackOverflowError
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:788)
      	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      	at java.net.URLClassLoader.defineClass(URLClassLoader.java:447)
      	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:788)
      	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      	at java.net.URLClassLoader.defineClass(URLClassLoader.java:447)
      	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:87)
      	at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:413)
      	at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:313)
      	at org.apache.log4j.WriterAppender.append(WriterAppender.java:162)
      	at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
      	at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
      	at org.apache.log4j.Category.callAppenders(Category.java:206)
      	at org.apache.log4j.Category.forcedLog(Category.java:391)
      	at org.apache.log4j.Category.log(Category.java:856)
      	at org.slf4j.impl.Log4jLoggerAdapter.log(Log4jLoggerAdapter.java:601)
      	at org.apache.commons.logging.impl.SLF4JLocationAwareLog.error(SLF4JLocationAwareLog.java:225)
      	at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:236)
      	at org.nuxeo.ecm.core.api.AbstractSession.fireEvent(AbstractSession.java:383)
      	at org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(AbstractSession.java:435)
      	at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:932)
      	at org.nuxeo.ecm.user.center.profile.UserProfileServiceImpl$UserProfileDocumentGetter.run(UserProfileServiceImpl.java:147)
      	at org.nuxeo.ecm.user.center.profile.UserProfileServiceImpl$UserProfileDocumentGetter.getOrCreate(UserProfileServiceImpl.java:160)
      	at org.nuxeo.ecm.user.center.profile.UserProfileServiceImpl.getUserProfileDocument(UserProfileServiceImpl.java:75)
      	at org.nuxeo.ecm.user.center.profile.localeProvider.UserLocaleSelectorListener.handleEvent(UserLocaleSelectorListener.java:50)
      	at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:215)
      	at org.nuxeo.ecm.core.api.AbstractSession.fireEvent(AbstractSession.java:383)
      	at org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(AbstractSession.java:435)
      	at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:932)
      	at org.nuxeo.ecm.user.center.profile.UserProfileServiceImpl$UserProfileDocumentGetter.run(UserProfileServiceImpl.java:147)
      	at org.nuxeo.ecm.user.center.profile.UserProfileServiceImpl$UserProfileDocumentGetter.getOrCreate(UserProfileServiceImpl.java:160)
      	at org.nuxeo.ecm.user.center.profile.UserProfileServiceImpl.getUserProfileDocument(UserProfileServiceImpl.java:75)
      	at org.nuxeo.ecm.user.center.profile.localeProvider.UserLocaleSelectorListener.handleEvent(UserLocaleSelectorListener.java:50)
      	at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:215)
      	at org.nuxeo.ecm.core.api.AbstractSession.fireEvent(AbstractSession.java:383)
      	at org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(AbstractSession.java:435)
      	at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:932)
      
      [...]
      
      	at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:932)
      	at org.nuxeo.ecm.user.center.profile.UserProfileServiceImpl$UserProfileDocumentGetter.run(UserProfileServiceImpl.java:147)
      	at org.nuxeo.ecm.user.center.profile.UserProfileServiceImpl$UserProfileDocumentGetter.getOrCreate(UserProfileServiceImpl.java:160)
      	at org.nuxeo.ecm.user.center.profile.UserProfileServiceImpl.getUserProfileDocument(UserProfileServiceImpl.java:75)
      	at org.nuxeo.ecm.user.center.profile.localeProvider.UserLocaleSelectorListener.handleEvent(UserLocaleSelectorListener.java:50)
      	at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:215)
      	at org.nuxeo.ecm.core.api.AbstractSession.fireEvent(AbstractSession.java:383)
      	at org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(AbstractSession.java:435)
      	at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:932)
      	at org.nuxeo.ecm.user.center.profile.UserProfileServiceImpl$UserProfileDocumentGetter.run(UserProfileServiceImpl.java:147)
      	at org.nuxeo.ecm.user.center.profile.UserProfileServiceImpl$UserProfileDocumentGetter.getOrCreate(UserProfileServiceImpl.java:160)
      	at org.nuxeo.ecm.user.center.profile.UserProfileServiceImpl.getUserProfileDocument(UserProfileServiceImpl.java:75)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: