junit.framework.AssertionFailedError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The test fails intermittently at our local CI, please see stderr/stdout excerpts below: Error Message Number of rows is not the same: 3 and 0 Stacktrace junit.framework.AssertionFailedError: Number of rows is not the same: 3 and 0 at org.pentaho.di.trans.steps.databaselookup.DatabaseLookupTest.checkRows(DatabaseLookupTest.java:225) at org.pentaho.di.trans.steps.databaselookup.DatabaseLookupTest.basicDatabaseLookup(DatabaseLookupTest.java:367) Standard Output 2014/02/08 03:17:10 - transname - Dispatching started for transformation [transname] 2014/02/08 03:17:10 - injector step.0 - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1) 2014/02/08 03:17:10 - transname - transname 2014/02/08 03:17:10 - transname - transname 2014/02/08 03:17:10 - transname - Dispatching started for transformation [transname] 2014/02/08 03:17:10 - injector step.0 - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Finished processing (I=15, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - transname - Dispatching started for transformation [transname] 2014/02/08 03:17:10 - injector step.0 - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Finished processing (I=2, O=0, R=3, W=3, U=0, E=0) Standard Error 2014/02/08 03:17:10 - look up from [lookup_table1].0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2014-02-08 02.50.35 by jenkins) : Because of an error, this step can't continue: 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Couldn't get row from result set 2014/02/08 03:17:10 - look up from [lookup_table1].0 - 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Unable to get value 'String(30)' from database resultset, index 2 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Invalid value "3" for parameter "columnIndex" [90008-131]
    via by Pavel Sakun,
  • The test fails intermittently at our local CI, please see stderr/stdout excerpts below: Error Message Number of rows is not the same: 3 and 0 Stacktrace junit.framework.AssertionFailedError: Number of rows is not the same: 3 and 0 at org.pentaho.di.trans.steps.databaselookup.DatabaseLookupTest.checkRows(DatabaseLookupTest.java:225) at org.pentaho.di.trans.steps.databaselookup.DatabaseLookupTest.basicDatabaseLookup(DatabaseLookupTest.java:367) Standard Output 2014/02/08 03:17:10 - transname - Dispatching started for transformation [transname] 2014/02/08 03:17:10 - injector step.0 - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1) 2014/02/08 03:17:10 - transname - transname 2014/02/08 03:17:10 - transname - transname 2014/02/08 03:17:10 - transname - Dispatching started for transformation [transname] 2014/02/08 03:17:10 - injector step.0 - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Finished processing (I=15, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - transname - Dispatching started for transformation [transname] 2014/02/08 03:17:10 - injector step.0 - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Finished processing (I=2, O=0, R=3, W=3, U=0, E=0) Standard Error 2014/02/08 03:17:10 - look up from [lookup_table1].0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2014-02-08 02.50.35 by jenkins) : Because of an error, this step can't continue: 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Couldn't get row from result set 2014/02/08 03:17:10 - look up from [lookup_table1].0 - 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Unable to get value 'String(30)' from database resultset, index 2 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Invalid value "3" for parameter "columnIndex" [90008-131]
    via by Pavel Sakun,
    • junit.framework.AssertionFailedError: Number of rows is not the same: 3 and 0 at org.pentaho.di.trans.steps.databaselookup.DatabaseLookupTest.checkRows(DatabaseLookupTest.java:225) at org.pentaho.di.trans.steps.databaselookup.DatabaseLookupTest.basicDatabaseLookup(DatabaseLookupTest.java:367)
    No Bugmate found.