mvn install from /demo: success

mvn install from /demo/introduction: failure

[INFO] 
----------------------------------------------------------------------------
[INFO] Building Demo Introduction to Geotools
[INFO]    task-segment: [install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: 
c:\java\geotools\trunk\demo\introduction\target\surefire-reports

-------------------------------------------------------
  T E S T S
-------------------------------------------------------
Running org.geotools.demo.introduction.DemoTest
Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.265 
sec <<< FAILURE!

Results :
Tests run: 5, Failures: 0, Errors: 2, Skipped: 0

[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Mon Mar 12 12:48:13 PDT 2007
[INFO] Final Memory: 8M/15M
[INFO] 
------------------------------------------------------------------------




-------------------------------------------------------------------------------
Test set: org.geotools.demo.introduction.DemoTest
-------------------------------------------------------------------------------
Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.265 
sec <<< FAILURE!
testLoadShapefileIntoCatalog(org.geotools.demo.introduction.DemoTest) 
Time elapsed: 0.016 sec  <<< ERROR!
java.lang.NullPointerException: Cannot have a null id
         at 
org.geotools.catalog.defaults.DefaultCatalog.add(DefaultCatalog.java:101)
         at 
org.geotools.demo.introduction.DemoBase.loadShapefileIntoCatalog(DemoBase.java:422)
         at 
org.geotools.demo.introduction.DemoTest.testLoadShapefileIntoCatalog(DemoTest.java:37)

testLoadShapefileFeatureSource(org.geotools.demo.introduction.DemoTest) 
  Time elapsed: 0 sec  <<< ERROR!
java.lang.NullPointerException: Cannot have a null id
         at 
org.geotools.catalog.defaults.DefaultCatalog.add(DefaultCatalog.java:101)
         at 
org.geotools.demo.introduction.DemoBase.loadShapefileIntoCatalog(DemoBase.java:422)
         at 
org.geotools.demo.introduction.DemoTest.testLoadShapefileFeatureSource(DemoTest.java:48)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to