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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Unknown author, 1 year ago
java.util.ArrayList cannot be cast to java.lang.Boolean
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 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:171)
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.(OpalConsole.java:103)
at org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:185)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.