Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote on 03/21/2006 10:00:15 AM:
> rick rineholt wrote: > > Hello, > > > > I'm seeing build breaks at svn rev: 387289 . > > org.apache.tuscany.container.java.assembly.tests.JavaAssemblyLoaderTestCase > > I've back tracked in svn and this started occurring I > > think with > > http://svn.apache.org/viewcvs?rev=387263&view=rev > > > > > > > > <error > > type="java.lang.NullPointerException">java.lang.NullPointerException > > > > at > > org.apache.tuscany.container.java.assembly.tests. > JavaAssemblyLoaderTestCase.testLoader(JavaAssemblyLoaderTestCase.java:72) > > > > 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) > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > > Frank, > > To detect breaks like this one in the future, you can simply run Maven > on the whole java/ tree (just run mvn clean then mvn from java/). This > will tell you if the changes you're making in SDO are breaking either > SCA or DAS. Thanks... Sorry about this. I had run mvn (not mvn clean) but somehow this problem slipped through the cracks. I debugged this and it seems like the problem is actually a bug in SCDLModelContentHandlerImpl. I didn't check to figure out why it didn't fail with the old EMF driver ... but the code is definitely wrong. On line 453 it should use the "mixed" property (not "any") to get the text. That is: final Sequence text = propertyElement.getSequence("mixed"); instead of: final Sequence text = propertyElement.getSequence("any"); With this change, and the new EMF driver, the complete mvn build works fine now. I'll check in the fix and move back to the new EMF. Frank. > > -- > Jean-Sebastien >