java.lang.ClassCastException

org.obiba.magma.security.SecuredValueTable cannot be cast to org.obiba.magma.views.View

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 web19008

  • via JIRA by Yannick Marcon, 1 year ago
    org.obiba.magma.security.SecuredValueTable cannot be cast to org.obiba.magma.views.View
  • via JIRA by Yannick Marcon, 1 year ago
    org.obiba.magma.security.SecuredValueTable cannot be cast to org.obiba.magma.views.View
  • via JIRA by Cédric Thiebault, 1 year ago
    org.obiba.magma.security.SudoValueTableReference cannot be cast to org.obiba.magma.views.View
  • Stack trace

    • java.lang.ClassCastException: org.obiba.magma.security.SecuredValueTable cannot be cast to org.obiba.magma.views.View at org.obiba.magma.js.JavascriptVariableValueSource.enterContext(JavascriptVariableValueSource.java:65)[magma-js-1.8-20140131.190032-128.jar:1.8-SNAPSHOT] at org.obiba.magma.js.JavascriptValueSource$AbstractEvaluationContextAction.enterContext(JavascriptValueSource.java:179)[magma-js-1.8-20140131.190032-128.jar:1.8-SNAPSHOT] at org.obiba.magma.js.JavascriptValueSource$ValueVectorEvaluationContextAction.enterContext(JavascriptValueSource.java:283)[magma-js-1.8-20140131.190032-128.jar:1.8-SNAPSHOT] at org.obiba.magma.js.JavascriptValueSource$AbstractEvaluationContextAction.run(JavascriptValueSource.java:168)[magma-js-1.8-20140131.190032-128.jar:1.8-SNAPSHOT] at org.mozilla.javascript.Context.call(Context.java:489)[rhino-1.7R4.jar:1.7R4] at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:504)[rhino-1.7R4.jar:1.7R4] at org.obiba.magma.js.JavascriptValueSource.getValues(JavascriptValueSource.java:114)[magma-js-1.8-20140131.190032-128.jar:1.8-SNAPSHOT] at org.obiba.opal.web.magma.ValueSetsResourceImpl.addValueSetDtosFromVectorSource(ValueSetsResourceImpl.java:138)[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.ValueSetsResourceImpl.getValueSetsDto(ValueSetsResourceImpl.java:128)[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.ValueSetsResourceImpl.getValueSets(ValueSetsResourceImpl.java:58)[opal-core-ws-2.0-SNAPSHOT.jar:na]

    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.