java.lang.ClassCastException: org.obiba.magma.views.ValueSetWrapper cannot be cast to org.obiba.magma.datasource.hibernate.HibernateValueTable$HibernateValueSet

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 Martin Boulanger, 1 year ago
org.obiba.magma.views.ValueSetWrapper cannot be cast to org.obiba.magma.datasource.hibernate.HibernateValueTable$HibernateValueSet
via JIRA by Martin Boulanger, 1 year ago
org.obiba.magma.views.ValueSetWrapper cannot be cast to org.obiba.magma.datasource.hibernate.HibernateValueTable$HibernateValueSet
java.lang.ClassCastException: org.obiba.magma.views.ValueSetWrapper cannot be cast to org.obiba.magma.datasource.hibernate.HibernateValueTable$HibernateValueSet
at org.obiba.magma.datasource.hibernate.HibernateVariableValueSourceFactory$HibernateVariableValueSource.getValue(HibernateVariableValueSourceFactory.java:82)
at org.obiba.magma.support.AbstractValueTable.getValue(AbstractValueTable.java:86)
at org.obiba.magma.support.AbstractValueTableWrapper.getValue(AbstractValueTableWrapper.java:30)
at org.obiba.magma.views.JoinTable.getValue(JoinTable.java:96)
at org.obiba.magma.support.AbstractValueTableWrapper.getValue(AbstractValueTableWrapper.java:30)
at org.obiba.magma.views.View.getValue(View.java:205)
at org.obiba.magma.support.AbstractValueTableWrapper.getValue(AbstractValueTableWrapper.java:30)
at org.obiba.magma.views.View.getValue(View.java:205)
at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:186)
at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:164)
at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:144)
at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:130)
at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.shell.commands.CopyCommand.execute(CopyCommand.java:58)
at org.obiba.opal.shell.AbstractOpalShell.executeCommand(AbstractOpalShell.java:94)
at org.obiba.opal.shell.AbstractOpalShell.run(AbstractOpalShell.java:49)
at java.lang.Thread.run(Thread.java:619)

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.