You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Simon Laws <si...@googlemail.com> on 2007/04/17 19:15:17 UTC

Problem (?) in sdo2om databinding test case

Just doing a complete build from scratch (repo clean etc.) and I go the
following in the maven build

Running org.apache.tuscany.databinding.sdo2om.DataObject2OMElementTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.011 sec
<<< FA
ILURE!
testTransform(
org.apache.tuscany.databinding.sdo2om.DataObject2OMElementTestCase
)  Time elapsed: 0.891 sec  <<< ERROR!
java.lang.NoSuchFieldError:
org/apache/tuscany/databinding/sdo2om/DataObject2OME
lementTestCase.context
        at
org.apache.tuscany.databinding.sdo2om.DataObject2OMElementTestCase.te
stTransform(DataObject2OMElementTestCase.java:32)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:64)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)

Is anyone else seeing this or should I be looking to start from scratch
again?

Regards

Simon

Re: Problem (?) in sdo2om databinding test case

Posted by Simon Laws <si...@googlemail.com>.
On 4/17/07, Raymond Feng <en...@gmail.com> wrote:
>
> Hi,
>
> Did you run with "mvn clean install"? It seems that you have some obsolete
> classes in the target folder.
>
> Thanks,
> Raymond
>
> ----- Original Message -----
> From: "Simon Laws" <si...@googlemail.com>
> To: "tuscany-dev" <tu...@ws.apache.org>
> Sent: Tuesday, April 17, 2007 10:15 AM
> Subject: Problem (?) in sdo2om databinding test case
>
>
> > Just doing a complete build from scratch (repo clean etc.) and I go the
> > following in the maven build
> >
> > Running
> org.apache.tuscany.databinding.sdo2om.DataObject2OMElementTestCase
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.011sec
> > <<< FA
> > ILURE!
> > testTransform(
> > org.apache.tuscany.databinding.sdo2om.DataObject2OMElementTestCase
> > )  Time elapsed: 0.891 sec  <<< ERROR!
> > java.lang.NoSuchFieldError:
> > org/apache/tuscany/databinding/sdo2om/DataObject2OME
> > lementTestCase.context
> >        at
> > org.apache.tuscany.databinding.sdo2om.DataObject2OMElementTestCase.te
> > stTransform(DataObject2OMElementTestCase.java:32)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.
> > java:64)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAcces
> > sorImpl.java:43)
> >        at java.lang.reflect.Method.invoke(Method.java:615)
> >        at junit.framework.TestCase.runTest(TestCase.java:168)
> >        at junit.framework.TestCase.runBare(TestCase.java:134)
> >        at junit.framework.TestResult$1.protect(TestResult.java:110)
> >        at junit.framework.TestResult.runProtected(TestResult.java:128)
> >        at junit.framework.TestResult.run(TestResult.java:113)
> >
> > Is anyone else seeing this or should I be looking to start from scratch
> > again?
> >
> > Regards
> >
> > Simon
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
> Thanks Raymond. Your are of course right. Coming back with a fresh eye
this morning it all builds OK.

Thanks

Simon

Re: Problem (?) in sdo2om databinding test case

Posted by Raymond Feng <en...@gmail.com>.
Hi,

Did you run with "mvn clean install"? It seems that you have some obsolete 
classes in the target folder.

Thanks,
Raymond

----- Original Message ----- 
From: "Simon Laws" <si...@googlemail.com>
To: "tuscany-dev" <tu...@ws.apache.org>
Sent: Tuesday, April 17, 2007 10:15 AM
Subject: Problem (?) in sdo2om databinding test case


> Just doing a complete build from scratch (repo clean etc.) and I go the
> following in the maven build
>
> Running org.apache.tuscany.databinding.sdo2om.DataObject2OMElementTestCase
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.011 sec
> <<< FA
> ILURE!
> testTransform(
> org.apache.tuscany.databinding.sdo2om.DataObject2OMElementTestCase
> )  Time elapsed: 0.891 sec  <<< ERROR!
> java.lang.NoSuchFieldError:
> org/apache/tuscany/databinding/sdo2om/DataObject2OME
> lementTestCase.context
>        at
> org.apache.tuscany.databinding.sdo2om.DataObject2OMElementTestCase.te
> stTransform(DataObject2OMElementTestCase.java:32)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.
> java:64)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAcces
> sorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:615)
>        at junit.framework.TestCase.runTest(TestCase.java:168)
>        at junit.framework.TestCase.runBare(TestCase.java:134)
>        at junit.framework.TestResult$1.protect(TestResult.java:110)
>        at junit.framework.TestResult.runProtected(TestResult.java:128)
>        at junit.framework.TestResult.run(TestResult.java:113)
>
> Is anyone else seeing this or should I be looking to start from scratch
> again?
>
> Regards
>
> Simon
> 


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