Build failed in Hudson: Dhis2 Web Trunk #1759

See <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/1759/changes>

Changes:

[Lars Helge Overland] Reverted r2480

[Lars Helge Overland] Added system setting for aggregation strategy and implemented it in report, report table, chart, dataset report.

[Hieu] Fixed bug delete category combo. In process...
Minor changed in Excel reporting.

···

------------------------------------------
Started by upstream project "Dhis2 Service Trunk" build number 1827
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/">
[workspace] $ bzr pull --overwrite https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
M dhis-2/dhis-api/src/main/java/org/hisp/dhis/caseaggregation/CaseAggregationConditionService.java
M dhis-2/dhis-services/dhis-service-options/src/main/java/org/hisp/dhis/options/SystemSettingManager.java
M dhis-2/dhis-services/dhis-service-options/src/main/java/org/hisp/dhis/options/setting/DefaultSystemSettingManager.java
M dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/caseaggregation/DefaultCaseAggregationConditionService.java
M dhis-2/dhis-services/dhis-service-patient/src/main/resources/org/hisp/dhis/patient/hibernate/Patient.hbm.xml
M dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.java
M dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/datasetreport/impl/DefaultDataSetReportService.java
M dhis-2/dhis-services/dhis-service-reporting/src/main/resources/META-INF/dhis/beans.xml
M dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/interceptor/SystemSettingInterceptor.java
M dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/dhis/de/screen/DefaultDataEntryScreenManager.java
M dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/java/org/hisp/dhis/settings/action/system/GetSystemSettingsAction.java
M dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/java/org/hisp/dhis/settings/action/system/SetSystemSettingsAction.java
M dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/resources/org/hisp/dhis/settings/i18n_module.properties
M dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/systemSettings.vm
M dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/inputReportParamsForm.vm
All changes applied successfully.
Now on revision 2482.
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/">
[workspace] $ bzr log -v -r revid:mithilesh.hisp@gmail.com-20110107054511-aku92itxa1hl0plr..revid:larshelge@gmail.com-20110107113855-np24uom8z8rdv7n3 --long --show-ids
Getting local revision...
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/">
larshelge@gmail.com-20110107113855-np24uom8z8rdv7n3
Deleting old artifacts from #1757
Parsing POMs
[dhis-web] $ /local/opt/j2sdk/bin/java -Xmx1024m -XX:MaxPermSize=512m -cp /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.389.jar:/ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/tools/2.2.1/boot/classworlds-1.1.jar hudson.maven.agent.Main /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/tools/2.2.1 /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/tomcat/webapps/ci/WEB-INF/lib/remoting-1.389.jar /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.389.jar 36033 /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar
<===[HUDSON REMOTING CAPACITY]===> channel started
Executing Maven: -B -f <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/pom.xml> clean install findbugs:findbugs
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] DHIS Web Modules Project
[INFO] DHIS Common Functionality for Web
[INFO] DHIS Common Resources for Web
[INFO] DHIS Web Modules Maintenance
[INFO] DHIS Data Set Management
[INFO] DHIS Data Dictionary
[INFO] DHIS Organisation Unit Management
[INFO] DHIS Setting Maintenance
[INFO] DHIS User Maintenance
[INFO] DHIS Data Administration
[INFO] DHIS Patient Management
[INFO] DHIS Data Entry
[INFO] DHIS Import-Export
[INFO] DHIS Data Mart
[INFO] DHIS Validation Rule
[INFO] DHIS Web Reporting
[INFO] DHIS Mapping
[INFO] DHIS Web Dashboard Integration module
[INFO] DHIS Web Excel Reporting
[INFO] DHIS Case Entry
[INFO] DHIS Web API
[INFO] DHIS Web Portal
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS Web Modules Project
[INFO] task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/pom.xml> to /ifi/utgard/p01/dhis/.m2/repository/org/hisp/dhis/dhis-web/2.0.6-SNAPSHOT/dhis-web-2.0.6-SNAPSHOT.pom
[INFO] Preparing findbugs:findbugs
[INFO] No goals needed for project - skipping
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [findbugs:findbugs {execution: default-cli}]
[INFO] Using source root:
[INFO] <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/target/classes>
[INFO] Using test source root:
[INFO] <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/target/test-classes>
[INFO] Output class directory doesn't exist. Skipping findbugs.
[HUDSON] Archiving <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/pom.xml> to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Web Trunk/modules/org.hisp.dhis$dhis-web/builds/2011-01-07_12-52-18/archive/org.hisp.dhis/dhis-web/2.0.6-SNAPSHOT/pom.xml
[HUDSON] Archiving /ifi/utgard/p01/dhis/.m2/repository/org/hisp/dhis/dhis-web/2.0.6-SNAPSHOT/dhis-web-2.0.6-SNAPSHOT.pom to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Web Trunk/modules/org.hisp.dhis$dhis-web/builds/2011-01-07_12-52-18/archive/org.hisp.dhis/dhis-web/2.0.6-SNAPSHOT/dhis-web-2.0.6-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS Common Functionality for Web
[INFO] task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/target>
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
    [mkdir] Created dir: <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/target/classes>
[INFO] Executed tasks
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 131 source files to <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/target/classes>
[HUDSON] Archiving <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/pom.xml> to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Web Trunk/modules/org.hisp.dhis$dhis-web-commons/builds/2011-01-07_12-52-18/archive/org.hisp.dhis/dhis-web-commons/2.0.6-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

<http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/interceptor/SystemSettingInterceptor.java>:[98,17] cannot find symbol
symbol : variable KEY_AGGREGATION_STRATEGY
location: class org.hisp.dhis.interceptor.SystemSettingInterceptor

<http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/interceptor/SystemSettingInterceptor.java>:[98,82] cannot find symbol
symbol : variable KEY_AGGREGATION_STRATEGY
location: class org.hisp.dhis.interceptor.SystemSettingInterceptor

<http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/ws/dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/interceptor/SystemSettingInterceptor.java>:[98,108] cannot find symbol
symbol : variable DEFAULT_AGGREGATION_STRATEGY
location: class org.hisp.dhis.interceptor.SystemSettingInterceptor

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32 seconds
[INFO] Finished at: Fri Jan 07 12:52:56 CET 2011
[INFO] Final Memory: 40M/103M
[INFO] ------------------------------------------------------------------------
Waiting for Hudson to finish collecting data
Failed to send e-mail to Lars Helge Overland because no e-mail address is known, and no default e-mail domain is configured
Sending e-mails to: dhis2-devs@lists.launchpad.net
channel stopped
Archiving artifacts
Performing Post build task...
Could not match :DHIS Web Portal ....................................... SUCCESS : False
Logical operation result is FALSE
Skipping script : echo "Building webapp succeeded. Deploying to dev"
/ifi/utgard/p01/dhis/bin/redeploy-dhis-snapshot
END OF POST BUILD TASK : 0
Failed to send e-mail to Hieu because no e-mail address is known, and no default e-mail domain is configured
Failed to send e-mail to Lars Helge Overland because no e-mail address is known, and no default e-mail domain is configured

See <http://dhis.uio.no/ci/job/Dhis2%20Web%20Trunk/1760/changes>