java.lang.RuntimeException: org.obiba.magma.MagmaRuntimeException: Cannot update the CSV ValueTable [Hearing]. The new ValueSet (record) included the following unexpected Variables (fields): RES_RIGHT_8K_ERR

JIRA | Dwain Elson | 1 year ago
  1. 0

    When first record has null values, corresponding variable headers are unknown. {code} java.lang.RuntimeException: org.obiba.magma.MagmaRuntimeException: Cannot update the CSV ValueTable [Hearing]. The new ValueSet (record) included the following unexpected Variables (fields): RES_RIGHT_8K_ERR at org.obiba.opal.core.service.DataExportServiceImpl.exportTablesToDatasource(DataExportServiceImpl.java:88) at org.obiba.opal.shell.commands.CopyCommand.execute(CopyCommand.java:122) at org.obiba.opal.shell.CommandJob.run(CommandJob.java:153) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.obiba.magma.MagmaRuntimeException: Cannot update the CSV ValueTable [Hearing]. The new ValueSet (record) included the following unexpected Variables (fields): RES_RIGHT_8K_ERR at org.obiba.magma.datasource.csv.CsvValueTableWriter$CsvValueSetWriter.writeTableWithData(CsvValueTableWriter.java:172) at org.obiba.magma.datasource.csv.CsvValueTableWriter$CsvValueSetWriter.close(CsvValueTableWriter.java:133) at org.obiba.magma.support.MultithreadedDatasourceCopier$ConcurrentValueSetWriter.copyValue(MultithreadedDatasourceCopier.java:351) at org.obiba.magma.support.MultithreadedDatasourceCopier$ConcurrentValueSetWriter.run(MultithreadedDatasourceCopier.java:339) at org.obiba.magma.support.MultithreadedDatasourceCopier.write(MultithreadedDatasourceCopier.java:185) at org.obiba.magma.support.MultithreadedDatasourceCopier.copy(MultithreadedDatasourceCopier.java:172) at org.obiba.opal.core.service.DataExportServiceImpl$ExportActionTemplate$ExportAction.exportTableToDatasource(DataExportServiceImpl.java:202) at org.obiba.opal.core.service.DataExportServiceImpl$ExportActionTemplate$ExportAction.execute(DataExportServiceImpl.java:171) at org.obiba.opal.core.magma.concurrent.LockingActionTemplate.execute(LockingActionTemplate.java:33) at org.obiba.opal.core.service.DataExportServiceImpl.exportTablesToDatasource(DataExportServiceImpl.java:80) ... 9 more {code}

    JIRA | 1 year ago | Dwain Elson
    java.lang.RuntimeException: org.obiba.magma.MagmaRuntimeException: Cannot update the CSV ValueTable [Hearing]. The new ValueSet (record) included the following unexpected Variables (fields): RES_RIGHT_8K_ERR
  2. 0

    When first record has null values, corresponding variable headers are unknown. {code} java.lang.RuntimeException: org.obiba.magma.MagmaRuntimeException: Cannot update the CSV ValueTable [Hearing]. The new ValueSet (record) included the following unexpected Variables (fields): RES_RIGHT_8K_ERR at org.obiba.opal.core.service.DataExportServiceImpl.exportTablesToDatasource(DataExportServiceImpl.java:88) at org.obiba.opal.shell.commands.CopyCommand.execute(CopyCommand.java:122) at org.obiba.opal.shell.CommandJob.run(CommandJob.java:153) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.obiba.magma.MagmaRuntimeException: Cannot update the CSV ValueTable [Hearing]. The new ValueSet (record) included the following unexpected Variables (fields): RES_RIGHT_8K_ERR at org.obiba.magma.datasource.csv.CsvValueTableWriter$CsvValueSetWriter.writeTableWithData(CsvValueTableWriter.java:172) at org.obiba.magma.datasource.csv.CsvValueTableWriter$CsvValueSetWriter.close(CsvValueTableWriter.java:133) at org.obiba.magma.support.MultithreadedDatasourceCopier$ConcurrentValueSetWriter.copyValue(MultithreadedDatasourceCopier.java:351) at org.obiba.magma.support.MultithreadedDatasourceCopier$ConcurrentValueSetWriter.run(MultithreadedDatasourceCopier.java:339) at org.obiba.magma.support.MultithreadedDatasourceCopier.write(MultithreadedDatasourceCopier.java:185) at org.obiba.magma.support.MultithreadedDatasourceCopier.copy(MultithreadedDatasourceCopier.java:172) at org.obiba.opal.core.service.DataExportServiceImpl$ExportActionTemplate$ExportAction.exportTableToDatasource(DataExportServiceImpl.java:202) at org.obiba.opal.core.service.DataExportServiceImpl$ExportActionTemplate$ExportAction.execute(DataExportServiceImpl.java:171) at org.obiba.opal.core.magma.concurrent.LockingActionTemplate.execute(LockingActionTemplate.java:33) at org.obiba.opal.core.service.DataExportServiceImpl.exportTablesToDatasource(DataExportServiceImpl.java:80) ... 9 more {code}

    JIRA | 1 year ago | Dwain Elson
    java.lang.RuntimeException: org.obiba.magma.MagmaRuntimeException: Cannot update the CSV ValueTable [Hearing]. The new ValueSet (record) included the following unexpected Variables (fields): RES_RIGHT_8K_ERR
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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. org.obiba.magma.MagmaRuntimeException

      Cannot update the CSV ValueTable [Hearing]. The new ValueSet (record) included the following unexpected Variables (fields): RES_RIGHT_8K_ERR

      at org.obiba.magma.datasource.csv.CsvValueTableWriter$CsvValueSetWriter.writeTableWithData()
    2. org.obiba.magma
      MultithreadedDatasourceCopier.copy
      1. org.obiba.magma.datasource.csv.CsvValueTableWriter$CsvValueSetWriter.writeTableWithData(CsvValueTableWriter.java:172)
      2. org.obiba.magma.datasource.csv.CsvValueTableWriter$CsvValueSetWriter.close(CsvValueTableWriter.java:133)
      3. org.obiba.magma.support.MultithreadedDatasourceCopier$ConcurrentValueSetWriter.copyValue(MultithreadedDatasourceCopier.java:351)
      4. org.obiba.magma.support.MultithreadedDatasourceCopier$ConcurrentValueSetWriter.run(MultithreadedDatasourceCopier.java:339)
      5. org.obiba.magma.support.MultithreadedDatasourceCopier.write(MultithreadedDatasourceCopier.java:185)
      6. org.obiba.magma.support.MultithreadedDatasourceCopier.copy(MultithreadedDatasourceCopier.java:172)
      6 frames
    3. org.obiba.opal
      CommandJob.run
      1. org.obiba.opal.core.service.DataExportServiceImpl$ExportActionTemplate$ExportAction.exportTableToDatasource(DataExportServiceImpl.java:202)
      2. org.obiba.opal.core.service.DataExportServiceImpl$ExportActionTemplate$ExportAction.execute(DataExportServiceImpl.java:171)
      3. org.obiba.opal.core.magma.concurrent.LockingActionTemplate.execute(LockingActionTemplate.java:33)
      4. org.obiba.opal.core.service.DataExportServiceImpl.exportTablesToDatasource(DataExportServiceImpl.java:80)
      5. org.obiba.opal.shell.commands.CopyCommand.execute(CopyCommand.java:122)
      6. org.obiba.opal.shell.CommandJob.run(CommandJob.java:153)
      6 frames
    4. Shiro
      SubjectRunnable.run
      1. org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
      2. org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
      2 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames