[jboss-jira] [JBoss JIRA] (DROOLS-221) Initialization of KieModule failes, because of an XStream ConversionException

Fabian Meyer (JIRA) jira-events at lists.jboss.org
Wed Aug 14 04:56:26 EDT 2013


Fabian Meyer created DROOLS-221:
-----------------------------------

             Summary: Initialization of KieModule failes, because of an XStream ConversionException
                 Key: DROOLS-221
                 URL: https://issues.jboss.org/browse/DROOLS-221
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
         Environment: Using Drools components as OSGi bundles
            Reporter: Fabian Meyer
            Assignee: Mark Proctor


com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.drools.core.rule.KieModuleMetaInfo as it does not have a no-args constructor : Cannot construct org.drools.core.rule.KieModuleMetaInfo as it does not have a no-args constructor
---- Debugging information ----
message             : Cannot construct org.drools.core.rule.KieModuleMetaInfo as it does not have a no-args constructor
cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct org.drools.core.rule.KieModuleMetaInfo as it does not have a no-args constructor
class               : org.drools.core.rule.KieModuleMetaInfo
required-type       : org.drools.core.rule.KieModuleMetaInfo
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
path                : /org.drools.core.rule.KieModuleMetaInfo
version             : null
-------------------------------
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1058)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1042)
	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:913)
	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:904)
	at org.drools.core.rule.KieModuleMetaInfo.unmarshallMetaInfos(KieModuleMetaInfo.java:25)
	at org.drools.compiler.kie.builder.impl.AbstractKieModule.getTypesMetaInfo(AbstractKieModule.java:135)
	at org.drools.compiler.kie.builder.impl.AbstractKieModule.isTypeDeclaration(AbstractKieModule.java:126)
	at org.drools.compiler.kie.builder.impl.AbstractKieModule.getClassesMap(AbstractKieModule.java:117)
	at org.drools.compiler.kie.builder.impl.KieModuleKieProject.getClassesMap(KieModuleKieProject.java:64)
	at org.drools.compiler.kie.builder.impl.KieModuleKieProject.initClassLoader(KieModuleKieProject.java:51)
	at org.drools.compiler.kie.builder.impl.KieModuleKieProject.init(KieModuleKieProject.java:46)
	at org.drools.compiler.kie.builder.impl.KieContainerImpl.<init>(KieContainerImpl.java:64)
	at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:86)
[...]
Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Cannot construct org.drools.core.rule.KieModuleMetaInfo as it does not have a no-args constructor
	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:71)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:428)
	at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:233)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
	... 84 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list