javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.cache.CacheException: org.jboss.util.NestedRuntimeException: could not get a field value by reflection getter of de.aep.inventory.db.StockPK.stockId; - nested throwable: (org.hibernate.PropertyAccessException: could not get a field value by reflection getter of de.aep.inventory.db.StockPK.stockId)

hivmr.com | 7 months 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

    db:: 4.20::Dynamically call a getter method with reflection? mx

    hivmr.com | 7 months ago
    javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.cache.CacheException: org.jboss.util.NestedRuntimeException: could not get a field value by reflection getter of de.aep.inventory.db.StockPK.stockId; - nested throwable: (org.hibernate.PropertyAccessException: could not get a field value by reflection getter of de.aep.inventory.db.StockPK.stockId)
  2. 0

    i got this exception when i am using java reflection api

    Stack Overflow | 6 years ago | Don
    java.lang.IllegalArgumentException
  3. 0

    Selective copy of fields from one instance to another (same type)

    Oracle Community | 1 decade ago | 843798
    java.lang.IllegalArgumentException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Accessing Outer Class (Java in General forum at JavaRanch)

    coderanch.com | 1 year ago
    java.lang.IllegalArgumentException
  6. 0

    IllegalArgumentException in org.eclipse.buckminster.core.helpers.FilterUtils

    Eclipse Bugzilla | 8 years ago | bugs.eclipse.org
    java.lang.IllegalArgumentException

  1. balintn 2 times, last 2 months ago
20 unregistered visitors
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

    No message provided

    at sun.reflect.UnsafeFieldAccessorImpl.ensureObj()
  2. Java RT
    Field.get
    1. sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:37)
    2. sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:18)
    3. java.lang.reflect.Field.get(Field.java:357)
    3 frames
  3. Hibernate
    CacheKey.equals
    1. org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(DirectPropertyAccessor.java:32)
    2. org.hibernate.tuple.component.AbstractComponentTuplizer.getPropertyValue(AbstractComponentTuplizer.java:64)
    3. org.hibernate.tuple.component.AbstractComponentTuplizer.getPropertyValues(AbstractComponentTuplizer.java:70)
    4. org.hibernate.tuple.component.PojoComponentTuplizer.getPropertyValues(PojoComponentTuplizer.java:83)
    5. org.hibernate.type.ComponentType.getPropertyValues(ComponentType.java:353)
    6. org.hibernate.type.ComponentType.isEqual(ComponentType.java:123)
    7. org.hibernate.cache.CacheKey.equals(CacheKey.java:51)
    7 frames
  4. Dough Lea's util.concurrent package
    ConcurrentReaderHashMap.get
    1. EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.eq(ConcurrentReaderHashMap.java:309)
    2. EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.get(ConcurrentReaderHashMap.java:443)
    2 frames
  5. org.jboss.cache
    TreeCache.get
    1. org.jboss.cache.Node.getOrCreateChild(Node.java:271)
    2. org.jboss.cache.interceptors.PessimisticLockInterceptor.lock(PessimisticLockInterceptor.java:214)
    3. org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:168)
    4. org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41)
    5. org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:35)
    6. org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:4172)
    7. org.jboss.cache.TreeCache.get(TreeCache.java:2728)
    8. org.jboss.cache.TreeCache.get(TreeCache.java:2711)
    8 frames
  6. Hibernate
    TransactionalCache.get
    1. org.hibernate.cache.TreeCache.read(TreeCache.java:54)
    2. org.hibernate.cache.TransactionalCache.get(TransactionalCache.java:31)
    2 frames
  7. Hibernate
    SessionImpl.get
    1. org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:472)
    2. org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:356)
    3. org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:137)
    4. org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:193)
    5. org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:101)
    6. org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
    7. org.hibernate.impl.SessionImpl.get(SessionImpl.java:815)
    8. org.hibernate.impl.SessionImpl.get(SessionImpl.java:808)
    8 frames
  8. Hibernate EJB
    AbstractEntityManagerImpl.find
    1. org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:174)
    1 frame
  9. org.jboss.ejb3
    TransactionScopedEntityManager.find
    1. org.jboss.ejb3.entity.TransactionScopedEntityManager.find(TransactionScopedEntityManager.java:164)
    1 frame
  10. de.aep.inventory
    InventoryBean.getStockById
    1. de.aep.inventory.db.InventoryDAO.getStockById(InventoryDAO.java:39)
    2. de.aep.inventory.InventoryBean.getStockById(InventoryBean.java:58)
    2 frames
  11. 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
  12. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
    1 frame
  13. org.jboss.ejb3
    EJB3InterceptorsInterceptor.invoke
    1. org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
    2. org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
    2 frames
  14. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  15. org.jboss.ejb3
    TransactionScopedEntityManagerInterceptor.invoke
    1. org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
    1 frame
  16. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  17. org.jboss.ejb3
    AllowedOperationsInterceptor.invoke
    1. org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
    1 frame
  18. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  19. org.jboss.aspects
    TxInterceptor$Required.invoke
    1. org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
    2. org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
    2 frames
  20. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  21. org.jboss.aspects
    TxPropagationInterceptor.invoke
    1. org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
    1 frame
  22. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  23. org.jboss.ejb3
    StatelessInstanceInterceptor.invoke
    1. org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
    1 frame
  24. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  25. org.jboss.aspects
    AuthenticationInterceptor.invoke
    1. org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
    1 frame
  26. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  27. org.jboss.ejb3
    ENCPropagationInterceptor.invoke
    1. org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
    1 frame
  28. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  29. org.jboss.ejb3
    AsynchronousInterceptor.invoke
    1. org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
    1 frame
  30. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  31. org.jboss.ejb3
    IsLocalInterceptor.invoke
    1. org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:225)
    2. org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:55)
    2 frames
  32. org.jboss.aop
    MethodInvocation.invokeNext
    1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    1 frame
  33. org.jboss.ejb3
    StatelessRemoteProxy.invoke
    1. org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
    1 frame
  34. Unknown
    $Proxy103.getStockById
    1. $Proxy103.getStockById(Unknown Source)
    1 frame
  35. de.aep.inventory
    InventoryAction.stockEdit
    1. de.aep.inventory.ui.InventoryAction.stockEdit(InventoryAction.java:127)
    1 frame
  36. 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
  37. struts
    ActionDispatcher.execute
    1. org.apache.struts.actions.ActionDispatcher.dispatchMethod(ActionDispatcher.java:359)
    2. org.apache.struts.actions.ActionDispatcher.dispatchMethod(ActionDispatcher.java:333)
    3. org.apache.struts.actions.ActionDispatcher.execute(ActionDispatcher.java:220)
    3 frames
  38. de.aep.inventory
    InventoryAction.execute
    1. de.aep.inventory.ui.InventoryAction.execute(InventoryAction.java:47)
    1 frame
  39. Struts Core
    ActionCommandBase.execute
    1. org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:53)
    2. org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:64)
    3. org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)
    3 frames
  40. Commons Chain
    ChainBase.execute
    1. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
    2. org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
    3. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
    3 frames
  41. Struts Core
    ComposableRequestProcessor.process
    1. org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280)
    1 frame
  42. struts
    ActionServlet.doPost
    1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
    2. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
    2 frames
  43. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    2 frames
  44. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  45. JBoss Application Server Tomcat
    ReplyHeaderFilter.doFilter
    1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    1 frame
  46. Glassfish Core
    StandardContextValve.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    4 frames
  47. JBoss Application Server Tomcat
    JaccContextValve.invoke
    1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
    2. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
    2 frames
  48. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    4 frames
  49. Grizzly HTTP
    MasterSlaveWorkerThread.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    4. org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    4 frames
  50. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame