Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
0.4-SNAPSHOT
Description
As reported on the mailing list: http://s.apache.org/zIe and replicated by chrismattmann:
[chipotle:~/src/oodt/trunk] mattmann% more workflow/target/surefire-reports/org.apache.oodt.cas.workflow.repository.TestWorkflowDataSourceRepository.txt ------------------------------------------------------------------------------- Test set: org.apache.oodt.cas.workflow.repository.TestWorkflowDataSourceRepository ------------------------------------------------------------------------------- Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.38 sec <<< FAILURE! testWorkflowConditions(org.apache.oodt.cas.workflow.repository.TestWorkflowDataSourceRepository) Time elapsed: 0.282 sec <<< FAILURE! junit.framework.AssertionFailedError: Attempt to insert null into a non-nullable column: column: WORKFLOW_TASK_ID table: WORKFLOW_TASKS at junit.framework.Assert.fail(Assert.java:47) at org.apache.oodt.cas.workflow.repository.TestWorkflowDataSourceRepository.testWorkflowConditions(TestWorkflowDataSourceRepository.java:117) [chipotle:~/src/oodt/trunk] mattmann% more workflow/target/surefire-reports/org.apache.oodt.cas.workflow.repository.TestWorkflowDataSourceRepository-output.txt java.sql.SQLException: Attempt to insert null into a non-nullable column: column: WORKFLOW_TASK_ID table: WORKFLOW_TASKS at org.hsqldb.jdbc.Util.sqlException(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.execute(Unknown Source) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:261) at org.apache.oodt.cas.workflow.repository.DataSourceWorkflowRepository.commitTask(DataSourceWorkflowRepository.java:1393) at org.apache.oodt.cas.workflow.repository.DataSourceWorkflowRepository.getGlobalWorkflowConditionsTask(DataSourceWorkflowRepository.java:1587) at org.apache.oodt.cas.workflow.repository.DataSourceWorkflowRepository.handleGlobalWorkflowConditions(DataSourceWorkflowRepository.java:1572) at org.apache.oodt.cas.workflow.repository.DataSourceWorkflowRepository.getWorkflowById(DataSourceWorkflowRepository.java:195) at org.apache.oodt.cas.workflow.repository.DataSourceWorkflowRepository.getWorkflowById(DataSourceWorkflowRepository.java:165) at org.apache.oodt.cas.workflow.repository.TestWorkflowDataSourceRepository.testWorkflowConditions(TestWorkflowDataSourceRepository.java:114) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
We're seeing a test error in the DataSourceWorkflowRepository. It appears since OODT-205.
Attachments
Issue Links
- blocks
-
OODT-215 Workflow2 Architecture
- Resolved