[jboss-dev-forums] [Design of JBossXB] - Re: JBossXB-2.0.0.CR5

alex.loubyansky@jboss.com do-not-reply at jboss.com
Mon Sep 24 13:29:23 EDT 2007


I wanted to mention sporadic errors I saw today. The current results are:
tests: 638
errors: 308
failures: 8

But there was a run where I got
tests: 638
errors: 388
failures: 12

The errors were related to not being able to find getter methods for properties. The reason was that instead of introspecting the class which had both getter and setter methods for a property, an interface that declared only the setter method for that property and which was implemented by the class was introspected.

For that reason all the tests (224) in org.jboss.test.xb.builder.object.mc.test failed.
Example of the exception message:
Expected a getter for annotations in org.jboss.test.xb.builder.object.mc.support.model.BeanMetaData at org.jboss.test.xb.builder.object.mc.support.model.BeanMetaData.annotations at org.jboss.test.xb.builder.object.mc.support.model.AbstractBeanMetaData.beans at org.jboss.test.xb.builder.object.mc.support.model.AbstractKernelDeployment.beanFactories at org.jboss.test.xb.builder.object.mc.support.model.AbstractKernelDeployment

W/o making any changes just rebuilding and rerunning the issue went away.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088086#4088086

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088086



More information about the jboss-dev-forums mailing list