java.lang.IllegalArgumentException: variable name cannot be empty

JIRA | Yannick Marcon | 4 years ago
  1. 0

    Steps to reproduce: * Prepare a table with some variables * import CSV data file with columns having empty name {code} 2013-01-31 12:44:18,810 - ERROR - der.RuntimeExceptionMapper - Unhandled exception java.lang.IllegalArgumentException: variable name cannot be empty at org.obiba.magma.Variable$Builder.<init>(Variable.java:44) at org.obiba.magma.Variable$Builder.newVariable(Variable.java:66) at org.obiba.magma.datasource.csv.CsvValueTable.getMissingVariables(CsvValueTable.java:536) at org.obiba.opal.web.magma.CompareResource.getMissingCsvVariableConflicts(CompareResource.java:201) at org.obiba.opal.web.magma.CompareResource.createTableCompareDto(CompareResource.java:165) at org.obiba.opal.web.magma.CompareResource.createTableCompareDto(CompareResource.java:144) at org.obiba.opal.web.magma.CompareResource.createDatasourceCompareDto(CompareResource.java:121) at org.obiba.opal.web.magma.CompareResource.compare(CompareResource.java:88) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:252) {code}

    JIRA | 4 years ago | Yannick Marcon
    java.lang.IllegalArgumentException: variable name cannot be empty
  2. 0

    Steps to reproduce: * Prepare a table with some variables * import CSV data file with columns having empty name {code} 2013-01-31 12:44:18,810 - ERROR - der.RuntimeExceptionMapper - Unhandled exception java.lang.IllegalArgumentException: variable name cannot be empty at org.obiba.magma.Variable$Builder.<init>(Variable.java:44) at org.obiba.magma.Variable$Builder.newVariable(Variable.java:66) at org.obiba.magma.datasource.csv.CsvValueTable.getMissingVariables(CsvValueTable.java:536) at org.obiba.opal.web.magma.CompareResource.getMissingCsvVariableConflicts(CompareResource.java:201) at org.obiba.opal.web.magma.CompareResource.createTableCompareDto(CompareResource.java:165) at org.obiba.opal.web.magma.CompareResource.createTableCompareDto(CompareResource.java:144) at org.obiba.opal.web.magma.CompareResource.createDatasourceCompareDto(CompareResource.java:121) at org.obiba.opal.web.magma.CompareResource.compare(CompareResource.java:88) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:252) {code}

    JIRA | 4 years ago | Yannick Marcon
    java.lang.IllegalArgumentException: variable name cannot be empty
  3. 0

    GitHub comment 29#39478865

    GitHub | 3 years ago | jouvin
    java.lang.IllegalArgumentException: Name cannot be empty
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalArgumentException (Apache POI)

    docfetcher | 4 years ago | *anonymous
    java.lang.IllegalArgumentException: name cannot be empty
  6. 0

    ODI 11g&#160; &amp;&#160; Essbase 11.1.2.3

    Oracle Community | 2 years ago | amir1290
    java.lang.IllegalArgumentException: Driver name cannot be empty

    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

      variable name cannot be empty

      at org.obiba.magma.Variable$Builder.<init>()
    2. org.obiba.magma
      CsvValueTable.getMissingVariables
      1. org.obiba.magma.Variable$Builder.<init>(Variable.java:44)
      2. org.obiba.magma.Variable$Builder.newVariable(Variable.java:66)
      3. org.obiba.magma.datasource.csv.CsvValueTable.getMissingVariables(CsvValueTable.java:536)
      3 frames
    3. org.obiba.opal
      CompareResource.compare
      1. org.obiba.opal.web.magma.CompareResource.getMissingCsvVariableConflicts(CompareResource.java:201)
      2. org.obiba.opal.web.magma.CompareResource.createTableCompareDto(CompareResource.java:165)
      3. org.obiba.opal.web.magma.CompareResource.createTableCompareDto(CompareResource.java:144)
      4. org.obiba.opal.web.magma.CompareResource.createDatasourceCompareDto(CompareResource.java:121)
      5. org.obiba.opal.web.magma.CompareResource.compare(CompareResource.java:88)
      5 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    5. RESTEasy JAX-RS Implementation
      ResourceMethod.invokeOnTarget
      1. org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
      2. org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:252)
      2 frames