java.lang.ClassCastException

org.obiba.magma.views.ValueSetWrapper cannot be cast to org.obiba.magma.datasource.hibernate.HibernateValueTable$HibernateValueSet

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web3

  • via Unknown by Martin Boulanger,
  • via Unknown by Martin Boulanger,
  • via Unknown by Unknown author,
  • Stack trace

    • 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: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 $Proxy38.exportTablesToDatasource(Unknown Source) 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)

    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

    We couldn't find other users who have seen this exception.