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.Long
java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.Long	at org.obiba.magma.datasource.excel.support.ExcelUtil.setCellValue(ExcelUtil.java:36)	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 undefined.$Proxy39.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.(OpalConsole.java:103)	at org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:185)