On Nov 27, 2007 11:47 AM, Simon Laws <[EMAIL PROTECTED]> wrote:

>
>
> On Nov 27, 2007 11:31 AM, ant elder <[EMAIL PROTECTED]> wrote:
>
> >
> >
> > On Nov 27, 2007 11:24 AM, Simon Laws <[EMAIL PROTECTED]> wrote:
> >
> > >
> > >
> > > On Nov 27, 2007 10:46 AM, ant elder <[EMAIL PROTECTED]> wrote:
> > >
> > > > On Nov 27, 2007 10:01 AM, Simon Laws <[EMAIL PROTECTED]>
> > > > wrote:
> > > >
> > > > > On Nov 27, 2007 9:47 AM, ant elder < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > > I'm getting some errors building node-impl on the latest trunk
> > > > code,
> > > > > > anyone
> > > > > > else seeing this or is it something in my local environment?
> > > > > >
> > > > > >    <failure type="junit.framework.AssertionFailedError"
> > > > message="null">
> > > > > > junit.framework.AssertionFailedError: null
> > > > > >    at junit.framework.Assert.fail (Assert.java:47)
> > > > > >    at junit.framework.Assert.fail(Assert.java:53)
> > > > > >    at
> > > > > >
> > > > > >
> > > > >
> > > > org.apache.tuscany.sca.node.impl.DomainAPITestCase.testAddAndUpdateContribution
> > > > > > ( DomainAPITestCase.java:149)
> > > > > >
> > > > > >    <system-err>java.lang.NullPointerException
> > > > > >    at
> > > > org.apache.tuscany.sca.domain.impl.SCADomainImpl.addContribution(
> > > > > > SCADomainImpl.java :483)
> > > > > >    at
> > > > >
> > > > org.apache.tuscany.sca.domain.impl.SCADomainImpl.updateContribution(
> > > > > > SCADomainImpl.java:512)
> > > > > >    at
> > > > > >
> > > > > >
> > > > >
> > > > org.apache.tuscany.sca.node.impl.DomainAPITestCase.testAddAndUpdateContribution
> > > > > > (DomainAPITestCase.java:141)
> > > > > >
> > > > > >
> > > > > > <error type="org.apache.tuscany.sca.node.NodeException"
> > > > > message="Composite
> > > > > > {
> > > > > > http://primary}CalculatorA <http://primary%7DCalculatorA> <
> > > > http://primary%7DCalculatorA> <
> > > > > http://primary%7DCalculatorA > is not
> > > > > > deployable">
> > > > > > org.apache.tuscany.sca.node.NodeException: Composite {
> > > > > > http://primary}CalculatorA <http://primary%7DCalculatorA> <
> > > > http://primary%7DCalculatorA> <
> > > > > http://primary%7DCalculatorA> is not
> > > > > > deployable
> > > > > >    at
> > > > > >
> > > > org.apache.tuscany.sca.node.impl.SCANodeImpl.addToDomainLevelComposite
> > > > (
> > > > > > SCANodeImpl.java:479)
> > > > > >    at
> > > > > >
> > > > > >
> > > > >
> > > > org.apache.tuscany.sca.node.impl.StandaloneNodeTestCase.testAddDepdendentContributions
> > > > > > (StandaloneNodeTestCase.java:196)
> > > > > >
> > > > > >   ...ant
> > > > > >
> > > > > Hi Ant
> > > > >
> > > > > There seem to be two things going on here. Errors being reported
> > > > in
> > > > > AddAndUpdateContribution and also in AddDependentContributions.
> > > > Did they
> > > > > appear in this order?
> > > > >
> > > > > Did you do a full svn up and a mvn clean etc?
> > > > >
> > > > > Doesn't look like environmental things to me. I looked to see if I
> > > > have
> > > > > committed all my changes and it looks like I did. If you still get
> > > > if
> > > > > after
> > > > > a clean we need to get it in the debugger and find out what's
> > > > going on.
> > > > >
> > > > > Regards
> > > > >
> > > > > Simon
> > > > >
> > > >
> > > > I think i'm all up to date  and have done a clean etc.
> > > >
> > > > Taking these one at a time i've started debuging the
> > > > StandaloneNodeTestCase.testAddDepdendentContributions failure. That
> > > > gets to
> > > > line 196 of StandaloneNodeTestCase.java and calls
> > > > node.addToDomainLevelComposite where the code at line 478 of
> > > > SCANodeImpl has
> > > > if ( !isDeployable(composite)){, the composite isn't deployable so
> > > > that then
> > > > throws the NodeException. I'm not sure I understand that check, does
> > > > a
> > > > composite have to be deployable to  use it with
> > > > addToDomainLevelComposite ?
> > > >
> > > >   ...ant
> > > >
> > > Somehow I messed up with svn. Probably by copying a directory on disc
> > > that had an .svn sub-directory. Can you take a look at your
> > > node-impl/src/test/resources/nodeBupdate directory and tell me if it has
> > > anything in it?
> > >
> > > Simon
> >
> >
> > Its empty.
> >
> >    ...ant
> >
> > Ok, can you svn up and try node-impl again.
>
> Simon
>

All ok now, thanks.

   ...ant

Reply via email to