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

Oracle Community | huggy77 | 6 years ago
  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
  3. 0

    Enabling Flight Recorder in Tomcat causes "Error when initializing JFR"

    Stack Overflow | 1 year ago | snowe2010
    java.lang.Exception: Unable to create JFR repository directory using base location (/var/cache/tomcat6/temp).
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Create an install like this. <listeners> <listener installer="LateShortcutInstallListener" /> </listeners> <panel classname="CheckedHelloPanel"/> <panel classname="LicencePanel"/> <panel classname="TargetPanel"/> <panel classname="PacksPanel"/> <panel classname="ShortcutPanel"/> <panel classname="SummaryPanel"/> <panel classname="InstallPanel"/> <panel classname="SimpleFinishPanel"/> When you reach ShortcutPanel press back and then next. The panel will not show correctly and the following stacktrace is provided java.lang.Exception: could not get an instance of IShellLink, failed to co-create instance at com.izforge.izpack.util.os.ShellLink.initialize(ShellLink.java:536) at com.izforge.izpack.util.os.ShellLink.<init>(ShellLink.java:374) at com.izforge.izpack.util.os.Win_Shortcut.initialize(Win_Shortcut.java:82) at com.izforge.izpack.panels.ShortcutPanel.panelActivate(ShortcutPanel.java:812) at com.izforge.izpack.installer.InstallerFrame.switchPanel(InstallerFrame.java:839) at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1451) at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1419) at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.navigate(InstallerFrame.java:1582) at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.access$0(InstallerFrame.java:1577) at com.izforge.izpack.installer.InstallerFrame$NavigationHandler$1.run(InstallerFrame.java:1566) at java.lang.Thread.run(Unknown Source) java.lang.NullPointerException at com.izforge.izpack.util.os.Win_Shortcut.getProgramsFolder(Win_Shortcut.java:679) at com.izforge.izpack.panels.ShortcutPanel.getProgramsFolder(ShortcutPanel.java:915) at com.izforge.izpack.panels.ShortcutPanel.panelActivate(ShortcutPanel.java:826) at com.izforge.izpack.installer.InstallerFrame.switchPanel(InstallerFrame.java:839) at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1451) at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1419) at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.navigate(InstallerFrame.java:1582) at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.access$0(InstallerFrame.java:1577) at com.izforge.izpack.installer.InstallerFrame$NavigationHandler$1.run(InstallerFrame.java:1566) at java.lang.Thread.run(Unknown Source) Maybe only checking for shortcut field not initialized solves the problem, but I didn't go that far in finding what is causing the problem.

    JIRA | 6 years ago | Marcelo Marzola Bossoni
    java.lang.Exception: could not get an instance of IShellLink, failed to co-create instance
  6. 0

    Legacy issues from Codehaus JIRA

    izpack.org | 6 months ago
    java.lang.Exception: could not get an instance of IShellLink, failed to co-create instance

    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.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