org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.envers.boot.internal.EnversService]

Hibernate JIRA | Felix Wassmer | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    When trying to install hibernate-envers feature from the new karaf features.xml, building the EntitiyManager fails and following exception occurs on startup of the application: {noformat} 2015-08-27 15:03:23,017 | WARN | l for user karaf | 95 - org.apache.aries.jpa.container - 1.0.2 | container | Error creating EntityManagerFactory org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.envers.boot.internal.EnversService] at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:184) at org.hibernate.envers.boot.internal.TypeContributorImpl.contribute(TypeContributorImpl.java:22) at Proxycddc409a_ee30_4840_b104_a42f10ad2179.contribute(Unknown Source) at org.hibernate.boot.internal.MetadataBuilderImpl.applyTypes(MetadataBuilderImpl.java:280) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.populate(EntityManagerFactoryBuilderImpl.java:720) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:181) at org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:34) at org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:47) at org.hibernate.osgi.OsgiPersistenceProvider.createContainerEntityManagerFactory(OsgiPersistenceProvider.java:95) at org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.createEntityManagerFactories(EntityManagerFactoryManager.java:336) at org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.registerEntityManagerFactories(EntityManagerFactoryManager.java:239) at org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.bundleStateChange(EntityManagerFactoryManager.java:182) at org.apache.aries.jpa.container.impl.PersistenceBundleManager.modifiedBundle(PersistenceBundleManager.java:301) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422) at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103) at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403) at org.apache.felix.framework.Felix.startBundle(Felix.java:2092) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942) at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:518) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:476) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:417) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:392) at Proxy4dde9e47_1ace_4324_8507_4f70f3eca1ec.installFeature(Unknown Source) at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:72) at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.4] at Proxy1750b0cc_42c9_40c8_a9b1_04d3526b868f.execute(Unknown Source)[:] at Proxy1750b0cc_42c9_40c8_a9b1_04d3526b868f.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208) at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_51] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.4] at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)[25:org.apache.karaf.shell.console:3.0.4] {noformat} It looks like Envers is already registering it's TypeContributor, before EnversService was registered in the ServiceRegistry. (this only happens during application deployment (about 100 bundles and 50 entities), not when deploying the plain hibernate-envers feature with nothing else). Workarround: add start-level attribute to the feature, to ensure the boot sequence (start hibernate-envers after all other hibernate bundles) e.g.: * <feature name="hibernate-orm" ... start-level="90"> * <feature name="hibernate-envers" ... start-level="99">

    Hibernate JIRA | 1 year ago | Felix Wassmer
    org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.envers.boot.internal.EnversService]
  2. 0

    When trying to install hibernate-envers feature from the new karaf features.xml, building the EntitiyManager fails and following exception occurs on startup of the application: {noformat} 2015-08-27 15:03:23,017 | WARN | l for user karaf | 95 - org.apache.aries.jpa.container - 1.0.2 | container | Error creating EntityManagerFactory org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.envers.boot.internal.EnversService] at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:184) at org.hibernate.envers.boot.internal.TypeContributorImpl.contribute(TypeContributorImpl.java:22) at Proxycddc409a_ee30_4840_b104_a42f10ad2179.contribute(Unknown Source) at org.hibernate.boot.internal.MetadataBuilderImpl.applyTypes(MetadataBuilderImpl.java:280) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.populate(EntityManagerFactoryBuilderImpl.java:720) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:181) at org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:34) at org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:47) at org.hibernate.osgi.OsgiPersistenceProvider.createContainerEntityManagerFactory(OsgiPersistenceProvider.java:95) at org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.createEntityManagerFactories(EntityManagerFactoryManager.java:336) at org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.registerEntityManagerFactories(EntityManagerFactoryManager.java:239) at org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.bundleStateChange(EntityManagerFactoryManager.java:182) at org.apache.aries.jpa.container.impl.PersistenceBundleManager.modifiedBundle(PersistenceBundleManager.java:301) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422) at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103) at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403) at org.apache.felix.framework.Felix.startBundle(Felix.java:2092) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942) at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:518) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:476) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:417) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:392) at Proxy4dde9e47_1ace_4324_8507_4f70f3eca1ec.installFeature(Unknown Source) at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:72) at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.4] at Proxy1750b0cc_42c9_40c8_a9b1_04d3526b868f.execute(Unknown Source)[:] at Proxy1750b0cc_42c9_40c8_a9b1_04d3526b868f.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[25:org.apache.karaf.shell.console:3.0.4] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208) at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_51] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.4] at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)[25:org.apache.karaf.shell.console:3.0.4] {noformat} It looks like Envers is already registering it's TypeContributor, before EnversService was registered in the ServiceRegistry. (this only happens during application deployment (about 100 bundles and 50 entities), not when deploying the plain hibernate-envers feature with nothing else). Workarround: add start-level attribute to the feature, to ensure the boot sequence (start hibernate-envers after all other hibernate bundles) e.g.: * <feature name="hibernate-orm" ... start-level="90"> * <feature name="hibernate-envers" ... start-level="99">

    Hibernate JIRA | 1 year ago | Felix Wassmer
    org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.envers.boot.internal.EnversService]
  3. 0

    Hibernate: UnknownServiceException EnversService and Jetty Null Pointer

    Stack Overflow | 1 year ago | Pablo
    org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.envers.boot.internal.EnversService]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Karaf - User - UnknownServiceException using Envers on Karaf 4.0.2

    nabble.com | 1 year ago
    org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.envers.boot.internal.EnversService]
  6. 0

    Followup to [HHH-10061|https://hibernate.atlassian.net/browse/HHH-10061] When trying to install hibernate-envers feature from provided karaf.xml, creating the EntityManagerFactory fails and following exception occurs on startup: {code:java} 2015-12-07 15:32:37,149 | WARN | l for user karaf | 84 - org.apache.aries.jpa.container - 1.0.2 | container | Error creating EntityManagerFactory org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.envers.boot.internal.EnversService] at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:184) at org.hibernate.envers.boot.internal.TypeContributorImpl.contribute(TypeContributorImpl.java:22) at Proxyc64a0b92_5f6a_4c85_9697_6404f9a879c9.contribute(Unknown Source) at org.hibernate.boot.internal.MetadataBuilderImpl.applyTypes(MetadataBuilderImpl.java:280) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.populate(EntityManagerFactoryBuilderImpl.java:720) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:181) at org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:34) at org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:47) at org.hibernate.osgi.OsgiPersistenceProvider.createContainerEntityManagerFactory(OsgiPersistenceProvider.java:95) at org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.createEntityManagerFactories(EntityManagerFactoryManager.java:336) at org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.registerEntityManagerFactories(EntityManagerFactoryManager.java:239) at org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.bundleStateChange(EntityManagerFactoryManager.java:182) at org.apache.aries.jpa.container.impl.PersistenceBundleManager.modifiedBundle(PersistenceBundleManager.java:301) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422) at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103) at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403) at org.apache.felix.framework.Felix.startBundle(Felix.java:2092) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942) at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:518) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:476) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:417) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:392) at Proxy7b98d168_a018_43e4_aac3_7f33a25855b5.installFeature(Unknown Source) at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:72) at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[27:org.apache.karaf.shell.console:3.0.5] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[27:org.apache.karaf.shell.console:3.0.5] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[27:org.apache.karaf.shell.console:3.0.5] at Proxy976b1e91_9e90_4b45_9ffa_cd008a1efb7b.execute(Unknown Source)[:] at Proxy976b1e91_9e90_4b45_9ffa_cd008a1efb7b.execute(Unknown Source)[:] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[27:org.apache.karaf.shell.console:3.0.5] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[27:org.apache.karaf.shell.console:3.0.5] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[27:org.apache.karaf.shell.console:3.0.5] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[27:org.apache.karaf.shell.console:3.0.5] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[27:org.apache.karaf.shell.console:3.0.5] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[27:org.apache.karaf.shell.console:3.0.5] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:210) at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_51] at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[28:org.apache.karaf.jaas.modules:3.0.5] at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)[27:org.apache.karaf.shell.console:3.0.5] {code} I've adapted the hibernate-osgi demo to to reproduce this behavior (just by changing the feature from hibernate-orm to hibernate envers): https://github.com/fwassmer/hibernate-demos/tree/master/hibernate-orm/osgi/managed-jpa

    Hibernate JIRA | 1 year ago | Felix Wassmer
    org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.envers.boot.internal.EnversService]
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.hibernate.service.UnknownServiceException

    Unknown service requested [org.hibernate.envers.boot.internal.EnversService]

    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService()
  2. Hibernate
    AbstractServiceRegistryImpl.getService
    1. org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:184)
    1 frame
  3. org.hibernate.envers
    TypeContributorImpl.contribute
    1. org.hibernate.envers.boot.internal.TypeContributorImpl.contribute(TypeContributorImpl.java:22)
    1 frame
  4. Unknown
    Proxycddc409a_ee30_4840_b104_a42f10ad2179.contribute
    1. Proxycddc409a_ee30_4840_b104_a42f10ad2179.contribute(Unknown Source)
    1 frame
  5. org.hibernate.boot
    MetadataBuilderImpl.applyTypes
    1. org.hibernate.boot.internal.MetadataBuilderImpl.applyTypes(MetadataBuilderImpl.java:280)
    1 frame
  6. org.hibernate.jpa
    Bootstrap.getEntityManagerFactoryBuilder
    1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.populate(EntityManagerFactoryBuilderImpl.java:720)
    2. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:181)
    3. org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:34)
    4. org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:47)
    4 frames
  7. org.hibernate.osgi
    OsgiPersistenceProvider.createContainerEntityManagerFactory
    1. org.hibernate.osgi.OsgiPersistenceProvider.createContainerEntityManagerFactory(OsgiPersistenceProvider.java:95)
    1 frame
  8. org.apache.aries
    PersistenceBundleManager.modifiedBundle
    1. org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.createEntityManagerFactories(EntityManagerFactoryManager.java:336)
    2. org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.registerEntityManagerFactories(EntityManagerFactoryManager.java:239)
    3. org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.bundleStateChange(EntityManagerFactoryManager.java:182)
    4. org.apache.aries.jpa.container.impl.PersistenceBundleManager.modifiedBundle(PersistenceBundleManager.java:301)
    4 frames
  9. Apache Aries Util
    BundleHookBundleTracker$BundleEventHook.event
    1. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)
    2. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)
    3. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)
    4. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)
    5. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)
    5 frames
  10. Apache Felix Framework
    BundleImpl.start
    1. org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)
    2. org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)
    3. org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)
    4. org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
    5. org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
    6. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
    7. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
    7 frames
  11. Pax Runner
    FeaturesServiceImpl.installFeature
    1. org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:518)
    2. org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:476)
    3. org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:417)
    4. org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:392)
    4 frames
  12. Unknown
    Proxy4dde9e47_1ace_4324_8507_4f70f3eca1ec.installFeature
    1. Proxy4dde9e47_1ace_4324_8507_4f70f3eca1ec.installFeature(Unknown Source)
    1 frame
  13. Fabric8
    FeaturesCommandSupport.doExecute
    1. org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:72)
    2. org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38)
    2 frames
  14. Apache Karaf :: Shell :: Console
    AbstractCommand.execute
    1. org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.4]
    2. org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.4]
    3. org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.4]
    3 frames
  15. Unknown
    Proxy1750b0cc_42c9_40c8_a9b1_04d3526b868f.execute
    1. Proxy1750b0cc_42c9_40c8_a9b1_04d3526b868f.execute(Unknown Source)[:]
    2. Proxy1750b0cc_42c9_40c8_a9b1_04d3526b868f.execute(Unknown Source)[:]
    2 frames
  16. Apache Felix Gogo Runtime
    CommandSessionImpl.execute
    1. org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.4]
    2. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[25:org.apache.karaf.shell.console:3.0.4]
    3. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[25:org.apache.karaf.shell.console:3.0.4]
    4. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.4]
    5. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[25:org.apache.karaf.shell.console:3.0.4]
    6. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[25:org.apache.karaf.shell.console:3.0.4]
    7. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[25:org.apache.karaf.shell.console:3.0.4]
    8. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[25:org.apache.karaf.shell.console:3.0.4]
    9. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.4]
    10. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[25:org.apache.karaf.shell.console:3.0.4]
    11. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[25:org.apache.karaf.shell.console:3.0.4]
    12. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[25:org.apache.karaf.shell.console:3.0.4]
    13. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[25:org.apache.karaf.shell.console:3.0.4]
    14. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.4]
    15. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[25:org.apache.karaf.shell.console:3.0.4]
    16. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[25:org.apache.karaf.shell.console:3.0.4]
    17. org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)
    17 frames
  17. Apache Karaf :: Shell :: Console
    LocalConsoleManager$2$1$1.run
    1. org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208)
    2. org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109)
    2 frames
  18. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)[:1.8.0_51]
    1 frame
  19. Karaf
    JaasHelper.doAs
    1. org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.4]
    1 frame
  20. Apache Karaf :: Shell :: Console
    LocalConsoleManager$2$1.run
    1. org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)[25:org.apache.karaf.shell.console:3.0.4]
    1 frame