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.
  1. 0

    Cant persist data: A JTA EntityManager cannot use getTransaction()

    Stack Overflow | 1 year ago | e p
    java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction() 19:31:51,508 ERROR [stderr] (default task-6) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.getTransaction(AbstractEntityManagerImpl.java:1368) 19:31:51,509 ERROR [stderr] (default task-6) at com.xyz.services.MyClass.getData(MyClass.java:42) 19:31:51,509 ERROR [stderr] (default task-6) at com.xyz.services.MyClass$Proxy$_$$_WeldClientProxy.getData(Unknown Source) 19:31:51,509 ERROR [stderr] (default task-6) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Error upgraded to SonarQube 5.5

    Google Groups | 12 months ago | Unknown author
    java.lang.IllegalStateException: com.microsoft.sqlserver.jdbc. >> SQLServerException: Cannot find the object "database_firewall_rules" >> because it does not exist or you do not have permissions. >> at org.sonar.db.charset.DatabaseCharsetChecker.check( >> DatabaseCharsetChecker.java:65) ~[sonar-db-5.5.jar:na] >> at org.sonar.server.db.CheckDatabaseCharsetAtStartup.check( >> CheckDatabaseCharsetAtStartup.java:52) ~[sonar-server-5.5.jar:na] >> at org.sonar.server.db.CheckDatabaseCharsetAtStartup.start( >> CheckDatabaseCharsetAtStartup.java:42) ~[sonar-server-5.5.jar:na] >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    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