incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Re: Build Failing?
Date Thu, 02 Jul 2009 04:02:46 GMT
@Mrinal - Did you get the build to work?

Did you try a "mvn clean install"?

D.

On Wed, Jul 1, 2009 at 12:25 AM, Mrinal Wadhwa<mrinal.wadhwa@gmail.com> wrote:
> Dick, could not reproduce it either ... I'll try on a clean system and let
> you know.
>
> Thank you,
> Mrinal
>
>
>
>
> On Wed, Jul 1, 2009 at 3:17 AM, David Pollak
> <feeder.of.the.bears@gmail.com>wrote:
>
>> I can't reproduce this failure.  I've tried it in my sandbox and by
>> checking
>> out the code as a separate user (different username than dpp) on a fresh
>> install of Ubuntu.
>>
>> Can you try a build on a clean machine and see what happens?
>>
>> On Mon, Jun 29, 2009 at 12:22 AM, Mrinal Wadhwa <mrinal.wadhwa@gmail.com
>> >wrote:
>>
>> > There's just one file in the reports folder
>> > org.apache.esme.lib.MsgParserSpecsAsTest.txt and that is empty after the
>> > build
>> > Note that this is happening in the current trunk as well and not only in
>> > the
>> > new branch I created.
>> >
>> > Mrinal
>> >
>> >
>> >
>> >
>> > On Mon, Jun 29, 2009 at 12:31 PM, Richard Hirsch <hirsch.dick@gmail.com
>> > >wrote:
>> >
>> > > Can you add the files from
>> > > branches\web-ui\server\target\surefire-reports to the this post.
>> > >
>> > > Maybe,
>> > >
>> > > On Mon, Jun 29, 2009 at 5:07 AM, Mrinal Wadhwa<mrinal.wadhwa@gmail.com
>> >
>> > > wrote:
>> > > > Hey Everyone,
>> > > >
>> > > > The build seems to be failing on my system ... I'm sure it was
>> building
>> > a
>> > > > couple of weeks ago .. could it be because of some change on my
>> system
>> > ?
>> > > >
>> > > > Thank you,
>> > > > Mrinal
>> > > >
>> > > >
>> > > > --------
>> > > >
>> > > > [INFO] Surefire report directory:
>> > > >
>> /Users/mrinalwadhwa/Projects/esme/trunk/server/target/surefire-reports
>> > > >
>> > > > -------------------------------------------------------
>> > > >  T E S T S
>> > > > -------------------------------------------------------
>> > > > Running org.apache.esme.lib.MsgParserSpecsAsTest
>> > > > java.sql.SQLException: No suitable driver
>> > > >    at java.sql.DriverManager.getConnection(DriverManager.java:545)
>> > > >    at java.sql.DriverManager.getConnection(DriverManager.java:193)
>> > > >    at bootstrap.liftweb.DBVendor$.createOne(Boot.scala:221)
>> > > >    at bootstrap.liftweb.DBVendor$.newConnection(Boot.scala:230)
>> > > >    at net.liftweb.mapper.DB$$anonfun$2.apply(DB.scala:89)
>> > > >    at net.liftweb.mapper.DB$$anonfun$2.apply(DB.scala:89)
>> > > >    at net.liftweb.util.Full.flatMap(Box.scala:332)
>> > > >    at net.liftweb.mapper.DB$.newConnection(DB.scala:89)
>> > > >    at net.liftweb.mapper.DB$.getConnection(DB.scala:136)
>> > > >    at net.liftweb.mapper.DB$.use(DB.scala:315)
>> > > >    at net.liftweb.mapper.Schemifier$.schemify(Schemifier.scala:53)
>> > > >    at net.liftweb.mapper.Schemifier$.schemify(Schemifier.scala:36)
>> > > >    at bootstrap.liftweb.Boot.boot(Boot.scala:71)
>> > > >    at
>> org.apache.esme.lib.MsgParserSpecs$.<init>(MsgParseTest.scala:47)
>> > > >    at
>> org.apache.esme.lib.MsgParserSpecs$.<clinit>(MsgParseTest.scala)
>> > > >    at
>> > > >
>> org.apache.esme.lib.MsgParserSpecsAsTest.<init>(MsgParseTest.scala:43)
>> > > >    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> > > Method)
>> > > >    at
>> > > >
>> > >
>> >
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>> > > >    at
>> > > >
>> > >
>> >
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>> > > >    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>> > > >    at java.lang.Class.newInstance0(Class.java:350)
>> > > >    at java.lang.Class.newInstance(Class.java:303)
>> > > >    at
>> > > >
>> org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
>> > > >    at
>> org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
>> > > >    at
>> > > >
>> > >
>> >
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>> > > >    at
>> > > >
>> > >
>> >
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>> > > >    at
>> > > >
>> > >
>> >
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>> > > >    at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>> > > >    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
>> > > >
>> > >
>> >
>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>> > > >    at
>> > > >
>> > >
>> >
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>> > > > org.apache.maven.surefire.booter.SurefireExecutionException: null;
>> > nested
>> > > > exception is java.lang.ExceptionInInitializerError: null
>> > > > java.lang.ExceptionInInitializerError
>> > > >    at
>> > > >
>> org.apache.esme.lib.MsgParserSpecsAsTest.<init>(MsgParseTest.scala:43)
>> > > >    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> > > Method)
>> > > >    at
>> > > >
>> > >
>> >
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>> > > >    at
>> > > >
>> > >
>> >
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>> > > >    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>> > > >    at java.lang.Class.newInstance0(Class.java:350)
>> > > >    at java.lang.Class.newInstance(Class.java:303)
>> > > >    at
>> > > >
>> org.specs.runner.JUnitSuiteRunner.testSuite(JUnitSuiteRunner.scala:37)
>> > > >    at
>> org.specs.runner.JUnitSuiteRunner.run(JUnitSuiteRunner.scala:45)
>> > > >    at
>> > > >
>> > >
>> >
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>> > > >    at
>> > > >
>> > >
>> >
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>> > > >    at
>> > > >
>> > >
>> >
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>> > > >    at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>> > > >    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
>> > > >
>> > >
>> >
>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>> > > >    at
>> > > >
>> > >
>> >
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>> > > > Caused by: java.lang.NullPointerException: Looking for Connection
>> > > Identifier
>> > > > ConnectionIdentifier(esme) but failed to find either a JNDI data
>> source
>> > > with
>> > > > the name esme or a lift connection manager with the correct name
>> > > >    at
>> > > net.liftweb.mapper.DB$$anonfun$3$$anonfun$apply$7.apply(DB.scala:95)
>> > > >    at
>> > > net.liftweb.mapper.DB$$anonfun$3$$anonfun$apply$7.apply(DB.scala:95)
>> > > >    at net.liftweb.util.EmptyBox.openOr(Box.scala:372)
>> > > >    at net.liftweb.mapper.DB$$anonfun$3.apply(DB.scala:95)
>> > > >    at net.liftweb.mapper.DB$$anonfun$3.apply(DB.scala:95)
>> > > >    at net.liftweb.util.EmptyBox.openOr(Box.scala:372)
>> > > >    at net.liftweb.mapper.DB$.newConnection(DB.scala:89)
>> > > >    at net.liftweb.mapper.DB$.getConnection(DB.scala:136)
>> > > >    at net.liftweb.mapper.DB$.use(DB.scala:315)
>> > > >    at net.liftweb.mapper.Schemifier$.schemify(Schemifier.scala:53)
>> > > >    at net.liftweb.mapper.Schemifier$.schemify(Schemifier.scala:36)
>> > > >    at bootstrap.liftweb.Boot.boot(Boot.scala:71)
>> > > >    at
>> org.apache.esme.lib.MsgParserSpecs$.<init>(MsgParseTest.scala:47)
>> > > >    at
>> org.apache.esme.lib.MsgParserSpecs$.<clinit>(MsgParseTest.scala)
>> > > >    ... 19 more
>> > > > [INFO]
>> > > >
>> > ------------------------------------------------------------------------
>> > > > [ERROR] BUILD FAILURE
>> > > > [INFO]
>> > > >
>> > ------------------------------------------------------------------------
>> > > > [INFO] There are test failures.
>> > > >
>> > >
>> >
>>
>>
>>
>> --
>> Lift, the simply functional web framework http://liftweb.net
>> Beginning Scala http://www.apress.com/book/view/1430219890
>> Follow me: http://twitter.com/dpp
>> Git some: http://github.com/dpp
>>
>

Mime
View raw message