[ http://issues.apache.org/jira/browse/TUSCANY-214?page=comments#action_12375929 ]
Raymond Feng commented on TUSCANY-214: -------------------------------------- The latest code builds successfully on my machine @ 9:20pm PST, 04/23/2006. > Build break in sdo/impl - test case > org.apache.tuscany.sdo.test.DefineTypeTestCase - revision r396374. > ------------------------------------------------------------------------------------------------------ > > Key: TUSCANY-214 > URL: http://issues.apache.org/jira/browse/TUSCANY-214 > Project: Tuscany > Type: Bug > Components: Java SDO Implementation > Environment: Linux > Reporter: Jean-Sebastien Delfino > Priority: Blocker > > Build break in sdo/impl - test case > org.apache.tuscany.sdo.test.DefineTypeTestCase - revision 396374. > Here's the surefire log: > ------------------------------------------------------------------------------- > Battery: org.apache.tuscany.sdo.test.DefineTypeTestCase > ------------------------------------------------------------------------------- > Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 0.067 sec > testDefineOpenType(org.apache.tuscany.sdo.test.DefineTypeTestCase) Time > elapsed: 0.002 sec <<< ERROR! > [ stdout ] --------------------------------------------------------------- > [ stderr ] --------------------------------------------------------------- > [ stacktrace ] ----------------------------------------------------------- > java.lang.ClassCastException: The feature 'openStockQuote's type 'OpenQuote' > does not permit a value of type 'OpenQuote' > at > org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$BasicFeatureMapEntry.validate(EStructuralFeatureImpl.java:2843) > at > org.eclipse.emf.ecore.util.FeatureMapUtil.createEntry(FeatureMapUtil.java:146) > at > org.eclipse.emf.ecore.util.BasicFeatureMap.createEntry(BasicFeatureMap.java:94) > at > org.eclipse.emf.ecore.util.BasicFeatureMap.set(BasicFeatureMap.java:1051) > at > org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureValue.set(FeatureMapUtil.java:1150) > at > org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateFeatureMapDelegator.dynamicSet(EStructuralFeatureImpl.java:1401) > at > org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicSet(BasicEObjectImpl.java:648) > at > org.apache.tuscany.sdo.impl.DynamicDataObjectImpl.eDynamicSet(DynamicDataObjectImpl.java:147) > at > org.apache.tuscany.sdo.impl.DataObjectImpl.eSet(DataObjectImpl.java:1439) > at > org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:604) > at > org.apache.tuscany.sdo.helper.XMLDocumentImpl.save(XMLDocumentImpl.java:192) > at > org.apache.tuscany.sdo.helper.XMLHelperImpl.save(XMLHelperImpl.java:104) > at > org.apache.tuscany.sdo.helper.XMLHelperImpl.save(XMLHelperImpl.java:99) > at > org.apache.tuscany.sdo.test.DefineTypeTestCase.testDefineOpenType(DefineTypeTestCase.java:531) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at junit.framework.TestCase.runTest(TestCase.java:154) > at junit.framework.TestCase.runBare(TestCase.java:127) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:118) > at junit.framework.TestSuite.runTest(TestSuite.java:208) > at junit.framework.TestSuite.run(TestSuite.java:203) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242) > at > org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216) > at > org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215) > at org.apache.maven.surefire.Surefire.run(Surefire.java:163) > at org.apache.maven.surefire.Surefire.run(Surefire.java:87) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBooter.java:285) > at > org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:201) > at > org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:366) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:432) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:530) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
