[Geoserver-devel] epgs-hsql problem on 2.1.x?

Martin,

I'm trying to build 2.1.x, but I'm unable to build the epsg-hsql
portion. James says that it builds on his machine. Now, I've been
away for about 2 weeks, so what might be happening is that other people
have the tmp/Geotools/<hsql DB> from an old run, and I dont?

Here's my error message during the build (from maven):

test:test:
    [junit] Running
org.geotools.referencing.factory.epsg.DefaultDataSourceTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.893
sec
    [junit] Running
org.geotools.referencing.factory.epsg.HSQLDataSourceTest
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.362
sec
    [junit] [ERROR] TEST
org.geotools.referencing.factory.epsg.HSQLDataSourceTes
t FAILED

BUILD FAILED
File...... C:\Documents and
Settings\Owner\.maven\cache\maven-test-plugin-1.6.2\
plugin.jelly
Element... fail
Line...... 181
Column.... 54
There were test failures.
Total time: 16 seconds
Finished at: Tue Jul 05 16:32:20 EDT 2005

Here's whats included in the test reports
(TEST-org.geotools.referencing.factory.epsg.DefaultDataSourceTest.txt):

Jul 5, 2005 4:32:17 PM
org.geotools.referencing.factory.epsg.DefaultDataSourceTest setUp
WARNING: An error occured while setting up the date source for the EPSG
database.
Maybe there is no JDBC-ODBC bridge for the current platform.
No test will be performed for this class.
java.lang.NullPointerException
  at java.io.Reader.<init>(Reader.java:61)
  at java.io.InputStreamReader.<init>(InputStreamReader.java:80)
  at
org.geotools.referencing.factory.epsg.HSQLDataSource.getConnection(HSQLDataSource.java:149)
  at
org.geotools.referencing.factory.epsg.HSQLDataSource.createFactory(HSQLDataSource.java:210)
  at
org.geotools.referencing.factory.epsg.DefaultFactory.createFactory(DefaultFactory.java:250)
..

And from
(TEST-org.geotools.referencing.factory.epsg.HSQLDataSourceTest.txt):

Testcase:
testCreation(org.geotools.referencing.factory.epsg.HSQLDataSourceTest): Caused
an ERROR
Failed to connect to the EPSG database
org.opengis.referencing.FactoryException: Failed to connect to the EPSG
database
  at
org.geotools.referencing.factory.epsg.DefaultFactory.createBackingStore(DefaultFactory.java:316)
  at
org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(DeferredAuthorityFactory.java:127)
..

I've also attached the test report files.

Any idea what I'm doing wrong?

dave

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/

(attachments)

TEST-org.geotools.referencing.factory.epsg.DefaultDataSourceTest.txt (2.75 KB)
TEST-org.geotools.referencing.factory.epsg.HSQLDataSourceTest.txt (4.2 KB)

dblasby@anonymised.com a écrit :

I'm trying to build 2.1.x, but I'm unable to build the epsg-hsql
portion. James says that it builds on his machine.

epsg-hsql build on my machine too (I tried both trunk and 2.1 branch, both on Windows and Linux). I noticed that it failed on the nightly build, and I asked 3 days ago for a stack trace. I'm not sure if anyone has see my email "Re: [Geotools-devel] GeoTools Build Report [2005/07/04 23:55]"...

Thanks for the stack trace you just sent. I will look at that right now and try to applies some fix or workaround in the next few hours.

  Martin.