TC 7.1 (build 23907) - .Net Duplicates finder error
Hi,
I am trying to get the duplicates finder running but its failing with this error:
[07:14:11][Step 2/2] Processing data
[07:14:11][Step 2/2] Error occurred while processing duplicate runner messages
[07:14:11][Step 2/2] jetbrains.buildServer.serverSide.db.UnexpectedDBException: Unexpected exception SQLException: SQL error when doing: Executing update with parameters: [48795123449856, 5, line:195,216, 195] caused SQL error: SQL query: insert into duplicate_fragments(id, file_id, offset_info, line) values (?, ?, ?, ?) SQL exception: Attempt to insert null into a non-nullable column: column: FRAGMENT_ID table: DUPLICATE_FRAGMENTS in statement [insert into duplicate_fragments(id, file_id, offset_info, line) values (?, ?, ?, ?)] at org.hsqldb.jdbc.Util.throwError(Util.java:58) at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(jdbcPreparedStatement.java:441) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
Is there some setup needed or DB requirements for this option?
Is there some setup needed or DB requirements for this option?
Thanks,
Chris
Please sign in to leave a comment.
FWIW - I also get a similar error when running it against a Java project, using the Java Duplicates Finder.
Still using same TC7 version as before.
We have upgraded to TC8.0.5 and it is still failing:
Note this build ran on a linux agent, whereas the TC server is a windows box.
Wonder if the error relates to the use of the default internal DB (hsqldb) - looking to switch to mysql to see if that fixes the issue...
Using MySQL fixed the issue :) ...
We are using MSSQL and are getting the same error on TC 9.0.1 (build 32116)