javax.ws.rs.WebApplicationException: java.lang.Exception: Trying to create an entity using generic create

Oracle Community | huggy77 | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [GLASSFISH-15033] Problem clicking on Nodes in admin GUI after upgrade of V2.1.1 domain developer profile to V3.1 - Java.net JIRA

    java.net | 1 year ago
    javax.ws.rs.WebApplicationException: java.lang.Exception: Trying to create an entity using generic create
  2. 0

    3.1 deploy fails with:     PWC1406: Servlet.service() for servlet FacesServlet threw exception java.lang.RuntimeException: java.

    Oracle Community | 6 years ago | huggy77
    javax.ws.rs.WebApplicationException: java.lang.Exception: Trying to create an entity using generic create

    Root Cause Analysis

    1. java.lang.Exception

      Trying to create an entity using generic create

      at org.glassfish.admin.rest.resources.TemplateResource.setParentAndTagName()
    2. GlassFish Admin
      TemplateResource.setParentAndTagName
      1. org.glassfish.admin.rest.resources.TemplateResource.setParentAndTagName(TemplateResource.java:291)
      1 frame
    3. org.glassfish.admin
      DomainResource.getNodesResource
      1. org.glassfish.admin.rest.resources.generatedASM.DomainResource.getNodesResource(Unknown Source)
      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. Jersey
      WebApplicationImpl.handleRequest
      1. com.sun.jersey.server.impl.uri.rules.SubLocatorRule.invokeSubLocator(SubLocatorRule.java:157)
      2. com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:97)
      3. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
      4. com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:86)
      5. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
      6. com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:74)
      7. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1347)
      8. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1279)
      9. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1229)
      10. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1219)
      10 frames
    6. jersey-bundle
      GrizzlyContainer.service
      1. com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:180)
      2. com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:145)
      2 frames
    7. GlassFish Admin
      RestAdapter.service
      1. org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:180)
      1 frame
    8. Grizzly WS
      GrizzlyAdapter.service
      1. com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
      1 frame
    9. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
      2 frames
    10. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      13 frames
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame