java.lang.IllegalStateException: Attempt to add a transformer failed - instrumentation is not initialized.

cayenne-user | Gilberto C Andrade | 9 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

    Re: jpa provider

    cayenne-user | 9 years ago | Gilberto C Andrade
    java.lang.IllegalStateException: Attempt to add a transformer failed - instrumentation is not initialized.
  2. 0

    Re: jpa provider

    cayenne-user | 9 years ago | Gilberto C Andrade
    java.lang.IllegalStateException: Attempt to add a transformer failed - instrumentation is not initialized.
  3. 0

    Re: jpa provider

    cayenne-user | 9 years ago | Gilberto C Andrade
    java.lang.IllegalStateException: Attempt to add a transformer failed - instrumentation is not initialized.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: jpa provider

    cayenne-user | 9 years ago | Gilberto C Andrade
    java.lang.IllegalStateException: Attempt to add a transformer failed - instrumentation is not initialized.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Attempt to add a transformer failed - instrumentation is not initialized.

      at org.apache.cayenne.jpa.instrument.InstrumentingUnit.addTransformer()
    2. org.apache.cayenne
      Provider.createEntityManagerFactory
      1. org.apache.cayenne.jpa.instrument.InstrumentingUnit.addTransformer(InstrumentingUnit.java:69)
      2. org.apache.cayenne.jpa.Provider.createContainerEntityManagerFactory(Provider.java:243)
      3. org.apache.cayenne.jpa.Provider.createEntityManagerFactory(Provider.java:194)
      3 frames
    3. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:110)
      2. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
      2 frames
    4. com.gilbertoca.gfi
      PessoaServiceTest.setUp
      1. com.gilbertoca.gfi.service.PessoaServiceTest.setUp(PessoaServiceTest.java:32)
      1 frame
    5. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame