org.nuxeo.ecm.core.api.ClientException

Failed to initialize repository

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by Olivier Grisel,
  • Stack trace

    • org.nuxeo.ecm.core.api.ClientException: Failed to initialize repository at org.nuxeo.ecm.core.api.ejb.EJBExceptionHandler.wrapException(EJBExceptionHandler.java:70) at org.nuxeo.ecm.core.api.ejb.DocumentManagerBean.getSession(DocumentManagerBean.java:191) at org.nuxeo.ecm.core.api.AbstractSession.connect(AbstractSession.java:171) at org.nuxeo.ecm.core.api.ejb.DocumentManagerBean.connect(DocumentManagerBean.java:168) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[snipped 100KB of useless stacktrace] Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: org.nuxeo.ecm.core.api.DocumentException. message: Failed to initialize repository at org.nuxeo.ecm.core.repository.jcr.JCRRepository.initialize(JCRRepository.java:161) at org.nuxeo.ecm.core.repository.jcr.JCRRepository.getSession(JCRRepository.java:98) at org.nuxeo.ecm.core.jca.JCAConnectionFactory.getSession(JCAConnectionFactory.java:81) at org.nuxeo.ecm.core.api.ejb.DocumentManagerBean.createSession(DocumentManagerBean.java:201) at org.nuxeo.ecm.core.api.ejb.DocumentManagerBean.getSession(DocumentManagerBean.java:188) ... 5 more Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: java.lang.NullPointerException. message: null at org.nuxeo.ecm.core.repository.jcr.TypeAdapter.getSchemaName(TypeAdapter.java:87) at org.nuxeo.ecm.core.repository.jcr.TypeImporter.createDocTypeDefinition(TypeImporter.java:481) at org.nuxeo.ecm.core.repository.jcr.TypeImporter.collectDocTypes(TypeImporter.java:432) at org.nuxeo.ecm.core.repository.jcr.TypeImporter.registerTypes(TypeImporter.java:117) at org.nuxeo.ecm.core.repository.jcr.BuiltinTypes.registerUserTypes(BuiltinTypes.java:155) at org.nuxeo.ecm.core.repository.jcr.BuiltinTypes.registerTypes(BuiltinTypes.java:131) at org.nuxeo.ecm.core.repository.jcr.JCRRepository.initialize(JCRRepository.java:157) at org.nuxeo.ecm.core.repository.jcr.JCRRepository.getSession(JCRRepository.java:98) at org.nuxeo.ecm.core.jca.JCAConnectionFactory.getSession(JCAConnectionFactory.java:81)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.