java.lang.IllegalArgumentException

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.

  • * update a view by providing a ref table which induces variable conflicts. => see error stack 1. this view update failure should have been detected before commit 2. if a view is broken none of the project tables are accesssible and it is very difficult to fix (need a procedure to hack views git repo) {code} 2014-01-20 15:52:27,944 - WARN - org.obiba.opal.web.magma.ClientErrorDtos - GeneralKeystoreError java.lang.IllegalArgumentException: Cannot have variables with same name and different value type or repeatability: 'AgesAndEverSmokedRefresh-Inter1_TTP-TTP_PilotData.sdc_recruitment_age_sr' at org.obiba.magma.views.JoinTable.analyseVariables(JoinTable.java:120) ~[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.magma.views.JoinTable.getVariableEntities(JoinTable.java:177) ~[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTableWrapper.getVariableEntities(AbstractValueTableWrapper.java:47) ~[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.magma.views.View.getVariableEntities(View.java:354) ~[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTableWrapper.getVariableEntities(AbstractValueTableWrapper.java:47) ~[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.opal.web.magma.Dtos.asDto(Dtos.java:219) ~[opal-web-model-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.Dtos.asDto(Dtos.java:206) ~[opal-web-model-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.DatasourceTablesResourceImpl.getTables(DatasourceTablesResourceImpl.java:118) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.DatasourceTablesResourceImpl.getTables(DatasourceTablesResourceImpl.java:104) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] {code}
    via by Yannick Marcon,
  • * update a view by providing a ref table which induces variable conflicts. => see error stack 1. this view update failure should have been detected before commit 2. if a view is broken none of the project tables are accesssible and it is very difficult to fix (need a procedure to hack views git repo) {code} 2014-01-20 15:52:27,944 - WARN - org.obiba.opal.web.magma.ClientErrorDtos - GeneralKeystoreError java.lang.IllegalArgumentException: Cannot have variables with same name and different value type or repeatability: 'AgesAndEverSmokedRefresh-Inter1_TTP-TTP_PilotData.sdc_recruitment_age_sr' at org.obiba.magma.views.JoinTable.analyseVariables(JoinTable.java:120) ~[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.magma.views.JoinTable.getVariableEntities(JoinTable.java:177) ~[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTableWrapper.getVariableEntities(AbstractValueTableWrapper.java:47) ~[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.magma.views.View.getVariableEntities(View.java:354) ~[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTableWrapper.getVariableEntities(AbstractValueTableWrapper.java:47) ~[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.opal.web.magma.Dtos.asDto(Dtos.java:219) ~[opal-web-model-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.Dtos.asDto(Dtos.java:206) ~[opal-web-model-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.DatasourceTablesResourceImpl.getTables(DatasourceTablesResourceImpl.java:118) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.DatasourceTablesResourceImpl.getTables(DatasourceTablesResourceImpl.java:104) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] {code}
    via by Yannick Marcon,
    • java.lang.IllegalArgumentException: Cannot have variables with same name and different value type or repeatability: 'AgesAndEverSmokedRefresh-Inter1_TTP-TTP_PilotData.sdc_recruitment_age_sr' at org.obiba.magma.views.JoinTable.analyseVariables(JoinTable.java:120)[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.magma.views.JoinTable.getVariableEntities(JoinTable.java:177)[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTableWrapper.getVariableEntities(AbstractValueTableWrapper.java:47)[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.magma.views.View.getVariableEntities(View.java:354)[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTableWrapper.getVariableEntities(AbstractValueTableWrapper.java:47)[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT] at org.obiba.opal.web.magma.Dtos.asDto(Dtos.java:219)[opal-web-model-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.Dtos.asDto(Dtos.java:206)[opal-web-model-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.DatasourceTablesResourceImpl.getTables(DatasourceTablesResourceImpl.java:118)[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.DatasourceTablesResourceImpl.getTables(DatasourceTablesResourceImpl.java:104)[opal-core-ws-2.0-SNAPSHOT.jar:na]
    No Bugmate found.