java.lang.IllegalArgumentException: Cannot have variables with same name and different value type or repeatability: 'AgesAndEverSmokedRefresh-Inter1_TTP-TTP_PilotData.sdc_recruitment_age_sr'

JIRA | Yannick Marcon | 3 years ago
  1. 0

    * 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}

    JIRA | 3 years ago | 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'
  2. 0

    * 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}

    JIRA | 3 years ago | 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'
  3. 0
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. org.obiba.magma
      AbstractValueTableWrapper.getVariableEntities
      1. org.obiba.magma.views.JoinTable.analyseVariables(JoinTable.java:120)[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT]
      2. org.obiba.magma.views.JoinTable.getVariableEntities(JoinTable.java:177)[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT]
      3. org.obiba.magma.support.AbstractValueTableWrapper.getVariableEntities(AbstractValueTableWrapper.java:47)[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT]
      4. org.obiba.magma.views.View.getVariableEntities(View.java:354)[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT]
      5. org.obiba.magma.support.AbstractValueTableWrapper.getVariableEntities(AbstractValueTableWrapper.java:47)[magma-api-1.8-20140117.164532-113.jar:1.8-SNAPSHOT]
      5 frames
    3. org.obiba.opal
      DatasourceTablesResourceImpl.getTables
      1. org.obiba.opal.web.magma.Dtos.asDto(Dtos.java:219)[opal-web-model-2.0-SNAPSHOT.jar:na]
      2. org.obiba.opal.web.magma.Dtos.asDto(Dtos.java:206)[opal-web-model-2.0-SNAPSHOT.jar:na]
      3. org.obiba.opal.web.magma.DatasourceTablesResourceImpl.getTables(DatasourceTablesResourceImpl.java:118)[opal-core-ws-2.0-SNAPSHOT.jar:na]
      4. org.obiba.opal.web.magma.DatasourceTablesResourceImpl.getTables(DatasourceTablesResourceImpl.java:104)[opal-core-ws-2.0-SNAPSHOT.jar:na]
      4 frames