java.lang.IllegalStateException: cannot change the configuration while the transaction manager is running

Stack Overflow | Ivano Scifoni | 6 months ago
  1. 0

    Configuring bitronix transaction manager on spring boot to connect oracle db

    Stack Overflow | 6 months ago | Ivano Scifoni
    java.lang.IllegalStateException: cannot change the configuration while the transaction manager is running
  2. 0

    Creating bitronix transaction manager in spring-boot

    Stack Overflow | 2 years ago | mangusbrother
    java.lang.IllegalStateException: cannot change the configuration while the transaction manager is running
  3. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    The cursor might not be initalized.
  6. 0
    In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      cannot change the configuration while the transaction manager is running

      at bitronix.tm.Configuration.checkNotStarted()
    2. Bitronix Transaction Manager :: Core
      Configuration.setLogPart1Filename
      1. bitronix.tm.Configuration.checkNotStarted(Configuration.java:699)[btm-2.1.4.jar:2.1.4]
      2. bitronix.tm.Configuration.setLogPart1Filename(Configuration.java:166)[btm-2.1.4.jar:2.1.4]
      2 frames
    3. org.springframework.boot
      BitronixJtaConfiguration$$EnhancerBySpringCGLIB$$a487082a$$FastClassBySpringCGLIB$$c66fa53d.invoke
      1. org.springframework.boot.autoconfigure.transaction.jta.BitronixJtaConfiguration.bitronixConfiguration(BitronixJtaConfiguration.java:69)[spring-boot-autoconfigure-1.3.7.RELEASE.jar:1.3.7.RELEASE]
      2. org.springframework.boot.autoconfigure.transaction.jta.BitronixJtaConfiguration$$EnhancerBySpringCGLIB$$a487082a.CGLIB$bitronixConfiguration$1(<generated>)[spring-boot-autoconfigure-1.3.7.RELEASE.jar:1.3.7.RELEASE]
      3. org.springframework.boot.autoconfigure.transaction.jta.BitronixJtaConfiguration$$EnhancerBySpringCGLIB$$a487082a$$FastClassBySpringCGLIB$$c66fa53d.invoke(<generated>)[spring-boot-autoconfigure-1.3.7.RELEASE.jar:1.3.7.RELEASE]
      3 frames
    4. Spring Core
      MethodProxy.invokeSuper
      1. org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      1 frame
    5. Spring Context
      ConfigurationClassEnhancer$BeanMethodInterceptor.intercept
      1. org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:355)[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      1 frame
    6. org.springframework.boot
      BitronixJtaConfiguration$$EnhancerBySpringCGLIB$$a487082a.bitronixConfiguration
      1. org.springframework.boot.autoconfigure.transaction.jta.BitronixJtaConfiguration$$EnhancerBySpringCGLIB$$a487082a.bitronixConfiguration(<generated>)[spring-boot-autoconfigure-1.3.7.RELEASE.jar:1.3.7.RELEASE]
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
      4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
      4 frames
    8. Spring Beans
      SimpleInstantiationStrategy.instantiate
      1. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      1 frame