java.lang.ClassCastException

java.util.ArrayList cannot be cast to java.lang.Boolean

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19088

  • via JIRA by Unknown author, 1 year ago
    java.util.ArrayList cannot be cast to java.lang.Boolean
  • java.lang.Boolean cannot be cast to java.util.ArrayList
  • java.util.ArrayList cannot be cast to java.lang.Boolean
  • Stack trace

    • java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.Boolean at org.obiba.magma.datasource.excel.support.ExcelUtil.setCellValue(ExcelUtil.java:30) at org.obiba.magma.datasource.excel.ExcelValueTableWriter$ExcelValueSetWriter.writeValue(ExcelValueTableWriter.java:229) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:182) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:158) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:138) at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:70) at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:52) at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToExcelFile(DefaultExportServiceImpl.java:87) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy47.exportTablesToExcelFile(Unknown Source) at org.obiba.opal.cli.client.command.ExportCommand.execute(ExportCommand.java:35) at org.obiba.opal.cli.client.OpalConsole.prompt(OpalConsole.java:136) at org.obiba.opal.cli.client.OpalConsole.<init>(OpalConsole.java:103) at org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:185)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.