java.lang.IllegalArgumentException: Null id Produto.cd_produto

cayenne-user | Gilberto C Andrade | 9 years ago
  1. 0

    Re: jpa provider

    cayenne-user | 9 years ago | Gilberto C Andrade
    java.lang.IllegalArgumentException: Null id Produto.cd_produto
  2. 0

    Re: [SOLVED] Re: jpa provider

    cayenne-user | 9 years ago | Gilberto C Andrade
    java.lang.IllegalArgumentException: Null id Produto.cd_produto
  3. 0

    Re: jpa provider

    cayenne-user | 9 years ago | Gilberto C Andrade
    java.lang.IllegalArgumentException: Null id Produto.cd_produto >>> at >>> org.apache.cayenne.jpa.bridge.DataMapConverter$JpaJoinColumnVisitor.onStartNode(DataMapConverter.java:454) >>> >>> at >>> org.apache.cayenne.util.TraversalUtil.traverse(TraversalUtil.java:92) >>> at >>> org.apache.cayenne.util.TraversalUtil.traverse(TraversalUtil.java:113) >>> at >>> org.apache.cayenne.util.TraversalUtil.traverse(TraversalUtil.java:113) >>> at >>> org.apache.cayenne.util.TraversalUtil.traverse(TraversalUtil.java:118) >>> at >>> org.apache.cayenne.util.TraversalUtil.traverse(TraversalUtil.java:113) >>> at >>> org.apache.cayenne.util.TraversalUtil.traverse(TraversalUtil.java:80) >>> at >>> org.apache.cayenne.jpa.bridge.DataMapConverter.toDataMap(DataMapConverter.java:95) >>> >>> at >>> org.apache.cayenne.jpa.Provider.createContainerEntityManagerFactory(Provider.java:248) >>> >>> at >>> org.apache.cayenne.jpa.Provider.createEntityManagerFactory(Provider.java:194) >>> >>> at >>> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83) >>> >>> at >>> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60) >>> >>> at >>> com.gilbertoca.gfi.service.PessoaServiceTest.setUp(PessoaServiceTest.java:32) >>> >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Action Metrics in OSB Console - Error

    Oracle Community | 4 years ago | Balaji885
    java.lang.IllegalArgumentException: null 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.IllegalArgumentException

      Null id Produto.cd_produto

      at org.apache.cayenne.jpa.bridge.DataMapConverter$JpaJoinColumnVisitor.onStartNode()
    2. org.apache.cayenne
      Provider.createEntityManagerFactory
      1. org.apache.cayenne.jpa.bridge.DataMapConverter$JpaJoinColumnVisitor.onStartNode(DataMapConverter.java:454)
      2. org.apache.cayenne.util.TraversalUtil.traverse(TraversalUtil.java:92)
      3. org.apache.cayenne.util.TraversalUtil.traverse(TraversalUtil.java:113)
      4. org.apache.cayenne.util.TraversalUtil.traverse(TraversalUtil.java:113)
      5. org.apache.cayenne.util.TraversalUtil.traverse(TraversalUtil.java:118)
      6. org.apache.cayenne.util.TraversalUtil.traverse(TraversalUtil.java:113)
      7. org.apache.cayenne.util.TraversalUtil.traverse(TraversalUtil.java:80)
      8. org.apache.cayenne.jpa.bridge.DataMapConverter.toDataMap(DataMapConverter.java:95)
      9. org.apache.cayenne.jpa.Provider.createContainerEntityManagerFactory(Provider.java:248)
      10. org.apache.cayenne.jpa.Provider.createEntityManagerFactory(Provider.java:194)
      10 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
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames