kiegroup / jbpm-wb

Web-based management process and task management console
http://www.jbpm.org
53 stars 160 forks source link

Building jBPM Console NG - Human Tasks Backend 6.1.0-SNAPSHOT Exception #76

Closed rezangit closed 10 years ago

rezangit commented 10 years ago

Error still exist even by mvn clean install -U

  1. git clone https://github.com/droolsjbpm/jbpm-console-ng.git
  2. mvn clean install -U

    My build Environment info

mvn --version Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.7.0_45, vendor: Oracle Corporation Java home: /usr/local/java/jdk1.7.0_45/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.8.0-19-generic", arch: "amd64", family: "unix"

Error report

............... [INFO] ------------------------------------------------------------------------ [INFO] Building jBPM Console NG - Human Tasks Backend 6.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jbpm-console-ng-human-tasks-backend --- [INFO] Deleting /home/greenday/jbpm-console/jbpm-console-ng/jbpm-console-ng-human-tasks/jbpm-console-ng-human-tasks-backend (includes = [.errai/, .niogit/], excludes = []) [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (default) @ jbpm-console-ng-human-tasks-backend --- [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java-version) @ jbpm-console-ng-human-tasks-backend --- [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-version) @ jbpm-console-ng-human-tasks-backend --- [INFO] [INFO] --- build-helper-maven-plugin:1.7:parse-version (default) @ jbpm-console-ng-human-tasks-backend --- [INFO] [INFO] --- buildnumber-maven-plugin:1.2:create-timestamp (get-build-timestamp) @ jbpm-console-ng-human-tasks-backend --- [INFO] [INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @ jbpm-console-ng-human-tasks-backend --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jbpm-console-ng-human-tasks-backend --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ jbpm-console-ng-human-tasks-backend --- [INFO] Compiling 13 source files to /home/greenday/jbpm-console/jbpm-console-ng/jbpm-console-ng-human-tasks/jbpm-console-ng-human-tasks-backend/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jbpm-console-ng-human-tasks-backend --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 7 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ jbpm-console-ng-human-tasks-backend --- [INFO] Compiling 5 source files to /home/greenday/jbpm-console/jbpm-console-ng/jbpm-console-ng-human-tasks/jbpm-console-ng-human-tasks-backend/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.15:test (default-test) @ jbpm-console-ng-human-tasks-backend --- [INFO] Surefire report directory: /home/greenday/jbpm-console/jbpm-console-ng/jbpm-console-ng-human-tasks/jbpm-console-ng-human-tasks-backend/target/surefire-reports


T E S T S

Running org.jbpm.console.ng.ht.backend.server.TaskServiceEntryPointLocalTest Jan 20, 2014 11:14:27 AM org.jboss.weld.util.ServiceLoader loadClass WARNING: Could not load service class org.uberfire.security.server.cdi.SecurityExtension 0 [main] WARN org.jboss.solder.config.xml.model.ModelBuilder - Solder Config could not resolve XML namspace for: {} 3855 [main] WARN org.hibernate.service.jta.platform.internal.JtaPlatformInitiator - HHH000427: Using deprecated org.hibernate.transaction.TransactionManagerLookup strategy [hibernate.transaction.manager_lookup_class], use newer org.hibernate.service.jta.platform.spi.JtaPlatform strategy instead [hibernate.transaction.jta.platform] 4577 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Attachment drop constraint FK_7ndpfa311i50bq7hy18q05va3 4577 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "ATTACHMENT" not found; SQL statement: alter table Attachment drop constraint FK_7ndpfa311i50bq7hy18q05va3 [42102-168] 4577 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Attachment drop constraint FK_hqupx569krp0f0sgu9kh87513 4577 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "ATTACHMENT" not found; SQL statement: alter table Attachment drop constraint FK_hqupx569krp0f0sgu9kh87513 [42102-168] 4577 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table BooleanExpression drop constraint FK_394nf2qoc0k9ok6omgd6jtpso 4578 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "BOOLEANEXPRESSION" not found; SQL statement: alter table BooleanExpression drop constraint FK_394nf2qoc0k9ok6omgd6jtpso [42102-168] 4578 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Deadline drop constraint FK_68w742sge00vco2cq3jhbvmgx 4578 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "DEADLINE" not found; SQL statement: alter table Deadline drop constraint FK_68w742sge00vco2cq3jhbvmgx [42102-168] 4578 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Deadline drop constraint FK_euoohoelbqvv94d8a8rcg8s5n 4578 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "DEADLINE" not found; SQL statement: alter table Deadline drop constraint FK_euoohoelbqvv94d8a8rcg8s5n [42102-168] 4579 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Delegation_delegates drop constraint FK_gn7ula51sk55wj1o1m57guqxb 4579 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "DELEGATION_DELEGATES" not found; SQL statement: alter table Delegation_delegates drop constraint FK_gn7ula51sk55wj1o1m57guqxb [42102-168] 4579 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Delegation_delegates drop constraint FK_fajq6kossbsqwr3opkrctxei3 4579 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "DELEGATION_DELEGATES" not found; SQL statement: alter table Delegation_delegates drop constraint FK_fajq6kossbsqwr3opkrctxei3 [42102-168] 4579 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Escalation drop constraint FK_ay2gd4fvl9yaapviyxudwuvfg 4579 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "ESCALATION" not found; SQL statement: alter table Escalation drop constraint FK_ay2gd4fvl9yaapviyxudwuvfg [42102-168] 4580 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table I18NText drop constraint FK_k16jpgrh67ti9uedf6konsu1p 4580 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "I18NTEXT" not found; SQL statement: alter table I18NText drop constraint FK_k16jpgrh67ti9uedf6konsu1p [42102-168] 4580 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table I18NText drop constraint FK_fd9uk6hemv2dx1ojovo7ms3vp 4580 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "I18NTEXT" not found; SQL statement: alter table I18NText drop constraint FK_fd9uk6hemv2dx1ojovo7ms3vp [42102-168] 4581 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table I18NText drop constraint FK_4eyfp69ucrron2hr7qx4np2fp 4581 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "I18NTEXT" not found; SQL statement: alter table I18NText drop constraint FK_4eyfp69ucrron2hr7qx4np2fp [42102-168] 4581 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table I18NText drop constraint FK_pqarjvvnwfjpeyb87yd7m0bfi 4581 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "I18NTEXT" not found; SQL statement: alter table I18NText drop constraint FK_pqarjvvnwfjpeyb87yd7m0bfi [42102-168] 4582 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table I18NText drop constraint FK_o84rkh69r47ti8uv4eyj7bmo2 4582 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "I18NTEXT" not found; SQL statement: alter table I18NText drop constraint FK_o84rkh69r47ti8uv4eyj7bmo2 [42102-168] 4582 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table I18NText drop constraint FK_g1trxri8w64enudw2t1qahhk5 4582 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "I18NTEXT" not found; SQL statement: alter table I18NText drop constraint FK_g1trxri8w64enudw2t1qahhk5 [42102-168] 4582 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table I18NText drop constraint FK_qoce92c70adem3ccb3i7lec8x 4582 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "I18NTEXT" not found; SQL statement: alter table I18NText drop constraint FK_qoce92c70adem3ccb3i7lec8x [42102-168] 4583 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table I18NText drop constraint FK_bw8vmpekejxt1ei2ge26gdsry 4583 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "I18NTEXT" not found; SQL statement: alter table I18NText drop constraint FK_bw8vmpekejxt1ei2ge26gdsry [42102-168] 4583 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table I18NText drop constraint FK_21qvifarxsvuxeaw5sxwh473w 4583 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "I18NTEXT" not found; SQL statement: alter table I18NText drop constraint FK_21qvifarxsvuxeaw5sxwh473w [42102-168] 4584 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Notification drop constraint FK_bdbeml3768go5im41cgfpyso9 4584 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "NOTIFICATION" not found; SQL statement: alter table Notification drop constraint FK_bdbeml3768go5im41cgfpyso9 [42102-168] 4584 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Notification_BAs drop constraint FK_mfbsnbrhth4rjhqc2ud338s4i 4584 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "NOTIFICATION_BAS" not found; SQL statement: alter table Notification_BAs drop constraint FK_mfbsnbrhth4rjhqc2ud338s4i [42102-168] 4584 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Notification_BAs drop constraint FK_fc0uuy76t2bvxaxqysoo8xts7 4584 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "NOTIFICATION_BAS" not found; SQL statement: alter table Notification_BAs drop constraint FK_fc0uuy76t2bvxaxqysoo8xts7 [42102-168] 4585 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Notification_Recipients drop constraint FK_blf9jsrumtrthdaqnpwxt25eu 4585 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "NOTIFICATION_RECIPIENTS" not found; SQL statement: alter table Notification_Recipients drop constraint FK_blf9jsrumtrthdaqnpwxt25eu [42102-168] 4585 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Notification_Recipients drop constraint FK_3l244pj8sh78vtn9imaymrg47 4585 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "NOTIFICATION_RECIPIENTS" not found; SQL statement: alter table Notification_Recipients drop constraint FK_3l244pj8sh78vtn9imaymrg47 [42102-168] 4585 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Notification_email_header drop constraint FK_ptaka5kost68h7l3wflv7w6y8 4585 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "NOTIFICATION_EMAIL_HEADER" not found; SQL statement: alter table Notification_email_header drop constraint FK_ptaka5kost68h7l3wflv7w6y8 [42102-168] 4586 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Notification_email_header drop constraint FK_eth4nvxn21fk1vnju85vkjrai 4586 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "NOTIFICATION_EMAIL_HEADER" not found; SQL statement: alter table Notification_email_header drop constraint FK_eth4nvxn21fk1vnju85vkjrai [42102-168] 4586 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table PeopleAssignments_BAs drop constraint FK_t38xbkrq6cppifnxequhvjsl2 4586 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "PEOPLEASSIGNMENTS_BAS" not found; SQL statement: alter table PeopleAssignments_BAs drop constraint FK_t38xbkrq6cppifnxequhvjsl2 [42102-168] 4587 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table PeopleAssignments_BAs drop constraint FK_omjg5qh7uv8e9bolbaq7hv6oh 4587 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "PEOPLEASSIGNMENTS_BAS" not found; SQL statement: alter table PeopleAssignments_BAs drop constraint FK_omjg5qh7uv8e9bolbaq7hv6oh [42102-168] 4587 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table PeopleAssignments_ExclOwners drop constraint FK_pth28a73rj6bxtlfc69kmqo0a 4587 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "PEOPLEASSIGNMENTS_EXCLOWNERS" not found; SQL statement: alter table PeopleAssignments_ExclOwners drop constraint FK_pth28a73rj6bxtlfc69kmqo0a [42102-168] 4587 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table PeopleAssignments_ExclOwners drop constraint FK_b8owuxfrdng050ugpk0pdowa7 4587 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "PEOPLEASSIGNMENTS_EXCLOWNERS" not found; SQL statement: alter table PeopleAssignments_ExclOwners drop constraint FK_b8owuxfrdng050ugpk0pdowa7 [42102-168] 4588 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table PeopleAssignments_PotOwners drop constraint FK_tee3ftir7xs6eo3fdvi3xw026 4588 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "PEOPLEASSIGNMENTS_POTOWNERS" not found; SQL statement: alter table PeopleAssignments_PotOwners drop constraint FK_tee3ftir7xs6eo3fdvi3xw026 [42102-168] 4588 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table PeopleAssignments_PotOwners drop constraint FK_4dv2oji7pr35ru0w45trix02x 4589 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "PEOPLEASSIGNMENTS_POTOWNERS" not found; SQL statement: alter table PeopleAssignments_PotOwners drop constraint FK_4dv2oji7pr35ru0w45trix02x [42102-168] 4589 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table PeopleAssignments_Recipients drop constraint FK_4g7y3wx6gnokf6vycgpxs83d6 4589 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "PEOPLEASSIGNMENTS_RECIPIENTS" not found; SQL statement: alter table PeopleAssignments_Recipients drop constraint FK_4g7y3wx6gnokf6vycgpxs83d6 [42102-168] 4590 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table PeopleAssignments_Recipients drop constraint FK_enhk831fghf6akjilfn58okl4 4590 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "PEOPLEASSIGNMENTS_RECIPIENTS" not found; SQL statement: alter table PeopleAssignments_Recipients drop constraint FK_enhk831fghf6akjilfn58okl4 [42102-168] 4590 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table PeopleAssignments_Stakeholders drop constraint FK_met63inaep6cq4ofb3nnxi4tm 4590 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "PEOPLEASSIGNMENTS_STAKEHOLDERS" not found; SQL statement: alter table PeopleAssignments_Stakeholders drop constraint FK_met63inaep6cq4ofb3nnxi4tm [42102-168] 4591 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table PeopleAssignments_Stakeholders drop constraint FK_4bh3ay74x6ql9usunubttfdf1 4591 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "PEOPLEASSIGNMENTS_STAKEHOLDERS" not found; SQL statement: alter table PeopleAssignments_Stakeholders drop constraint FK_4bh3ay74x6ql9usunubttfdf1 [42102-168] 4591 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Reassignment drop constraint FK_pnpeue9hs6kx2ep0sp16b6kfd 4591 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "REASSIGNMENT" not found; SQL statement: alter table Reassignment drop constraint FK_pnpeue9hs6kx2ep0sp16b6kfd [42102-168] 4592 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Reassignment_potentialOwners drop constraint FK_8frl6la7tgparlnukhp8xmody 4592 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "REASSIGNMENT_POTENTIALOWNERS" not found; SQL statement: alter table Reassignment_potentialOwners drop constraint FK_8frl6la7tgparlnukhp8xmody [42102-168] 4592 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Reassignment_potentialOwners drop constraint FK_qbega5ncu6b9yigwlw55aeijn 4593 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "REASSIGNMENT_POTENTIALOWNERS" not found; SQL statement: alter table Reassignment_potentialOwners drop constraint FK_qbega5ncu6b9yigwlw55aeijn [42102-168] 4593 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Task drop constraint FK_dpk0f9ucm14c78bsxthh7h8yh 4593 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "TASK" not found; SQL statement: alter table Task drop constraint FK_dpk0f9ucm14c78bsxthh7h8yh [42102-168] 4593 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Task drop constraint FK_nh9nnt47f3l61qjlyedqt05rf 4594 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "TASK" not found; SQL statement: alter table Task drop constraint FK_nh9nnt47f3l61qjlyedqt05rf [42102-168] 4594 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table Task drop constraint FK_k02og0u71obf1uxgcdjx9rcjc 4594 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "TASK" not found; SQL statement: alter table Task drop constraint FK_k02og0u71obf1uxgcdjx9rcjc [42102-168] 4595 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table task_comment drop constraint FK_aax378yjnsmw9kb9vsu994jjv 4595 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "TASK_COMMENT" not found; SQL statement: alter table task_comment drop constraint FK_aax378yjnsmw9kb9vsu994jjv [42102-168] 4595 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - HHH000389: Unsuccessful: alter table task_comment drop constraint FK_1ws9jdmhtey6mxu7jb0r0ufvs 4595 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Table "TASK_COMMENT" not found; SQL statement: alter table task_comment drop constraint FK1ws9jdmhtey6mxu7jb0r0ufvs [42102-168] Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 27.389 sec <<< FAILURE! - in org.jbpm.console.ng.ht.backend.server.TaskServiceEntryPointLocalTest testGetTasksForLongPeriod(org.jbpm.console.ng.ht.backend.server.TaskServiceEntryPointLocalTest) Time elapsed: 0.044 sec <<< ERROR! java.lang.IllegalArgumentException: Illegal instant due to time zone offset transition: 2014-03-21T20:30:00.000 at org.joda.time.chrono.ZonedChronology.localToUTC(ZonedChronology.java:143) at org.joda.time.chrono.ZonedChronology.getDateTimeMillis(ZonedChronology.java:119) at org.joda.time.chrono.AssembledChronology.getDateTimeMillis(AssembledChronology.java:133) at org.joda.time.base.BaseDateTime.(BaseDateTime.java:254) at org.joda.time.DateMidnight.(DateMidnight.java:268) at org.joda.time.LocalDate.toDateMidnight(LocalDate.java:750) at org.joda.time.LocalDate.toDateMidnight(LocalDate.java:727) at org.jbpm.console.ng.ht.backend.server.TaskServiceEntryPointImpl.transformLocalDatesToDays(TaskServiceEntryPointImpl.java:194) at org.jbpm.console.ng.ht.backend.server.TaskServiceEntryPointImpl.getTasksOwnedFromDateToDateByDays(TaskServiceEntryPointImpl.java:146) at org.jbpm.console.ng.ht.backend.server.TaskServiceEntryPointImpl.getTasksOwnedFromDateToDateByDays(TaskServiceEntryPointImpl.java:230) at org.jbpm.console.ng.ht.backend.server.TaskServiceEntryPointImpl$Proxy$$$WeldClientProxy.getTasksOwnedFromDateToDateByDays(TaskServiceEntryPointImpl$Proxy$$$_WeldClientProxy.java) at org.jbpm.console.ng.ht.backend.server.TaskServiceEntryPointBaseTest.testGetTasksForLongPeriod(TaskServiceEntryPointBaseTest.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:270) at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115) at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) at org.jboss.arquillian.container.test.impl.client.protocol.local.LocalContainerMethodExecutor.invoke(LocalContainerMethodExecutor.java:50) at org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115) at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81) at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142) at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60) at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:89) at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75) at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135) at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111) at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263) at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226) at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314) at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46) at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185) at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314) at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46) at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Results :

Tests in error: TaskServiceEntryPointLocalTest>TaskServiceEntryPointBaseTest.testGetTasksForLongPeriod:28 » IllegalArgument

Tests run: 11, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] jBPM Console NG ................................... SUCCESS [2.241s] [INFO] jBPM Console NG - Module Archetype ................ SUCCESS [2.125s] [INFO] jBPM Console NG - Human Tasks Panels .............. SUCCESS [0.194s] [INFO] jBPM Console NG - Human Tasks API ................. SUCCESS [2.791s] [INFO] jBPM Console NG - Process Runtime Panels .......... SUCCESS [0.134s] [INFO] jBPM Console NG - Process Runtime API ............. SUCCESS [6:02.325s] [INFO] jBPM Console NG - Business Domain Panels .......... SUCCESS [0.127s] [INFO] jBPM Console NG - Business Domain API ............. SUCCESS [2.827s] [INFO] jBPM Console NG - Human Tasks Client .............. SUCCESS [6:25.600s] [INFO] jBPM Console NG - Human Tasks Backend ............. FAILURE [32.696s] [INFO] jBPM Console NG - Process Runtime Client .......... SKIPPED [INFO] jBPM Console NG - Process Runtime Backend ......... SKIPPED [INFO] jBPM Console NG - Business Domain Client .......... SKIPPED [INFO] jBPM Console NG - Business Domain Backend ......... SKIPPED [INFO] jBPM Console NG - Executor Service Panels ......... SKIPPED [INFO] jBPM Console NG - Executor Service API ............ SKIPPED [INFO] jBPM Console NG - Executor Service Client ......... SKIPPED [INFO] jBPM Console NG - Executor Service Backend ........ SKIPPED [INFO] jBPM Console NG - Dashboard ....................... SKIPPED [INFO] jBPM Console NG - Dashboard API ................... SKIPPED [INFO] jBPM Console NG - BPM Home Panels ................. SKIPPED [INFO] jBPM Console NG - BPM Home Client ................. SKIPPED [INFO] jBPM Console NG - Dashboard Backend ............... SKIPPED [INFO] jBPM Console NG - Dashboard Client ................ SKIPPED [INFO] jBPM Console NG - Showcase ........................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15:04.090s [INFO] Finished at: Mon Jan 20 11:14:51 IRST 2014 [INFO] Final Memory: 69M/327M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project jbpm-console-ng-human-tasks-backend: There are test failures.

mswiderski commented 10 years ago

have you modified the tests in any way? and what is the time zone you're in as that might be specific to timezone?

salaboy commented 10 years ago

Do you have any local changes? It is working locally, so it might be related with your local environment. There is no way to fix if we don't find the cause.. @Maciej is it failing in your local env?

mswiderski commented 10 years ago

@Salaboy nope, works as expected, I even tried with the same date that is mentioned in the stack trace but still no luck to reproduce the problem.

psiroky commented 10 years ago

If I remember correctly this issue is related to particular timezone(s) (as Maciej pointed out). I think @porcelli seen same (similar) issue some time ago. I will look into it (as I wrote the tests originally) once I have a minute or two.

rezangit commented 10 years ago

No changes at all, I just get a fresh copy from Git every time to test and then remove all folders about timezone

date +%Z IRST date +%z +0330

I can build master branch with this command without any error mvn clean install -DskipTests

salaboy commented 10 years ago

@psiroky thanks I will appreciate if you take a look on those tests

psiroky commented 10 years ago

The issue can be reproduced by adding following line at the start of method testGetTasksForLongPeriod().

DateTimeZone.setDefault(DateTimeZone.forTimeZone(TimeZone.getTimeZone("Brazil/East")));

It is related to the daylight savings time which is handled differently in different countries. I will look at how to fix the tests/implementation.

rezangit commented 10 years ago

I just changed my timezone to Vancouver/Canada and problem solved.

sudo dpkg-reconfigure tzdata

Thanks for help.

mswiderski commented 10 years ago

alright the fix is to replace LocalDate.toDateMidnight() with LocalDate.toDateTimeAtStartOfDay() inside TaskServiceEntryPointImpl.transformLocalDatesToDays and that solves the problem. Any thoughts? If no objections I'll create jira and push it to master.

psiroky commented 10 years ago

@mswiderski thanks for looking into this! Yes, the LocalDate.toDateTimeAtStartOfDay() is the right way to handle it. I am sorry for the inconvenience I caused, that method should have been used from the beginning.

mswiderski commented 10 years ago

@psiroky no worries, thanks for confirming the fix, I'll push that in.

mswiderski commented 10 years ago

fixed as part of this jira: https://issues.jboss.org/browse/JBPM-4226