[
https://issues.jboss.org/browse/ISPN-1701?page=com.atlassian.jira.plugin....
]
Galder Zamarreño updated ISPN-1701:
-----------------------------------
Fix Version/s: 5.1.0.CR4
(was: 5.1.0.FINAL)
Git Pull Request:
https://github.com/infinispan/infinispan/pull/808 (was:
https://github.com/infinispan/infinispan/pull/808)
EmbeddedCacheManager.getCacheManagerConfiguration() fails if the
transport is null
----------------------------------------------------------------------------------
Key: ISPN-1701
URL:
https://issues.jboss.org/browse/ISPN-1701
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 5.1.0.CR3
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Priority: Blocker
Fix For: 5.1.0.CR4
LegacyGlobalConfigurationAdaptor.adapt(...) does not correctly handle the case where the
transport is null.
Caused by: org.infinispan.CacheException: Caught exception
[java.lang.IllegalArgumentException] while invoking method [public void
org.jboss.as.clustering.infinispan.subsystem.EmbeddedCacheManagerService.cacheStarted(org.infinispan.notifications.cachemanagerlistener.event.CacheStartedEvent)]
on listener instance:
org.jboss.as.clustering.infinispan.subsystem.EmbeddedCacheManagerService@3be88133
at
org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:204)
at
org.infinispan.util.concurrent.WithinThreadExecutor.execute(WithinThreadExecutor.java:41)
at
org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation.invoke(AbstractListenerImpl.java:220)
at
org.infinispan.notifications.cachemanagerlistener.CacheManagerNotifierImpl.notifyCacheStarted(CacheManagerNotifierImpl.java:121)
at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:168)
at org.infinispan.CacheImpl.start(CacheImpl.java:496)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:625)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:514)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:528)
at
org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:123)
at
org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:114)
at
org.hibernate.cache.infinispan.InfinispanRegionFactory.getCache(InfinispanRegionFactory.java:423)
at
org.hibernate.cache.infinispan.InfinispanRegionFactory.buildEntityRegion(InfinispanRegionFactory.java:187)
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:340)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737)
at
org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:76)
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:905)
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890)
at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
at
org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:157)
at
org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:81)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
... 3 more
Caused by: java.lang.IllegalArgumentException: Cannot load null class!
at org.infinispan.util.Util.getInstance(Util.java:206)
at
org.infinispan.configuration.global.LegacyGlobalConfigurationAdaptor.adapt(LegacyGlobalConfigurationAdaptor.java:84)
at
org.infinispan.manager.DefaultCacheManager.getCacheManagerConfiguration(DefaultCacheManager.java:762)
at
org.jboss.as.clustering.infinispan.subsystem.EmbeddedCacheManagerService.cacheStarted(EmbeddedCacheManagerService.java:210)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_29]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_29]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_29]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_29]
at
org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:199)
... 25 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira