javax.ejb.EJBException: Error instantiating embedded server

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Weblogic 12c and EmbeddedContainer
    via by 964956,
  • WLST in embedded mode
    via by 26111982,
  • Incompatibility with Tomcat 8
    via GitHub by jrwiebe
    ,
  • Nullpointer CreateProjectDialog
    via GitHub by Jansu
    ,
  • Netbeans junit tests
    via by elliot,
    • javax.ejb.EJBException: Error instantiating embedded server at weblogic.ejb.embeddable.EJBContainerImpl.initializeServer(EJBContainerImpl.java:99) at weblogic.ejb.embeddable.EJBContainerImpl.<init>(EJBContainerImpl.java:77) at weblogic.ejb.embeddable.EJBContainerProvider.createEJBContainer(EJBContainerProvider.java:17) at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102) at br.com.samaiait.poc.service.DocumentoFisicoLocalTest.setUpClass(DocumentoFisicoLocalTest.java:30) Caused by: weblogic.server.embed.EmbeddedServerException: Error creating default domain at weblogic.server.embed.internal.DomainConfig.createConfig(DomainConfig.java:235) at weblogic.server.embed.internal.DomainConfig.getDefaultDomain(DomainConfig.java:143) at weblogic.server.embed.internal.DomainConfig.ensureInitialized(DomainConfig.java:66) at weblogic.server.embed.internal.EmbeddedServerImpl.ensureStarted(EmbeddedServerImpl.java:152) at weblogic.server.embed.internal.EmbeddedServerImpl.start(EmbeddedServerImpl.java:106) at weblogic.ejb.embeddable.EJBContainerImpl.initializeServer(EJBContainerImpl.java:96) ... 5 more Caused by: java.lang.NullPointerException at java.io.File.<init>(File.java:251) at weblogic.management.utils.PDevHelper.getUpgradeLaunchLocation(PDevHelper.java:79) at weblogic.management.utils.PDevHelper.getPDevClassLoader(PDevHelper.java:38) at weblogic.management.internal.CIEDomainGenerator.validateConfigFramework(CIEDomainGenerator.java:18) at weblogic.server.embed.internal.FullEmbeddedServerProvider.lookupDomainGenerator(FullEmbeddedServerProvider.java:87) at weblogic.server.embed.internal.EmbeddedServerProvider.createDefaultDomain(EmbeddedServerProvider.java:138) at weblogic.server.embed.internal.DomainConfig.createConfig(DomainConfig.java:233) ... 11 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Axelo
    Axelo6 times, last one,
    Aravind
    Aravind2 times, last one,
    jf-ast
    jf-ast8 times, last one,
    33 more bugmates