java.lang.IllegalStateException: The initialise() method must be called before getVariableValueSources().

JIRA | Cédric Thiebault | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      The initialise() method must be called before getVariableValueSources().

      at org.obiba.magma.js.views.VariablesClause.getVariableValueSources()
    2. org.obiba.magma
      DefaultViewManagerImpl.addView
      1. org.obiba.magma.js.views.VariablesClause.getVariableValueSources(VariablesClause.java:61)
      2. org.obiba.magma.views.View.getListVariables(View.java:276)
      3. org.obiba.magma.views.View.getVariables(View.java:262)
      4. org.obiba.magma.views.DefaultViewManagerImpl.addView(DefaultViewManagerImpl.java:58)
      4 frames
    3. org.obiba.opal
      DatasourceResource.createView
      1. org.obiba.opal.web.magma.DatasourceResource.createView(DatasourceResource.java:199)
      1 frame
    4. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      2 frames