To compile and run the WCS SVN 1.4.x-merge branch I am following the
instructions on this page:
http://docs.codehaus.org/display/GEOSDEV/2+Maven+Quickstart
I updated my gt-trunk and geoserver-1.4.x_merge_wcs copies this morning.
However, after compiling the WCS SVN and running it with "mvn -e
jetty6:run", I get a "java.lang.NullPointerException" error.
The complete output is pasted below.
Any ideas?
Thanks,
Alex
Script started on Tue 15 Aug 2006 10:38:49 AM MDT
mvn -e jetty6:run
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty6'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building Web Application Module
[INFO] task-segment: [jetty6:run]
[INFO] ----------------------------------------------------------------------------
[INFO] Preparing jetty6:run
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
Artifact javax.servlet:servlet-api:jar:2.3:provided retains local
scope 'provided' overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove the
local scope.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [jetty6:run]
[INFO] Configuring Jetty for project: Web Application Module
[INFO] Webapp source directory =
/home/apetkov/workspace/geoserver-1.4.x_merge_wcs/web/src/main/webapp
[INFO] web.xml file =
/home/apetkov/workspace/geoserver-1.4.x_merge_wcs/web/src/main/webapp/WEB-INF/web.xml
[INFO] Classes =
/home/apetkov/workspace/geoserver-1.4.x_merge_wcs/web/target/classes
[INFO] Using JSP2.0 for non-jdk1.5 runtime
Downloading: http://www.ibiblio.org/maven2/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository ibiblio
(http://www.ibiblio.org/maven2)
Downloading: http://maven.geotools.fr/repository//tomcat/poms/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository geotools
(http://maven.geotools.fr/repository/)
Downloading: http://lists.refractions.net/m2//tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository refractions
(http://lists.refractions.net/m2/)
Downloading: http://dist.codehaus.org/geoserver/tomcat/poms/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository codehaus
(http://dist.codehaus.org/geoserver)
Downloading: http://maven.espace.ird.nc/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository espace
(http://maven.espace.ird.nc)
Downloading: http://repo1.maven.org/maven2/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading: http://www.mortbay.org/maven2/snapshot/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository mortbay-repo
(http://www.mortbay.org/maven2/snapshot)
Downloading: http://repo1.maven.org/maven2/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading: http://www.ibiblio.org/maven2/tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository ibiblio
(http://www.ibiblio.org/maven2)
Downloading: http://maven.geotools.fr/repository//tomcat/poms/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository geotools
(http://maven.geotools.fr/repository/)
Downloading: http://lists.refractions.net/m2//tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository refractions
(http://lists.refractions.net/m2/)
Downloading: http://dist.codehaus.org/geoserver/tomcat/poms/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository codehaus
(http://dist.codehaus.org/geoserver)
Downloading: http://maven.espace.ird.nc/tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository espace
(http://maven.espace.ird.nc)
Downloading: http://repo1.maven.org/maven2/tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading: http://www.mortbay.org/maven2/snapshot/tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository mortbay-repo
(http://www.mortbay.org/maven2/snapshot)
Downloading: http://repo1.maven.org/maven2/tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading: http://www.ibiblio.org/maven2/tomcat/jasper-runtime/5.5.15/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository ibiblio
(http://www.ibiblio.org/maven2)
Downloading: http://maven.geotools.fr/repository//tomcat/poms/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository geotools
(http://maven.geotools.fr/repository/)
Downloading: http://lists.refractions.net/m2//tomcat/jasper-runtime/5.5.15/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository refractions
(http://lists.refractions.net/m2/)
Downloading: http://dist.codehaus.org/geoserver/tomcat/poms/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository codehaus
(http://dist.codehaus.org/geoserver)
Downloading: http://maven.espace.ird.nc/tomcat/jasper-runtime/5.5.15/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository espace
(http://maven.espace.ird.nc)
Downloading: http://repo1.maven.org/maven2/tomcat/jasper-runtime/5.5.15/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading: http://www.mortbay.org/maven2/snapshot/tomcat/jasper-runtime/5.5.15/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository mortbay-repo
(http://www.mortbay.org/maven2/snapshot)
Downloading: http://repo1.maven.org/maven2/tomcat/jasper-runtime/5.5.15/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
1 [main] INFO org.mortbay.log - Logging to
org.slf4j.impl.SimpleLogger@...922... via org.mortbay.log.Slf4jLog
[INFO] Context path = /geoserver
[INFO] Tmp directory =
/home/apetkov/workspace/geoserver-1.4.x_merge_wcs/web/target/work
[INFO] Web defaults = jetty default
[INFO] Webapp directory =
/home/apetkov/workspace/geoserver-1.4.x_merge_wcs/web/src/main/webapp
[INFO] Starting jetty 6.0.0beta16 ...
228 [main] INFO org.mortbay.log - jetty 6.0.0beta16
[INFO] Classpath =
file:/home/apetkov/.m2/repository/org/springframework/spring-web/1.2.5/spring-web-1.2.5.jar,file:/home/apetkov/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-render/2.3-SNAPSHOT/gt2-render-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-coverage/2.3-SNAPSHOT/gt2-coverage-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-imagemosaic/2.3-SNAPSHOT/gt2-imagemosaic-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/batik/batik-awt-util/1.6/batik-awt-util-1.6.jar,file:/home/apetkov/.m2/repository/javax/servlet/jstl/1.0/jstl-1.0.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-main/2.3-SNAPSHOT/gt2-main-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/lucene/lucene/1.4.3/lucene-1.4.3.jar,file:/home/apetkov/.m2/repository/com/vividsolutions/jts/1.7.1/jts-1.7.1.jar,file:/home/apetkov/.m2/repository/commons-digester/commons-digester/1.7/commons-digester-1.7.jar,file:/home/apetkov/.m2/repository/commons-httpclient/commons-httpclient/2.0/commons-httpclient-2.0.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-demo-property/2.3-SNAPSHOT/gt2-demo-property-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-geotiff/2.3-SNAPSHOT/gt2-geotiff-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/org/wkb4j/wkb4j/1.0-RC1/wkb4j-1.0-RC1.jar,file:/home/apetkov/.m2/repository/velocity/velocity-dep/1.4/velocity-dep-1.4.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-indexed-shapefile/2.3-SNAPSHOT/gt2-indexed-shapefile-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/org/geoserver/wfs/1.4.0-M1/wfs-1.4.0-M1.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-api/2.3-SNAPSHOT/gt2-api-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/struts/struts/1.2.9/struts-1.2.9.jar,file:/home/apetkov/.m2/repository/log4j/log4j/1.2.9/log4j-1.2.9.jar,file:/home/apetkov/.m2/repository/xalan/xalan/2.7.0/xalan-2.7.0.jar,file:/home/apetkov/.m2/repository/java3d/vecmath/1.3.1/vecmath-1.3.1.jar,file:/home/apetkov/.m2/repository/velocity/velocity/1.4/velocity-1.4.jar,file:/home/apetkov/.m2/repository/org/springframework/spring-beans/1.2.5/spring-beans-1.2.5.jar,file:/home/apetkov/.m2/repository/commons-validator/commons-validator/1.1.4/commons-validator-1.1.4.jar,file:/home/apetkov/.m2/repository/org/geoserver/main/1.4.0-M1/main-1.4.0-M1.jar,file:/home/apetkov/.m2/repository/org/geoserver/validation/1.4.0-M1/validation-1.4.0-M1.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-referencing/2.3-SNAPSHOT/gt2-referencing-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-gtopo30/2.3-SNAPSHOT/gt2-gtopo30-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-sample-data/2.3-SNAPSHOT/gt2-sample-data-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/antlr/antlr/2.7.2/antlr-2.7.2.jar,file:/home/apetkov/.m2/repository/org/springframework/spring-aop/1.2.5/spring-aop-1.2.5.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-image/2.3-SNAPSHOT/gt2-image-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-graph/2.3-SNAPSHOT/gt2-graph-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/javax/units/jsr108/0.01/jsr108-0.01.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-epsg-wkt/2.3-SNAPSHOT/gt2-epsg-wkt-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/batik/batik-util/1.6/batik-util-1.6.jar,file:/home/apetkov/.m2/repository/org/postgis/postgis-driver/1.0/postgis-driver-1.0.jar,file:/home/apetkov/.m2/repository/commons-collections/commons-collections/2.1/commons-collections-2.1.jar,file:/home/apetkov/.m2/repository/org/springframework/spring-webmvc/1.2.5/spring-webmvc-1.2.5.jar,file:/home/apetkov/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar,file:/home/apetkov/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar,file:/home/apetkov/.m2/repository/com/esri/jsde_concurrent/9.0/jsde_concurrent-9.0.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-arcgrid/2.3-SNAPSHOT/gt2-arcgrid-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-validation/2.3-SNAPSHOT/gt2-validation-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/taglibs/standard/1.0.6/standard-1.0.6.jar,file:/home/apetkov/.m2/repository/commons-fileupload/commons-fileupload/1.0/commons-fileupload-1.0.jar,file:/home/apetkov/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar,file:/home/apetkov/.m2/repository/org/opengis/geoapi-nogenerics/2.1-M0/geoapi-nogenerics-2.1-M0.jar,file:/home/apetkov/.m2/repository/hsqldb/hsqldb/1.8.0.1/hsqldb-1.8.0.1.jar,file:/home/apetkov/.m2/repository/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar,file:/home/apetkov/.m2/repository/org/geoserver/wcs/1.4.0-M1/wcs-1.4.0-M1.jar,file:/home/apetkov/.m2/repository/org/geoserver/platform/1.4.0-M1/platform-1.4.0-M1.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-epsg-hsql/2.3-SNAPSHOT/gt2-epsg-hsql-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/org/springframework/spring-context/1.2.5/spring-context-1.2.5.jar,file:/home/apetkov/.m2/repository/org/geoserver/data/1.4.0-M1/data-1.4.0-M1.jar,file:/home/apetkov/.m2/repository/com/lowagie/itext/1.3/itext-1.3.jar,file:/home/apetkov/.m2/repository/org/springframework/spring-core/1.2.5/spring-core-1.2.5.jar,file:/home/apetkov/.m2/repository/postgresql/postgresql/8.1-407.jdbc3/postgresql-8.1-407.jdbc3.jar,file:/home/apetkov/.m2/repository/batik/batik-svggen/1.6/batik-svggen-1.6.jar,file:/home/apetkov/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar,file:/home/apetkov/.m2/repository/org/geoserver/wms/1.4.0-M1/wms-1.4.0-M1.jar,file:/home/apetkov/.m2/repository/xerces/xercesImpl/2.4.0/xercesImpl-2.4.0.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-gml/2.3-SNAPSHOT/gt2-gml-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-shapefile/2.3-SNAPSHOT/gt2-shapefile-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-postgis/2.3-SNAPSHOT/gt2-postgis-2.3-SNAPSHOT.jar,file:/home/apetkov/.m2/repository/batik/batik-transcoder/1.5/batik-transcoder-1.5.jar,file:/home/apetkov/.m2/repository/org/geotools/gt2-directory/2.3-SNAPSHOT/gt2-directory-2.3-SNAPSHOT.jar,file:/home/apetkov/workspace/geoserver-1.4.x_merge_wcs/web/target/classes/
505 [main] INFO org.mortbay.log - Finding env entries: size=0
506 [main] INFO org.mortbay.log - Finding env entries: size=0
Aug 15, 2006 10:39:21 AM org.springframework.web.context.ContextLoader
initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
1618 [main] INFO /geoserver - Loading Spring root WebApplicationContext
Aug 15, 2006 10:39:21 AM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from URL
[file:/home/apetkov/workspace/geoserver-1.4.x_merge_wcs/web/target/classes/applicationContext.xml]
Aug 15, 2006 10:39:21 AM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from URL
[jar:file:/home/apetkov/.m2/repository/org/geoserver/validation/1.4.0-M1/validation-1.4.0-M1.jar!/applicationContext.xml]
Aug 15, 2006 10:39:21 AM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from URL
[jar:file:/home/apetkov/.m2/repository/org/geoserver/wcs/1.4.0-M1/wcs-1.4.0-M1.jar!/applicationContext.xml]
Aug 15, 2006 10:39:21 AM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from URL
[jar:file:/home/apetkov/.m2/repository/org/geoserver/wfs/1.4.0-M1/wfs-1.4.0-M1.jar!/applicationContext.xml]
Aug 15, 2006 10:39:21 AM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from URL
[jar:file:/home/apetkov/.m2/repository/org/geoserver/main/1.4.0-M1/main-1.4.0-M1.jar!/applicationContext.xml]
Aug 15, 2006 10:39:21 AM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from URL
[jar:file:/home/apetkov/.m2/repository/org/geoserver/wms/1.4.0-M1/wms-1.4.0-M1.jar!/applicationContext.xml]
Aug 15, 2006 10:39:21 AM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from URL
[jar:file:/home/apetkov/.m2/repository/org/geoserver/data/1.4.0-M1/data-1.4.0-M1.jar!/applicationContext.xml]
Aug 15, 2006 10:39:21 AM
org.springframework.context.support.AbstractRefreshableApplicationContext
refreshBeanFactory
INFO: Bean factory for application context [Root
WebApplicationContext]:
org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [applicationState,applicationStateRegisterar,validation,validationConfig,validationRegisterar,validationConfigRegisterar,wcs,wcsConfig,wcsRegisterar,wcsConfigRegisterar,wcsAbstractService,wcsService,wcsGetCapabilities,wcsDescribeCoverage,wcsGetCoverage,wfs,wfsConfig,wfsRegisterar,wfsConfigRegisterar,wfsAbstractService,wfsService,wfsGetCapabilities,wfsDescribeFeatureType,wfsGetFeature,wfsLockFeature,wfsGetFeatureWithLock,wfsTransaction,config,geoServer,globalConfig,data,dataConfig,dataRegisterar,dataConfigRegisterar,globalConfigRegisterar,geoServerRegisterar,speedServiceStrategy,fileServiceStrategy,bufferServiceStrategy,partialBufferServiceStrategy,wms,wmsConfig,wmsRegisterar,wmsConfigRegisterar,wmsAbstractService,wmsService,wmsGetCapabilities,wmsDescribeFeatureType,wmsGetFeatureInfo,wmsGetLegendGraphic,wmsGetMap,wmsPutStyles,kmlReflector,PNGMapProducerFactory,GeoTiffMapProducerFactory,TiffMapProducerFactory,SVGMapProducerFactory,GIFMapProducerFactory,KMLMapProducerFactory,KMZMapProducerFactory,PDFMapProducerFactory,JPEGMapProducerFactory,catalog,serviceFinder];
root of BeanFactory hierarchy
Aug 15, 2006 10:39:21 AM
org.springframework.context.support.AbstractApplicationContext refresh
INFO: 64 beans defined in application context [Root WebApplicationContext]
Aug 15, 2006 10:39:21 AM org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
Aug 15, 2006 10:39:21 AM
org.springframework.context.support.AbstractApplicationContext
initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using
default [org.springframework.context.support.DelegatingMessageSource@...923...]
Aug 15, 2006 10:39:21 AM
org.springframework.context.support.AbstractApplicationContext
initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name
'applicationEventMulticaster': using default
[org.springframework.context.event.SimpleApplicationEventMulticaster@...350...]
Aug 15, 2006 10:39:21 AM
org.springframework.ui.context.support.UiApplicationContextUtils
initThemeSource
INFO: Unable to locate ThemeSource with name 'themeSource': using
default [org.springframework.ui.context.support.ResourceBundleThemeSource@...924...]
Aug 15, 2006 10:39:21 AM
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in factory
[org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [applicationState,applicationStateRegisterar,validation,validationConfig,validationRegisterar,validationConfigRegisterar,wcs,wcsConfig,wcsRegisterar,wcsConfigRegisterar,wcsAbstractService,wcsService,wcsGetCapabilities,wcsDescribeCoverage,wcsGetCoverage,wfs,wfsConfig,wfsRegisterar,wfsConfigRegisterar,wfsAbstractService,wfsService,wfsGetCapabilities,wfsDescribeFeatureType,wfsGetFeature,wfsLockFeature,wfsGetFeatureWithLock,wfsTransaction,config,geoServer,globalConfig,data,dataConfig,dataRegisterar,dataConfigRegisterar,globalConfigRegisterar,geoServerRegisterar,speedServiceStrategy,fileServiceStrategy,bufferServiceStrategy,partialBufferServiceStrategy,wms,wmsConfig,wmsRegisterar,wmsConfigRegisterar,wmsAbstractService,wmsService,wmsGetCapabilities,wmsDescribeFeatureType,wmsGetFeatureInfo,wmsGetLegendGraphic,wmsGetMap,wmsPutStyles,kmlReflector,PNGMapProducerFactory,GeoTiffMapProducerFactory,TiffMapProducerFactory,SVGMapProducerFactory,GIFMapProducerFactory,KMLMapProducerFactory,KMZMapProducerFactory,PDFMapProducerFactory,JPEGMapProducerFactory,catalog,serviceFinder];
root of BeanFactory hierarchy]