javax.ejb.EJBException

Oracle Community | sukram | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem with my StackTrace

    Oracle Community | 6 years ago | sukram
    javax.ejb.EJBException
  2. 0

    JSF CRUD application and entities

    Stack Overflow | 7 years ago | sass
    java.lang.IllegalArgumentException: The type [null] is not the expected [EntityType] for the key class [class jpa.entities.BusStop].
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Problema con JPA

    Google Groups | 6 years ago | Leandro
    java.lang.IllegalArgumentException: The type [null] is not the expected [EntityType] for the key class [class entidades.Pedido].
  5. 0

    db:: 3.67::HandleRequestInternal is not called in spring zd

    hivmr.com | 11 months ago
    java.lang.IllegalArgumentException: The type [null] is not the expected [EntityType] for the key class [class data.NewEntity].

    1 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

      The type [null] is not the expected [EntityType] for the key class [class Persistence.NewEntity].

      at org.eclipse.persistence.internal.jpa.metamodel.MetamodelImpl.entity()
    2. EclipseLink (non-OSGi)
      AbstractQueryImpl.from
      1. org.eclipse.persistence.internal.jpa.metamodel.MetamodelImpl.entity(MetamodelImpl.java:152)
      2. org.eclipse.persistence.internal.jpa.querydef.AbstractQueryImpl.from(AbstractQueryImpl.java:97)
      2 frames
    3. ejb
      AbstractFacade.findRange
      1. ejb.AbstractFacade.findRange(AbstractFacade.java:48)
      1 frame
    4. 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:597)
      4 frames
    5. Embedded GlassFish Web
      SystemInterceptorProxy.aroundInvoke
      1. org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1056)
      2. org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1128)
      3. com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5292)
      4. com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:615)
      5. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:797)
      6. com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:567)
      7. com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:157)
      8. com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:139)
      8 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    7. Embedded GlassFish Web
      EJBLocalObjectInvocationHandlerDelegate.invoke
      1. com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:858)
      2. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:797)
      3. com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:367)
      4. com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5264)
      5. com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5252)
      6. com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:190)
      7. com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:84)
      7 frames
    8. Unknown
      $Proxy158.findRange
      1. $Proxy158.findRange(Unknown Source)
      1 frame
    9. ejb
      __EJB31_Generated__NewEntityFacade__Intf____Bean__.findRange
      1. ejb.__EJB31_Generated__NewEntityFacade__Intf____Bean__.findRange(Unknown Source)
      1 frame
    10. jsf
      NewEntityController.getItems
      1. jsf.NewEntityController$1.createPageDataModel(NewEntityController.java:56)
      2. jsf.NewEntityController.getItems(NewEntityController.java:155)
      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:597)
      4 frames
    12. EL
      CompositeELResolver.getValue
      1. javax.el.BeanELResolver.getValue(BeanELResolver.java:302)
      2. javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
      2 frames
    13. JSF
      FacesCompositeELResolver.getValue
      1. com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
      1 frame
    14. EL
      ValueExpressionImpl.getValue
      1. com.sun.el.parser.AstValue.getValue(AstValue.java:116)
      2. com.sun.el.parser.AstValue.getValue(AstValue.java:163)
      3. com.sun.el.parser.AstEqual.getValue(AstEqual.java:54)
      4. com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:219)
      4 frames
    15. JSF
      TagValueExpression.getValue
      1. com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:102)
      1 frame
    16. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190)
      2. javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:416)
      3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1607)
      4. javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
      5. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
      6. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
      7. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
      8. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
      8 frames
    17. JSF
      LifecycleImpl.render
      1. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:380)
      2. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
      3. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
      4. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      5. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      5 frames
    18. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
      1 frame
    19. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
      4 frames
    20. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
      2 frames
    21. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
      2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
      3 frames
    22. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
      1 frame
    23. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:69)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
      13 frames
    24. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame