Jahia Dev Forum > Error in registering...

0 (0 Good)
0 (0 Bad)

Error in registering a custom module

by  brunoseznec »  2015/03/03 09:59

Hello,

I have a warning , later an error in creating a Spring Bean. When I restrart 2 times Jahia, it is OK.

Any idea ?

Thanks.

Bruno

>>

2015-03-03 09:50:17,249: WARN  [fileinstall-D:\IntranetV3\EnterpriseDistribution-DigitalFactory7003-SDK\digital-factory-data/modules] org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener$ContextBundleListener: Got exception while handling event org.osgi.framework.BundleEvent[source=im-module-provider [127]]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'JahiaGroupManagerSCAMERProvider' defined in URL [bundle://127.7:0/META-INF/spring/im-module-provider.xml]: Invocation of init method failed; nested exception is java.lang.ClassCastException: fr.iam.core.dto.ProviderCategory cannot be cast to fr.iam.core.dto.ProviderCategory
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1512)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)

>>

The previous error: Error creating bean with name 'JahiaGroupManagerCLProvider' defined in URL [bundle://127.6:0/META-INF/spring/im-module-provider.xml]: Invocation of init method failed; nested exception is java.lang.ClassCastException: fr.iam.core.dto.ProviderCategory cannot be cast to fr.iam.core.dto.ProviderCategory occured 2 times.


Your Server has generated an error. Please review the details below for additional information: 


Error: fr.iam.core.dto.ProviderCategory cannot be cast to fr.iam.core.dto.ProviderCategory


Stack trace:
-------------
Cause level : 0 (level 0 is the most precise exception)
java.lang.ClassCastException: fr.iam.core.dto.ProviderCategory cannot be cast to fr.iam.core.dto.ProviderCategory
    at fr.iam.providers.groups.feg.JahiaGroupManagerFEGProvider.getGroupList(JahiaGroupManagerFEGProvider.java:99)
    at fr.iam.providers.groups.AbstractGroupIMProvider.start(AbstractGroupIMProvider.java:72)
    at fr.iam.providers.groups.feg.JahiaGroupManagerFEGProvider.start(JahiaGroupManagerFEGProvider.java:62)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1638)

  (brunoseznec)

Number of messages  19
Registration date
Contact
Share
Feedback

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page