You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kevin Williams (JIRA)" <tu...@ws.apache.org> on 2006/06/27 17:29:29 UTC

[jira] Created: (TUSCANY-502) Regression with test using java.util.Date

Regression with test using java.util.Date
-----------------------------------------

         Key: TUSCANY-502
         URL: http://issues.apache.org/jira/browse/TUSCANY-502
     Project: Tuscany
        Type: Bug

  Components: Java SDO Implementation  
    Versions: Java-Mx    
    Reporter: Kevin Williams
    Priority: Blocker
     Fix For: Java-Mx


A previously working DAS test (org.apache.tuscany.das.rdb.test.ConverterTests.testArbitraryConverter) now fails with the following error:

 java.lang.ClassCastException: The value of type 'class org.eclipse.emf.ecore.xml.type.internal.XMLCalendar' must be of type 'class java.util.Date'
	at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateSingleDataStatic.validate(EStructuralFeatureImpl.java:2046)
	at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateSingleData.dynamicSet(EStructuralFeatureImpl.java:1942)
	at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicSet(BasicEObjectImpl.java:686)
	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:642)
	at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.set(DataObjectUtil.java:1970)
	at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.setAndRecyle(DataObjectUtil.java:1976)
	at org.apache.tuscany.sdo.util.DataObjectUtil.setDate(DataObjectUtil.java:575)
	at org.apache.tuscany.sdo.impl.DataObjectImpl.setDate(DataObjectImpl.java:493)
	at org.apache.tuscany.das.rdb.test.ConverterTests.testArbitraryConverter(ConverterTests.java:90)
	
I have removed this test from the DAS test suite to allow the build to complete until this is resolved.


-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [jira] Created: (TUSCANY-502) Regression with test using java.util.Date

Posted by Fuhwei Lwo <fu...@bricemedia.com>.
Kevin,
  
  Can you assign this JIRA to me?  I can take a look.  Thanks.
  
  Fuhwei Lwo

"Kevin Williams (JIRA)" <tu...@ws.apache.org> wrote:  Regression with test using java.util.Date
-----------------------------------------

         Key: TUSCANY-502
         URL: http://issues.apache.org/jira/browse/TUSCANY-502
     Project: Tuscany
        Type: Bug

  Components: Java SDO Implementation  
    Versions: Java-Mx    
    Reporter: Kevin Williams
    Priority: Blocker
     Fix For: Java-Mx


A  previously working DAS test  (org.apache.tuscany.das.rdb.test.ConverterTests.testArbitraryConverter)  now fails with the following error:

  java.lang.ClassCastException: The value of type 'class  org.eclipse.emf.ecore.xml.type.internal.XMLCalendar' must be of type  'class java.util.Date'
 at  org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateSingleDataStatic.validate(EStructuralFeatureImpl.java:2046)
  at  org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateSingleData.dynamicSet(EStructuralFeatureImpl.java:1942)
 at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicSet(BasicEObjectImpl.java:686)
 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:642)
 at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.set(DataObjectUtil.java:1970)
 at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.setAndRecyle(DataObjectUtil.java:1976)
 at org.apache.tuscany.sdo.util.DataObjectUtil.setDate(DataObjectUtil.java:575)
 at org.apache.tuscany.sdo.impl.DataObjectImpl.setDate(DataObjectImpl.java:493)
 at org.apache.tuscany.das.rdb.test.ConverterTests.testArbitraryConverter(ConverterTests.java:90)
 
I have removed this test from the DAS test suite to allow the build to complete until this is resolved.


-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org



[jira] Resolved: (TUSCANY-502) Regression with test using java.util.Date

Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-502?page=all ]
     
Frank Budinsky resolved TUSCANY-502:
------------------------------------

    Resolution: Fixed

Fixed in revision 417496.

> Regression with test using java.util.Date
> -----------------------------------------
>
>          Key: TUSCANY-502
>          URL: http://issues.apache.org/jira/browse/TUSCANY-502
>      Project: Tuscany
>         Type: Bug

>   Components: Java SDO Implementation
>     Versions: Java-Mx
>     Reporter: Kevin Williams
>     Priority: Blocker
>      Fix For: Java-Mx

>
> A previously working DAS test (org.apache.tuscany.das.rdb.test.ConverterTests.testArbitraryConverter) now fails with the following error:
>  java.lang.ClassCastException: The value of type 'class org.eclipse.emf.ecore.xml.type.internal.XMLCalendar' must be of type 'class java.util.Date'
> 	at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateSingleDataStatic.validate(EStructuralFeatureImpl.java:2046)
> 	at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateSingleData.dynamicSet(EStructuralFeatureImpl.java:1942)
> 	at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicSet(BasicEObjectImpl.java:686)
> 	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:642)
> 	at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.set(DataObjectUtil.java:1970)
> 	at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.setAndRecyle(DataObjectUtil.java:1976)
> 	at org.apache.tuscany.sdo.util.DataObjectUtil.setDate(DataObjectUtil.java:575)
> 	at org.apache.tuscany.sdo.impl.DataObjectImpl.setDate(DataObjectImpl.java:493)
> 	at org.apache.tuscany.das.rdb.test.ConverterTests.testArbitraryConverter(ConverterTests.java:90)
> 	
> I have removed this test from the DAS test suite to allow the build to complete until this is resolved.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org