For some reason (and I'll figure out the reason) the DB connection is not
being set up for the tests.
Today is an Innovation Games Online day, but tomorrow, in between flying to
Portland for the Open Source Bridge conference, I'll get to the heart of
this issue and also look at the pools branch.

Boy I wish we were using Git... it's just so much nicer for disconnected
development and branch management.  Sigh.

On Mon, Jun 15, 2009 at 12:43 AM, Richard Hirsch <[email protected]>wrote:

> Hi,
>
> Just tried to build the actual source and the build is broken.
>
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.esme.AppTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
> Running org.apache.esme.lib.MsgParserSpecsAsTest
> 2009-06-15 09:41:58.061::INFO:  Logging to STDERR via
> org.mortbay.log.StdErrLog
> 2009-06-15 09:41:58.061::INFO:  jetty-6.1.16
> 2009-06-15 09:41:58.093::INFO:  Started [email protected]:8989
> org.apache.maven.surefire.booter.SurefireExecutionException: null; nested
> except
> ion is java.lang.ExceptionInInitializerError: null
> java.lang.ExceptionInInitializerError
>        at
> org.apache.esme.lib.MsgParserSpecsAsTest.<init>(MsgParseTest.scala:42
> )
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>        at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
> orAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
> onstructorAccessorImpl.java:27)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>        at java.lang.Class.newInstance0(Class.java:355)
>        at java.lang.Class.newInstance(Class.java:308)
>        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.executeTes
> tSet(AbstractDirectoryTestSuite.java:140)
>        at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> stractDirectoryTestSuite.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(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:338)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:997)
> Caused by: java.lang.NullPointerException: Looking for Connection
> Identifier
> Con
> nectionIdentifier(lift) but failed to find either a JNDI data source with
> the na
> me lift 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.MetaMapper$class.save(MetaMapper.scala:588)
>        at org.apache.esme.model.User$.save(User.scala:48)
>        at net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:84)
>        at net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:84)
>        at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
>        at net.liftweb.mapper.Safe$.runSafe(Safe.scala:44)
>        at net.liftweb.mapper.Mapper$class.runSafe(Mapper.scala:50)
>        at org.apache.esme.model.User.runSafe(User.scala:770)
>        at net.liftweb.mapper.Mapper$class.save(Mapper.scala:83)
>        at org.apache.esme.model.User.save(User.scala:770)
>        at
> org.apache.esme.lib.JettyTestServer$.start(MsgParseTest.scala:322)
>        at org.apache.esme.lib.MsgParserSpecs$.<init>(MsgParseTest.scala:46)
>        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

Reply via email to