You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Andrey Razumovsky <ra...@gmail.com> on 2009/09/10 15:03:14 UTC

Re: Junit sometimes failes

Hi,

Now I always see failure of DataContextFlattenedAttributesTest (trace
below). I wonder why Hudson cannot see it.. Anybody had such problems?

org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT ñåí 10 2009
13:51:41] Query exception.
    at
org.apache.cayenne.access.DataDomainQueryAction.nextQueryException(DataDomainQueryAction.java:545)
    at
org.apache.cayenne.access.UnitTestDomainQueryAction.nextQueryException(UnitTestDomainQueryAction.java:36)
    at org.apache.cayenne.access.DataNode.performQueries(DataNode.java:281)
    at
org.apache.cayenne.access.DataDomainQueryAction.runQuery(DataDomainQueryAction.java:418)
    at
org.apache.cayenne.access.DataDomainQueryAction.access$000(DataDomainQueryAction.java:65)
    at
org.apache.cayenne.access.DataDomainQueryAction$2.transform(DataDomainQueryAction.java:391)
    at
org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:850)
    at
org.apache.cayenne.access.DataDomainQueryAction.runQueryInTransaction(DataDomainQueryAction.java:388)
    at
org.apache.cayenne.access.UnitTestDomainQueryAction.runQueryInTransaction(UnitTestDomainQueryAction.java:54)
    at
org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:117)
    at
org.apache.cayenne.access.UnitTestDomainQueryAction.execute(UnitTestDomainQueryAction.java:48)
    at
org.apache.cayenne.access.UnitTestDomain.onQuery(UnitTestDomain.java:63)
    at
org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:333)
    at
org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:96)
    at org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1278)
    at
org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1267)
    at
org.apache.cayenne.access.DataContextFlattenedAttributesTest.testSelectCompound1(DataContextFlattenedAttributesTest.java:117)
    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:597)
    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
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
    at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.sql.SQLException: Column not found: T3.PAINTING_ID in
statement [SELECT t0.ARTIST_ID, t0.PAINTING_ID, t0.GALLERY_ID,
t0.ESTIMATED_PRICE, t1.TEXT_REVIEW, t0.PAINTING_TITLE, t2.ARTIST_NAME,
t3.GALLERY_NAME, t3.PAINTING_ID FROM PAINTING t0 JOIN PAINTING_INFO t1 ON
(t0.PAINTING_ID = t1.PAINTING_ID) JOIN ARTIST t2 ON (t0.ARTIST_ID =
t2.ARTIST_ID) JOIN GALLERY t3 ON (t0.GALLERY_ID = t3.GALLERY_ID)]
    at org.hsqldb.jdbc.Util.throwError(Unknown Source)
    at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
    at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
    at
org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:281)
    at
org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:287)
    at
org.apache.cayenne.access.TransactionConnectionDecorator.prepareStatement(TransactionConnectionDecorator.java:186)
    at
org.apache.cayenne.access.trans.QueryAssembler.createStatement(QueryAssembler.java:196)
    at
org.apache.cayenne.access.jdbc.SelectAction.performAction(SelectAction.java:70)
    at
org.apache.cayenne.access.DataNodeQueryAction.runQuery(DataNodeQueryAction.java:87)
    at org.apache.cayenne.access.DataNode.performQueries(DataNode.java:274)
    ... 32 more



-- 
Andrey

Re: Junit sometimes failes

Posted by Michael Gentry <mg...@masslight.net>.
I wouldn't think so, but I don't have a Windows setup to try to build
on.  From the stack trace, it appears to be in DB code, not GUI code:

Caused by: java.sql.SQLException: Column not found: T3.PAINTING_ID in
statement [SELECT t0.ARTIST_ID, t0.PAINTING_ID, t0.GALLERY_ID,
t0.ESTIMATED_PRICE, t1.TEXT_REVIEW, t0.PAINTING_TITLE, t2.ARTIST_NAME,
t3.GALLERY_NAME, t3.PAINTING_ID FROM PAINTING t0 JOIN PAINTING_INFO t1 ON
(t0.PAINTING_ID = t1.PAINTING_ID) JOIN ARTIST t2 ON (t0.ARTIST_ID =
t2.ARTIST_ID) JOIN GALLERY t3 ON (t0.GALLERY_ID = t3.GALLERY_ID)]

Also, I just did a search through the
DataContextFlattenedAttributesTest output in my console and didn't see
"SELECT t0.ARTIST_ID, t0.PAINTING_ID" anywhere in it (or in any other
test).  So the SQL/test that mine ran appears different than yours.

mrg


On Thu, Sep 10, 2009 at 9:34 AM, Andrey
Razumovsky<ra...@gmail.com> wrote:
> Strange.. could it be it's because I'm on Windows?

Re: Junit sometimes failes

Posted by Andrey Razumovsky <ra...@gmail.com>.
I've already seen that Cayenne is sometimes disregarding to things like file
separators (e.g. using '/' rather than File.separatorChar) etc.. Something
like that could have caused the problem

2009/9/15 Kevin Menard <ni...@gmail.com>

> "I think changed by JDK in JAVA_HOME from 1.5 to 1.6 and that did fix
> the JPA issues. "
>
> I don't know what that means.  But, I changed my JDK in JAVA_HOME and
> my JPA test failures went away.  I don't know know how the version of
> maven fit into that due to the confounding variables.
>
> --
> Kevin
>
>
>
> On Mon, Sep 14, 2009 at 10:07 PM, Kevin Menard <ni...@gmail.com> wrote:
> > Per your suggestion, I upgraded to maven 2.2.1.  That did not fix the
> > JPA tests.  I think changed by JDK in JAVA_HOME from 1.5 to 1.6 and
> > that did fix the JPA issues.  However, now I'm seeing these test
> > failures:
> >
> > Tests in error:
> >
>  testSelectCompound1(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
> >
>  testSelectCompound2(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
> >
> > I'd have to dig into it more.  The stack traces are below:
> >
> >
> -------------------------------------------------------------------------------
> > Test set: org.apache.cayenne.access.DataContextFlattenedAttributesTest
> >
> -------------------------------------------------------------------------------
> > Tests run: 6, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.188
> > sec <<< FAILURE!
> >
> testSelectCompound1(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
> >  Time elapsed: 0.015 sec  <<< ERROR!
> > org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Sep 15
> > 2009 03:01:18] Query exception.
> >        at
> org.apache.cayenne.access.DataDomainQueryAction.nextQueryException(DataDomainQueryAction.java:545)
> >        at
> org.apache.cayenne.access.UnitTestDomainQueryAction.nextQueryException(UnitTestDomainQueryAction.java:36)
> >        at
> org.apache.cayenne.access.DataNode.performQueries(DataNode.java:281)
> >        at
> org.apache.cayenne.access.DataDomainQueryAction.runQuery(DataDomainQueryAction.java:418)
> >        at
> org.apache.cayenne.access.DataDomainQueryAction.access$000(DataDomainQueryAction.java:65)
> >        at
> org.apache.cayenne.access.DataDomainQueryAction$2.transform(DataDomainQueryAction.java:391)
> >        at
> org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:850)
> >        at
> org.apache.cayenne.access.DataDomainQueryAction.runQueryInTransaction(DataDomainQueryAction.java:388)
> >        at
> org.apache.cayenne.access.UnitTestDomainQueryAction.runQueryInTransaction(UnitTestDomainQueryAction.java:54)
> >        at
> org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:117)
> >        at
> org.apache.cayenne.access.UnitTestDomainQueryAction.execute(UnitTestDomainQueryAction.java:48)
> >        at
> org.apache.cayenne.access.UnitTestDomain.onQuery(UnitTestDomain.java:63)
> >        at
> org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:333)
> >        at
> org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:96)
> >        at
> org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1278)
> >        at
> org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1267)
> >        at
> org.apache.cayenne.access.DataContextFlattenedAttributesTest.testSelectCompound1(DataContextFlattenedAttributesTest.java:117)
> > Caused by: java.sql.SQLException: Column not found: T3.PAINTING_ID in
> > statement [SELECT t0.ARTIST_ID, t0.PAINTING_ID, t0.GALLERY_ID,
> > t0.ESTIMATED_PRICE, t1.TEXT_REVIEW, t0.PAINTING_TITLE, t2.ARTIST_NAME,
> > t3.GALLERY_NAME, t3.PAINTING_ID FROM PAINTING t0 JOIN PAINTING_INFO t1
> > ON (t0.PAINTING_ID = t1.PAINTING_ID) JOIN ARTIST t2 ON (t0.ARTIST_ID =
> > t2.ARTIST_ID) JOIN GALLERY t3 ON (t0.GALLERY_ID = t3.GALLERY_ID)]
> >        at org.hsqldb.jdbc.Util.throwError(Unknown Source)
> >        at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
> >        at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
> >        at
> org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:281)
> >        at
> org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:287)
> >        at
> org.apache.cayenne.access.TransactionConnectionDecorator.prepareStatement(TransactionConnectionDecorator.java:186)
> >        at
> org.apache.cayenne.access.trans.QueryAssembler.createStatement(QueryAssembler.java:196)
> >        at
> org.apache.cayenne.access.jdbc.SelectAction.performAction(SelectAction.java:70)
> >        at
> org.apache.cayenne.access.DataNodeQueryAction.runQuery(DataNodeQueryAction.java:87)
> >        at
> org.apache.cayenne.access.DataNode.performQueries(DataNode.java:274)
> >        ... 39 more
> >
> >
> testSelectCompound2(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
> >  Time elapsed: 0.032 sec  <<< ERROR!
> > org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Sep 15
> > 2009 03:01:18] Query exception.
> >        at
> org.apache.cayenne.access.DataDomainQueryAction.nextQueryException(DataDomainQueryAction.java:545)
> >        at
> org.apache.cayenne.access.UnitTestDomainQueryAction.nextQueryException(UnitTestDomainQueryAction.java:36)
> >        at
> org.apache.cayenne.access.DataNode.performQueries(DataNode.java:281)
> >        at
> org.apache.cayenne.access.DataDomainQueryAction.runQuery(DataDomainQueryAction.java:418)
> >        at
> org.apache.cayenne.access.DataDomainQueryAction.access$000(DataDomainQueryAction.java:65)
> >        at
> org.apache.cayenne.access.DataDomainQueryAction$2.transform(DataDomainQueryAction.java:391)
> >        at
> org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:850)
> >        at
> org.apache.cayenne.access.DataDomainQueryAction.runQueryInTransaction(DataDomainQueryAction.java:388)
> >        at
> org.apache.cayenne.access.UnitTestDomainQueryAction.runQueryInTransaction(UnitTestDomainQueryAction.java:54)
> >        at
> org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:117)
> >        at
> org.apache.cayenne.access.UnitTestDomainQueryAction.execute(UnitTestDomainQueryAction.java:48)
> >        at
> org.apache.cayenne.access.UnitTestDomain.onQuery(UnitTestDomain.java:63)
> >        at
> org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:333)
> >        at
> org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:96)
> >        at
> org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1278)
> >        at
> org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1267)
> >        at
> org.apache.cayenne.access.DataContextFlattenedAttributesTest.testSelectCompound2(DataContextFlattenedAttributesTest.java:154)
> > Caused by: java.sql.SQLException: Column not found: T3.PAINTING_ID in
> > statement [SELECT t0.ARTIST_ID, t0.PAINTING_ID, t0.GALLERY_ID,
> > t0.ESTIMATED_PRICE, t1.TEXT_REVIEW, t0.PAINTING_TITLE, t2.ARTIST_NAME,
> > t3.GALLERY_NAME, t3.PAINTING_ID FROM PAINTING t0 JOIN PAINTING_INFO t1
> > ON (t0.PAINTING_ID = t1.PAINTING_ID) JOIN ARTIST t2 ON (t0.ARTIST_ID =
> > t2.ARTIST_ID) JOIN GALLERY t3 ON (t0.GALLERY_ID = t3.GALLERY_ID) WHERE
> > t2.ARTIST_NAME = ?]
> >        at org.hsqldb.jdbc.Util.throwError(Unknown Source)
> >        at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
> >        at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
> >        at
> org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:281)
> >        at
> org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:287)
> >        at
> org.apache.cayenne.access.TransactionConnectionDecorator.prepareStatement(TransactionConnectionDecorator.java:186)
> >        at
> org.apache.cayenne.access.trans.QueryAssembler.createStatement(QueryAssembler.java:196)
> >        at
> org.apache.cayenne.access.jdbc.SelectAction.performAction(SelectAction.java:70)
> >        at
> org.apache.cayenne.access.DataNodeQueryAction.runQuery(DataNodeQueryAction.java:87)
> >        at
> org.apache.cayenne.access.DataNode.performQueries(DataNode.java:274)
> >        ... 39 more
> >
> >
> >
> > --
> > Kevin
> >
> >
> >
> > On Mon, Sep 14, 2009 at 9:11 AM, Andrey Razumovsky
> > <ra...@gmail.com> wrote:
> >> Weird.. Thanks. By the way I stopped getting JPA failures with Maven
> 2.2.0
> >>
> >> 2009/9/14 Kevin Menard <ni...@gmail.com>
> >>
> >>> Other than the regular JPA test failures, I had no problems on Windows
> XP.
> >>>
> >>> --
> >>> Kevin
> >>>
> >>>
> >>>
> >>> On Sat, Sep 12, 2009 at 6:05 PM, Kevin Menard <ni...@gmail.com>
> wrote:
> >>> > I'll test on my Windows VM this weekend for you.
> >>> >
> >>> > --
> >>> > Kevin
> >>> >
> >>> >
> >>> >
> >>> > On Thu, Sep 10, 2009 at 9:34 AM, Andrey Razumovsky
> >>> > <ra...@gmail.com> wrote:
> >>> >> Strange.. could it be it's because I'm on Windows?
> >>> >>
> >>> >> 2009/9/10 Michael Gentry <mg...@masslight.net>
> >>> >>
> >>> >>> I just did:
> >>> >>>
> >>> >>>    svn update; mvn clean; mvn -P mac install
> >>> >>>
> >>> >>> It all built for me.
> >>> >>>
> >>> >>> [INFO] BUILD SUCCESSFUL
> >>> >>> [INFO]
> >>> >>>
> >>>
> ------------------------------------------------------------------------
> >>> >>> [INFO] Total time: 3 minutes 27 seconds
> >>> >>> [INFO] Finished at: Thu Sep 10 09:20:25 EDT 2009
> >>> >>>
> >>> >>>
> >>> >>> mrg
> >>> >>>
> >>> >>
> >>> >>
> >>> >>
> >>> >> --
> >>> >> Andrey
> >>> >>
> >>> >
> >>>
> >>
> >>
> >>
> >> --
> >> Andrey
> >>
> >
>



-- 
Andrey

Re: Junit sometimes failes

Posted by Kevin Menard <ni...@gmail.com>.
"I think changed by JDK in JAVA_HOME from 1.5 to 1.6 and that did fix
the JPA issues. "

I don't know what that means.  But, I changed my JDK in JAVA_HOME and
my JPA test failures went away.  I don't know know how the version of
maven fit into that due to the confounding variables.

-- 
Kevin



On Mon, Sep 14, 2009 at 10:07 PM, Kevin Menard <ni...@gmail.com> wrote:
> Per your suggestion, I upgraded to maven 2.2.1.  That did not fix the
> JPA tests.  I think changed by JDK in JAVA_HOME from 1.5 to 1.6 and
> that did fix the JPA issues.  However, now I'm seeing these test
> failures:
>
> Tests in error:
>  testSelectCompound1(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
>  testSelectCompound2(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
>
> I'd have to dig into it more.  The stack traces are below:
>
> -------------------------------------------------------------------------------
> Test set: org.apache.cayenne.access.DataContextFlattenedAttributesTest
> -------------------------------------------------------------------------------
> Tests run: 6, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.188
> sec <<< FAILURE!
> testSelectCompound1(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
>  Time elapsed: 0.015 sec  <<< ERROR!
> org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Sep 15
> 2009 03:01:18] Query exception.
>        at org.apache.cayenne.access.DataDomainQueryAction.nextQueryException(DataDomainQueryAction.java:545)
>        at org.apache.cayenne.access.UnitTestDomainQueryAction.nextQueryException(UnitTestDomainQueryAction.java:36)
>        at org.apache.cayenne.access.DataNode.performQueries(DataNode.java:281)
>        at org.apache.cayenne.access.DataDomainQueryAction.runQuery(DataDomainQueryAction.java:418)
>        at org.apache.cayenne.access.DataDomainQueryAction.access$000(DataDomainQueryAction.java:65)
>        at org.apache.cayenne.access.DataDomainQueryAction$2.transform(DataDomainQueryAction.java:391)
>        at org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:850)
>        at org.apache.cayenne.access.DataDomainQueryAction.runQueryInTransaction(DataDomainQueryAction.java:388)
>        at org.apache.cayenne.access.UnitTestDomainQueryAction.runQueryInTransaction(UnitTestDomainQueryAction.java:54)
>        at org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:117)
>        at org.apache.cayenne.access.UnitTestDomainQueryAction.execute(UnitTestDomainQueryAction.java:48)
>        at org.apache.cayenne.access.UnitTestDomain.onQuery(UnitTestDomain.java:63)
>        at org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:333)
>        at org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:96)
>        at org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1278)
>        at org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1267)
>        at org.apache.cayenne.access.DataContextFlattenedAttributesTest.testSelectCompound1(DataContextFlattenedAttributesTest.java:117)
> Caused by: java.sql.SQLException: Column not found: T3.PAINTING_ID in
> statement [SELECT t0.ARTIST_ID, t0.PAINTING_ID, t0.GALLERY_ID,
> t0.ESTIMATED_PRICE, t1.TEXT_REVIEW, t0.PAINTING_TITLE, t2.ARTIST_NAME,
> t3.GALLERY_NAME, t3.PAINTING_ID FROM PAINTING t0 JOIN PAINTING_INFO t1
> ON (t0.PAINTING_ID = t1.PAINTING_ID) JOIN ARTIST t2 ON (t0.ARTIST_ID =
> t2.ARTIST_ID) JOIN GALLERY t3 ON (t0.GALLERY_ID = t3.GALLERY_ID)]
>        at org.hsqldb.jdbc.Util.throwError(Unknown Source)
>        at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
>        at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
>        at org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:281)
>        at org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:287)
>        at org.apache.cayenne.access.TransactionConnectionDecorator.prepareStatement(TransactionConnectionDecorator.java:186)
>        at org.apache.cayenne.access.trans.QueryAssembler.createStatement(QueryAssembler.java:196)
>        at org.apache.cayenne.access.jdbc.SelectAction.performAction(SelectAction.java:70)
>        at org.apache.cayenne.access.DataNodeQueryAction.runQuery(DataNodeQueryAction.java:87)
>        at org.apache.cayenne.access.DataNode.performQueries(DataNode.java:274)
>        ... 39 more
>
> testSelectCompound2(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
>  Time elapsed: 0.032 sec  <<< ERROR!
> org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Sep 15
> 2009 03:01:18] Query exception.
>        at org.apache.cayenne.access.DataDomainQueryAction.nextQueryException(DataDomainQueryAction.java:545)
>        at org.apache.cayenne.access.UnitTestDomainQueryAction.nextQueryException(UnitTestDomainQueryAction.java:36)
>        at org.apache.cayenne.access.DataNode.performQueries(DataNode.java:281)
>        at org.apache.cayenne.access.DataDomainQueryAction.runQuery(DataDomainQueryAction.java:418)
>        at org.apache.cayenne.access.DataDomainQueryAction.access$000(DataDomainQueryAction.java:65)
>        at org.apache.cayenne.access.DataDomainQueryAction$2.transform(DataDomainQueryAction.java:391)
>        at org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:850)
>        at org.apache.cayenne.access.DataDomainQueryAction.runQueryInTransaction(DataDomainQueryAction.java:388)
>        at org.apache.cayenne.access.UnitTestDomainQueryAction.runQueryInTransaction(UnitTestDomainQueryAction.java:54)
>        at org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:117)
>        at org.apache.cayenne.access.UnitTestDomainQueryAction.execute(UnitTestDomainQueryAction.java:48)
>        at org.apache.cayenne.access.UnitTestDomain.onQuery(UnitTestDomain.java:63)
>        at org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:333)
>        at org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:96)
>        at org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1278)
>        at org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1267)
>        at org.apache.cayenne.access.DataContextFlattenedAttributesTest.testSelectCompound2(DataContextFlattenedAttributesTest.java:154)
> Caused by: java.sql.SQLException: Column not found: T3.PAINTING_ID in
> statement [SELECT t0.ARTIST_ID, t0.PAINTING_ID, t0.GALLERY_ID,
> t0.ESTIMATED_PRICE, t1.TEXT_REVIEW, t0.PAINTING_TITLE, t2.ARTIST_NAME,
> t3.GALLERY_NAME, t3.PAINTING_ID FROM PAINTING t0 JOIN PAINTING_INFO t1
> ON (t0.PAINTING_ID = t1.PAINTING_ID) JOIN ARTIST t2 ON (t0.ARTIST_ID =
> t2.ARTIST_ID) JOIN GALLERY t3 ON (t0.GALLERY_ID = t3.GALLERY_ID) WHERE
> t2.ARTIST_NAME = ?]
>        at org.hsqldb.jdbc.Util.throwError(Unknown Source)
>        at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
>        at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
>        at org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:281)
>        at org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:287)
>        at org.apache.cayenne.access.TransactionConnectionDecorator.prepareStatement(TransactionConnectionDecorator.java:186)
>        at org.apache.cayenne.access.trans.QueryAssembler.createStatement(QueryAssembler.java:196)
>        at org.apache.cayenne.access.jdbc.SelectAction.performAction(SelectAction.java:70)
>        at org.apache.cayenne.access.DataNodeQueryAction.runQuery(DataNodeQueryAction.java:87)
>        at org.apache.cayenne.access.DataNode.performQueries(DataNode.java:274)
>        ... 39 more
>
>
>
> --
> Kevin
>
>
>
> On Mon, Sep 14, 2009 at 9:11 AM, Andrey Razumovsky
> <ra...@gmail.com> wrote:
>> Weird.. Thanks. By the way I stopped getting JPA failures with Maven 2.2.0
>>
>> 2009/9/14 Kevin Menard <ni...@gmail.com>
>>
>>> Other than the regular JPA test failures, I had no problems on Windows XP.
>>>
>>> --
>>> Kevin
>>>
>>>
>>>
>>> On Sat, Sep 12, 2009 at 6:05 PM, Kevin Menard <ni...@gmail.com> wrote:
>>> > I'll test on my Windows VM this weekend for you.
>>> >
>>> > --
>>> > Kevin
>>> >
>>> >
>>> >
>>> > On Thu, Sep 10, 2009 at 9:34 AM, Andrey Razumovsky
>>> > <ra...@gmail.com> wrote:
>>> >> Strange.. could it be it's because I'm on Windows?
>>> >>
>>> >> 2009/9/10 Michael Gentry <mg...@masslight.net>
>>> >>
>>> >>> I just did:
>>> >>>
>>> >>>    svn update; mvn clean; mvn -P mac install
>>> >>>
>>> >>> It all built for me.
>>> >>>
>>> >>> [INFO] BUILD SUCCESSFUL
>>> >>> [INFO]
>>> >>>
>>> ------------------------------------------------------------------------
>>> >>> [INFO] Total time: 3 minutes 27 seconds
>>> >>> [INFO] Finished at: Thu Sep 10 09:20:25 EDT 2009
>>> >>>
>>> >>>
>>> >>> mrg
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Andrey
>>> >>
>>> >
>>>
>>
>>
>>
>> --
>> Andrey
>>
>

Re: Junit sometimes failes

Posted by Andrey Razumovsky <ra...@gmail.com>.
Seems it worked all before revision 811957. I'll try to figure out too, it
is quite big

2009/9/15 Kevin Menard <ni...@gmail.com>

> Per your suggestion, I upgraded to maven 2.2.1.  That did not fix the
> JPA tests.  I think changed by JDK in JAVA_HOME from 1.5 to 1.6 and
> that did fix the JPA issues.  However, now I'm seeing these test
> failures:
>
> Tests in error:
>
>  testSelectCompound1(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
>
>  testSelectCompound2(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
>
> I'd have to dig into it more.  The stack traces are below:
>
>
> -------------------------------------------------------------------------------
> Test set: org.apache.cayenne.access.DataContextFlattenedAttributesTest
>
> -------------------------------------------------------------------------------
> Tests run: 6, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.188
> sec <<< FAILURE!
>
> testSelectCompound1(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
>  Time elapsed: 0.015 sec  <<< ERROR!
> org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Sep 15
> 2009 03:01:18] Query exception.
>         at
> org.apache.cayenne.access.DataDomainQueryAction.nextQueryException(DataDomainQueryAction.java:545)
>        at
> org.apache.cayenne.access.UnitTestDomainQueryAction.nextQueryException(UnitTestDomainQueryAction.java:36)
>        at
> org.apache.cayenne.access.DataNode.performQueries(DataNode.java:281)
>        at
> org.apache.cayenne.access.DataDomainQueryAction.runQuery(DataDomainQueryAction.java:418)
>        at
> org.apache.cayenne.access.DataDomainQueryAction.access$000(DataDomainQueryAction.java:65)
>        at
> org.apache.cayenne.access.DataDomainQueryAction$2.transform(DataDomainQueryAction.java:391)
>        at
> org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:850)
>        at
> org.apache.cayenne.access.DataDomainQueryAction.runQueryInTransaction(DataDomainQueryAction.java:388)
>        at
> org.apache.cayenne.access.UnitTestDomainQueryAction.runQueryInTransaction(UnitTestDomainQueryAction.java:54)
>        at
> org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:117)
>        at
> org.apache.cayenne.access.UnitTestDomainQueryAction.execute(UnitTestDomainQueryAction.java:48)
>        at
> org.apache.cayenne.access.UnitTestDomain.onQuery(UnitTestDomain.java:63)
>        at
> org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:333)
>        at
> org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:96)
>        at
> org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1278)
>        at
> org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1267)
>        at
> org.apache.cayenne.access.DataContextFlattenedAttributesTest.testSelectCompound1(DataContextFlattenedAttributesTest.java:117)
> Caused by: java.sql.SQLException: Column not found: T3.PAINTING_ID in
> statement [SELECT t0.ARTIST_ID, t0.PAINTING_ID, t0.GALLERY_ID,
> t0.ESTIMATED_PRICE, t1.TEXT_REVIEW, t0.PAINTING_TITLE, t2.ARTIST_NAME,
> t3.GALLERY_NAME, t3.PAINTING_ID FROM PAINTING t0 JOIN PAINTING_INFO t1
> ON (t0.PAINTING_ID = t1.PAINTING_ID) JOIN ARTIST t2 ON (t0.ARTIST_ID =
> t2.ARTIST_ID) JOIN GALLERY t3 ON (t0.GALLERY_ID = t3.GALLERY_ID)]
>        at org.hsqldb.jdbc.Util.throwError(Unknown Source)
>        at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
>        at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
>        at
> org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:281)
>        at
> org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:287)
>        at
> org.apache.cayenne.access.TransactionConnectionDecorator.prepareStatement(TransactionConnectionDecorator.java:186)
>        at
> org.apache.cayenne.access.trans.QueryAssembler.createStatement(QueryAssembler.java:196)
>        at
> org.apache.cayenne.access.jdbc.SelectAction.performAction(SelectAction.java:70)
>        at
> org.apache.cayenne.access.DataNodeQueryAction.runQuery(DataNodeQueryAction.java:87)
>        at
> org.apache.cayenne.access.DataNode.performQueries(DataNode.java:274)
>         ... 39 more
>
>
> testSelectCompound2(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
>  Time elapsed: 0.032 sec  <<< ERROR!
> org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Sep 15
> 2009 03:01:18] Query exception.
>         at
> org.apache.cayenne.access.DataDomainQueryAction.nextQueryException(DataDomainQueryAction.java:545)
>        at
> org.apache.cayenne.access.UnitTestDomainQueryAction.nextQueryException(UnitTestDomainQueryAction.java:36)
>        at
> org.apache.cayenne.access.DataNode.performQueries(DataNode.java:281)
>        at
> org.apache.cayenne.access.DataDomainQueryAction.runQuery(DataDomainQueryAction.java:418)
>        at
> org.apache.cayenne.access.DataDomainQueryAction.access$000(DataDomainQueryAction.java:65)
>        at
> org.apache.cayenne.access.DataDomainQueryAction$2.transform(DataDomainQueryAction.java:391)
>        at
> org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:850)
>        at
> org.apache.cayenne.access.DataDomainQueryAction.runQueryInTransaction(DataDomainQueryAction.java:388)
>        at
> org.apache.cayenne.access.UnitTestDomainQueryAction.runQueryInTransaction(UnitTestDomainQueryAction.java:54)
>        at
> org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:117)
>        at
> org.apache.cayenne.access.UnitTestDomainQueryAction.execute(UnitTestDomainQueryAction.java:48)
>        at
> org.apache.cayenne.access.UnitTestDomain.onQuery(UnitTestDomain.java:63)
>        at
> org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:333)
>        at
> org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:96)
>        at
> org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1278)
>        at
> org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1267)
>         at
> org.apache.cayenne.access.DataContextFlattenedAttributesTest.testSelectCompound2(DataContextFlattenedAttributesTest.java:154)
> Caused by: java.sql.SQLException: Column not found: T3.PAINTING_ID in
> statement [SELECT t0.ARTIST_ID, t0.PAINTING_ID, t0.GALLERY_ID,
> t0.ESTIMATED_PRICE, t1.TEXT_REVIEW, t0.PAINTING_TITLE, t2.ARTIST_NAME,
> t3.GALLERY_NAME, t3.PAINTING_ID FROM PAINTING t0 JOIN PAINTING_INFO t1
> ON (t0.PAINTING_ID = t1.PAINTING_ID) JOIN ARTIST t2 ON (t0.ARTIST_ID =
> t2.ARTIST_ID) JOIN GALLERY t3 ON (t0.GALLERY_ID = t3.GALLERY_ID) WHERE
> t2.ARTIST_NAME = ?]
>         at org.hsqldb.jdbc.Util.throwError(Unknown Source)
>        at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
>        at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
>        at
> org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:281)
>        at
> org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:287)
>        at
> org.apache.cayenne.access.TransactionConnectionDecorator.prepareStatement(TransactionConnectionDecorator.java:186)
>        at
> org.apache.cayenne.access.trans.QueryAssembler.createStatement(QueryAssembler.java:196)
>        at
> org.apache.cayenne.access.jdbc.SelectAction.performAction(SelectAction.java:70)
>        at
> org.apache.cayenne.access.DataNodeQueryAction.runQuery(DataNodeQueryAction.java:87)
>        at
> org.apache.cayenne.access.DataNode.performQueries(DataNode.java:274)
>         ... 39 more
>
>
>
> --
> Kevin
>
>
>
> On Mon, Sep 14, 2009 at 9:11 AM, Andrey Razumovsky
> <ra...@gmail.com> wrote:
> > Weird.. Thanks. By the way I stopped getting JPA failures with Maven
> 2.2.0
> >
> > 2009/9/14 Kevin Menard <ni...@gmail.com>
> >
> >> Other than the regular JPA test failures, I had no problems on Windows
> XP.
> >>
> >> --
> >> Kevin
> >>
> >>
> >>
> >> On Sat, Sep 12, 2009 at 6:05 PM, Kevin Menard <ni...@gmail.com>
> wrote:
> >> > I'll test on my Windows VM this weekend for you.
> >> >
> >> > --
> >> > Kevin
> >> >
> >> >
> >> >
> >> > On Thu, Sep 10, 2009 at 9:34 AM, Andrey Razumovsky
> >> > <ra...@gmail.com> wrote:
> >> >> Strange.. could it be it's because I'm on Windows?
> >> >>
> >> >> 2009/9/10 Michael Gentry <mg...@masslight.net>
> >> >>
> >> >>> I just did:
> >> >>>
> >> >>>    svn update; mvn clean; mvn -P mac install
> >> >>>
> >> >>> It all built for me.
> >> >>>
> >> >>> [INFO] BUILD SUCCESSFUL
> >> >>> [INFO]
> >> >>>
> >> ------------------------------------------------------------------------
> >> >>> [INFO] Total time: 3 minutes 27 seconds
> >> >>> [INFO] Finished at: Thu Sep 10 09:20:25 EDT 2009
> >> >>>
> >> >>>
> >> >>> mrg
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Andrey
> >> >>
> >> >
> >>
> >
> >
> >
> > --
> > Andrey
> >
>



-- 
Andrey

Re: Junit sometimes failes

Posted by Kevin Menard <ni...@gmail.com>.
Per your suggestion, I upgraded to maven 2.2.1.  That did not fix the
JPA tests.  I think changed by JDK in JAVA_HOME from 1.5 to 1.6 and
that did fix the JPA issues.  However, now I'm seeing these test
failures:

Tests in error:
  testSelectCompound1(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
  testSelectCompound2(org.apache.cayenne.access.DataContextFlattenedAttributesTest)

I'd have to dig into it more.  The stack traces are below:

-------------------------------------------------------------------------------
Test set: org.apache.cayenne.access.DataContextFlattenedAttributesTest
-------------------------------------------------------------------------------
Tests run: 6, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.188
sec <<< FAILURE!
testSelectCompound1(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
 Time elapsed: 0.015 sec  <<< ERROR!
org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Sep 15
2009 03:01:18] Query exception.
	at org.apache.cayenne.access.DataDomainQueryAction.nextQueryException(DataDomainQueryAction.java:545)
	at org.apache.cayenne.access.UnitTestDomainQueryAction.nextQueryException(UnitTestDomainQueryAction.java:36)
	at org.apache.cayenne.access.DataNode.performQueries(DataNode.java:281)
	at org.apache.cayenne.access.DataDomainQueryAction.runQuery(DataDomainQueryAction.java:418)
	at org.apache.cayenne.access.DataDomainQueryAction.access$000(DataDomainQueryAction.java:65)
	at org.apache.cayenne.access.DataDomainQueryAction$2.transform(DataDomainQueryAction.java:391)
	at org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:850)
	at org.apache.cayenne.access.DataDomainQueryAction.runQueryInTransaction(DataDomainQueryAction.java:388)
	at org.apache.cayenne.access.UnitTestDomainQueryAction.runQueryInTransaction(UnitTestDomainQueryAction.java:54)
	at org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:117)
	at org.apache.cayenne.access.UnitTestDomainQueryAction.execute(UnitTestDomainQueryAction.java:48)
	at org.apache.cayenne.access.UnitTestDomain.onQuery(UnitTestDomain.java:63)
	at org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:333)
	at org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:96)
	at org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1278)
	at org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1267)
	at org.apache.cayenne.access.DataContextFlattenedAttributesTest.testSelectCompound1(DataContextFlattenedAttributesTest.java:117)
Caused by: java.sql.SQLException: Column not found: T3.PAINTING_ID in
statement [SELECT t0.ARTIST_ID, t0.PAINTING_ID, t0.GALLERY_ID,
t0.ESTIMATED_PRICE, t1.TEXT_REVIEW, t0.PAINTING_TITLE, t2.ARTIST_NAME,
t3.GALLERY_NAME, t3.PAINTING_ID FROM PAINTING t0 JOIN PAINTING_INFO t1
ON (t0.PAINTING_ID = t1.PAINTING_ID) JOIN ARTIST t2 ON (t0.ARTIST_ID =
t2.ARTIST_ID) JOIN GALLERY t3 ON (t0.GALLERY_ID = t3.GALLERY_ID)]
	at org.hsqldb.jdbc.Util.throwError(Unknown Source)
	at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
	at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
	at org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:281)
	at org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:287)
	at org.apache.cayenne.access.TransactionConnectionDecorator.prepareStatement(TransactionConnectionDecorator.java:186)
	at org.apache.cayenne.access.trans.QueryAssembler.createStatement(QueryAssembler.java:196)
	at org.apache.cayenne.access.jdbc.SelectAction.performAction(SelectAction.java:70)
	at org.apache.cayenne.access.DataNodeQueryAction.runQuery(DataNodeQueryAction.java:87)
	at org.apache.cayenne.access.DataNode.performQueries(DataNode.java:274)
	... 39 more

testSelectCompound2(org.apache.cayenne.access.DataContextFlattenedAttributesTest)
 Time elapsed: 0.032 sec  <<< ERROR!
org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Sep 15
2009 03:01:18] Query exception.
	at org.apache.cayenne.access.DataDomainQueryAction.nextQueryException(DataDomainQueryAction.java:545)
	at org.apache.cayenne.access.UnitTestDomainQueryAction.nextQueryException(UnitTestDomainQueryAction.java:36)
	at org.apache.cayenne.access.DataNode.performQueries(DataNode.java:281)
	at org.apache.cayenne.access.DataDomainQueryAction.runQuery(DataDomainQueryAction.java:418)
	at org.apache.cayenne.access.DataDomainQueryAction.access$000(DataDomainQueryAction.java:65)
	at org.apache.cayenne.access.DataDomainQueryAction$2.transform(DataDomainQueryAction.java:391)
	at org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:850)
	at org.apache.cayenne.access.DataDomainQueryAction.runQueryInTransaction(DataDomainQueryAction.java:388)
	at org.apache.cayenne.access.UnitTestDomainQueryAction.runQueryInTransaction(UnitTestDomainQueryAction.java:54)
	at org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:117)
	at org.apache.cayenne.access.UnitTestDomainQueryAction.execute(UnitTestDomainQueryAction.java:48)
	at org.apache.cayenne.access.UnitTestDomain.onQuery(UnitTestDomain.java:63)
	at org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:333)
	at org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:96)
	at org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1278)
	at org.apache.cayenne.access.DataContext.performQuery(DataContext.java:1267)
	at org.apache.cayenne.access.DataContextFlattenedAttributesTest.testSelectCompound2(DataContextFlattenedAttributesTest.java:154)
Caused by: java.sql.SQLException: Column not found: T3.PAINTING_ID in
statement [SELECT t0.ARTIST_ID, t0.PAINTING_ID, t0.GALLERY_ID,
t0.ESTIMATED_PRICE, t1.TEXT_REVIEW, t0.PAINTING_TITLE, t2.ARTIST_NAME,
t3.GALLERY_NAME, t3.PAINTING_ID FROM PAINTING t0 JOIN PAINTING_INFO t1
ON (t0.PAINTING_ID = t1.PAINTING_ID) JOIN ARTIST t2 ON (t0.ARTIST_ID =
t2.ARTIST_ID) JOIN GALLERY t3 ON (t0.GALLERY_ID = t3.GALLERY_ID) WHERE
t2.ARTIST_NAME = ?]
	at org.hsqldb.jdbc.Util.throwError(Unknown Source)
	at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
	at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
	at org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:281)
	at org.apache.cayenne.conn.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:287)
	at org.apache.cayenne.access.TransactionConnectionDecorator.prepareStatement(TransactionConnectionDecorator.java:186)
	at org.apache.cayenne.access.trans.QueryAssembler.createStatement(QueryAssembler.java:196)
	at org.apache.cayenne.access.jdbc.SelectAction.performAction(SelectAction.java:70)
	at org.apache.cayenne.access.DataNodeQueryAction.runQuery(DataNodeQueryAction.java:87)
	at org.apache.cayenne.access.DataNode.performQueries(DataNode.java:274)
	... 39 more



-- 
Kevin



On Mon, Sep 14, 2009 at 9:11 AM, Andrey Razumovsky
<ra...@gmail.com> wrote:
> Weird.. Thanks. By the way I stopped getting JPA failures with Maven 2.2.0
>
> 2009/9/14 Kevin Menard <ni...@gmail.com>
>
>> Other than the regular JPA test failures, I had no problems on Windows XP.
>>
>> --
>> Kevin
>>
>>
>>
>> On Sat, Sep 12, 2009 at 6:05 PM, Kevin Menard <ni...@gmail.com> wrote:
>> > I'll test on my Windows VM this weekend for you.
>> >
>> > --
>> > Kevin
>> >
>> >
>> >
>> > On Thu, Sep 10, 2009 at 9:34 AM, Andrey Razumovsky
>> > <ra...@gmail.com> wrote:
>> >> Strange.. could it be it's because I'm on Windows?
>> >>
>> >> 2009/9/10 Michael Gentry <mg...@masslight.net>
>> >>
>> >>> I just did:
>> >>>
>> >>>    svn update; mvn clean; mvn -P mac install
>> >>>
>> >>> It all built for me.
>> >>>
>> >>> [INFO] BUILD SUCCESSFUL
>> >>> [INFO]
>> >>>
>> ------------------------------------------------------------------------
>> >>> [INFO] Total time: 3 minutes 27 seconds
>> >>> [INFO] Finished at: Thu Sep 10 09:20:25 EDT 2009
>> >>>
>> >>>
>> >>> mrg
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Andrey
>> >>
>> >
>>
>
>
>
> --
> Andrey
>

Re: Junit sometimes failes

Posted by Andrey Razumovsky <ra...@gmail.com>.
Weird.. Thanks. By the way I stopped getting JPA failures with Maven 2.2.0

2009/9/14 Kevin Menard <ni...@gmail.com>

> Other than the regular JPA test failures, I had no problems on Windows XP.
>
> --
> Kevin
>
>
>
> On Sat, Sep 12, 2009 at 6:05 PM, Kevin Menard <ni...@gmail.com> wrote:
> > I'll test on my Windows VM this weekend for you.
> >
> > --
> > Kevin
> >
> >
> >
> > On Thu, Sep 10, 2009 at 9:34 AM, Andrey Razumovsky
> > <ra...@gmail.com> wrote:
> >> Strange.. could it be it's because I'm on Windows?
> >>
> >> 2009/9/10 Michael Gentry <mg...@masslight.net>
> >>
> >>> I just did:
> >>>
> >>>    svn update; mvn clean; mvn -P mac install
> >>>
> >>> It all built for me.
> >>>
> >>> [INFO] BUILD SUCCESSFUL
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO] Total time: 3 minutes 27 seconds
> >>> [INFO] Finished at: Thu Sep 10 09:20:25 EDT 2009
> >>>
> >>>
> >>> mrg
> >>>
> >>
> >>
> >>
> >> --
> >> Andrey
> >>
> >
>



-- 
Andrey

Re: Junit sometimes failes

Posted by Kevin Menard <ni...@gmail.com>.
Other than the regular JPA test failures, I had no problems on Windows XP.

-- 
Kevin



On Sat, Sep 12, 2009 at 6:05 PM, Kevin Menard <ni...@gmail.com> wrote:
> I'll test on my Windows VM this weekend for you.
>
> --
> Kevin
>
>
>
> On Thu, Sep 10, 2009 at 9:34 AM, Andrey Razumovsky
> <ra...@gmail.com> wrote:
>> Strange.. could it be it's because I'm on Windows?
>>
>> 2009/9/10 Michael Gentry <mg...@masslight.net>
>>
>>> I just did:
>>>
>>>    svn update; mvn clean; mvn -P mac install
>>>
>>> It all built for me.
>>>
>>> [INFO] BUILD SUCCESSFUL
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 3 minutes 27 seconds
>>> [INFO] Finished at: Thu Sep 10 09:20:25 EDT 2009
>>>
>>>
>>> mrg
>>>
>>
>>
>>
>> --
>> Andrey
>>
>

Re: Junit sometimes failes

Posted by Kevin Menard <ni...@gmail.com>.
I'll test on my Windows VM this weekend for you.

-- 
Kevin



On Thu, Sep 10, 2009 at 9:34 AM, Andrey Razumovsky
<ra...@gmail.com> wrote:
> Strange.. could it be it's because I'm on Windows?
>
> 2009/9/10 Michael Gentry <mg...@masslight.net>
>
>> I just did:
>>
>>    svn update; mvn clean; mvn -P mac install
>>
>> It all built for me.
>>
>> [INFO] BUILD SUCCESSFUL
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 3 minutes 27 seconds
>> [INFO] Finished at: Thu Sep 10 09:20:25 EDT 2009
>>
>>
>> mrg
>>
>
>
>
> --
> Andrey
>

Re: Junit sometimes failes

Posted by Andrey Razumovsky <ra...@gmail.com>.
Strange.. could it be it's because I'm on Windows?

2009/9/10 Michael Gentry <mg...@masslight.net>

> I just did:
>
>    svn update; mvn clean; mvn -P mac install
>
> It all built for me.
>
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 minutes 27 seconds
> [INFO] Finished at: Thu Sep 10 09:20:25 EDT 2009
>
>
> mrg
>



-- 
Andrey

Re: Junit sometimes failes

Posted by Michael Gentry <mg...@masslight.net>.
I just did:

    svn update; mvn clean; mvn -P mac install

It all built for me.

[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 27 seconds
[INFO] Finished at: Thu Sep 10 09:20:25 EDT 2009


mrg