cancel
Showing results for 
Search instead for 
Did you mean: 

Error running alpha2 examples FinanicalReportProcessTest!!!!

activiti-admin
Champ in-the-making
Champ in-the-making
FinancialReportProcessTest(TestCase).runTest() line: 171   




12:35:23,084 SEV  | org.apache.ibatis.logging.commons.JakartaCommonsLoggingImpl | Error calling Connection.prepareStatement:
org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "Â
  •  SELECT DISTINCT(T.*)
  •      
        FROM ACT_TASK T
        
          INNER JOIN ACT_TASKINVOLVEMENT I ON I.TASK_ID_ = T.ID_
        
         WHERE  T.ASSIGNEE_ IS NULL
            AND I.TYPE_ = 'candidate'
            AND
            (
             
                I.USER_ID_ = ?         
             
             
                OR
             
             
                I.GROUP_ID_ IN
                (
                  ?
                )
             
            )
      
       ORDER BY ID_
      "; SQL statement:
       select distinct(T.*)
         
        from ACT_TASK T
        
          inner join ACT_TASKINVOLVEMENT I on I.TASK_ID_ = T.ID_
        
         WHERE  T.ASSIGNEE_ is null
            and I.TYPE_ = 'candidate'
            and
            (
             
                I.USER_ID_ = ?         
             
             
                or
             
             
                I.GROUP_ID_ IN
                (
                  ?
                )
             
            )
      
       order by ID_
      [42000-132]
       at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
       at org.h2.message.DbException.get(DbException.java:167)
       at org.h2.message.DbException.get(DbException.java:144)
    1 REPLY 1

    stefanklose
    Champ in-the-making
    Champ in-the-making
    Set an explicit encoding in the JUNIT Run Configuration for this processs
    –> VM Agument: -Dfile.encoding=UTF-8 (or -Dfile.encoding=ISO-8859-1)