java.lang.IllegalArgumentException: Object: model.Customer@4b4638 is not a known Entity type.

Stack Overflow | Tom | 5 months ago
  1. 0

    Issue persisting objects in Glassfish 4 with JPA - Object: is not a known Entity type

    Stack Overflow | 5 months ago | Tom
    java.lang.IllegalArgumentException: Object: model.Customer@4b4638 is not a known Entity type.
  2. 0

    Java - Date values used in Json + Jersey RESTful

    Stack Overflow | 3 years ago | Joe Almore
    java.lang.IllegalArgumentException: Object: null is not a known entity type.
  3. 0

    java.lang.IllegalArgumentException: Object: se.nackademin.BeachBoysSweden.entities.Book@79da4980 is not a known entity type

    Stack Overflow | 4 years ago | Gideon Oduro
    java.lang.IllegalArgumentException: Object: se.nackademin.BeachBoysSweden.entities.Book@73b9c795 is not a known entity type.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JPA User Registration

    Stack Overflow | 5 years ago | Champaneriya Raj
    java.lang.IllegalArgumentException: Object: BusinessFacade.Entities.SystemUsers[ userName=raj ] is not a known entity type.
  6. 0

    JPA exception: Object .. [..] is not a known entity type

    Stack Overflow | 11 months ago | mavi
    java.lang.IllegalArgumentException: Object: User [username=maviuan, regDate=Fri Jan 01 16:21:15 GMT+02:00 2016, iTrade=130, id=0] is not a known Entity type.

    3 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

      Object: model.Customer@4b4638 is not a known Entity type.

      at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist()
    2. EclipseLink (non-OSGi)
      EntityManagerImpl.persist
      1. org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist(UnitOfWorkImpl.java:4226)
      2. org.eclipse.persistence.internal.jpa.EntityManagerImpl.persist(EntityManagerImpl.java:507)
      2 frames
    3. Container Common
      EntityManagerWrapper.persist
      1. com.sun.enterprise.container.common.impl.EntityManagerWrapper.persist(EntityManagerWrapper.java:287)
      1 frame
    4. controllers
      CustomerController.save
      1. controllers.CustomerController.save(CustomerController.java:57)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. EL
      MethodExpressionImpl.invoke
      1. javax.el.ELUtil.invokeMethod(ELUtil.java:332)
      2. javax.el.BeanELResolver.invoke(BeanELResolver.java:537)
      3. javax.el.CompositeELResolver.invoke(CompositeELResolver.java:256)
      4. com.sun.el.parser.AstValue.invoke(AstValue.java:283)
      5. com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)
      5 frames
    7. Weld Implementation
      WeldMethodExpression.invoke
      1. org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
      2. org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
      2 frames
    8. JSF
      TagMethodExpression.invoke
      1. com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
      1 frame
    9. JavaEE 7
      MethodBindingMethodExpressionAdapter.invoke
      1. javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
      1 frame
    10. JSF
      ActionListenerImpl.processAction
      1. com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
      1 frame
    11. JavaEE 7
      UIViewRoot.processApplication
      1. javax.faces.component.UICommand.broadcast(UICommand.java:315)
      2. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
      3. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
      3 frames
    12. JSF
      LifecycleImpl.execute
      1. com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      3. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
      3 frames
    13. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
      1 frame
    14. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318)
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
      4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
      5 frames
    15. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
      1 frame
    16. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
      2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:416)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:283)
      3 frames
    17. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
      2 frames
    18. Grizzly Server
      HttpServerFilter.handleRead
      1. org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
      2. org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
      3. org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
      3 frames
    19. Grizzly
      AbstractThreadPool$Worker.run
      1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283)
      3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
      4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132)
      5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111)
      6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
      7. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536)
      8. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
      9. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
      10. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
      11. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
      12. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
      13. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
      13 frames
    20. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame