java.lang.RuntimeException: Could not invoke defineClass! >

Oracle Community | nlmarco | 7 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

    @Remote EJB + JNDI supported in hybrid (JavaEE+OSGi) JAR?

    Oracle Community | 7 years ago | nlmarco
    java.lang.RuntimeException: Could not invoke defineClass! >
  2. 0

    javatalks.ru / Вызов EJB из модуля NetBeans

    javatalks.ru | 1 year ago
    java.lang.RuntimeException: Could not invoke defineClass!

    Root Cause Analysis

    1. java.lang.RuntimeException

      Could not invoke defineClass! >

      at com.sun.corba.ee.impl.orbutil.codegen.CodeGeneratorUtil.makeClass()
    2. glassfish-corba-codegen
      Wrapper._generate
      1. com.sun.corba.ee.impl.orbutil.codegen.CodeGeneratorUtil.makeClass(CodeGeneratorUtil.java:98)
      2. com.sun.corba.ee.spi.orbutil.codegen.Wrapper._generate(Wrapper.java:1102)
      3. com.sun.corba.ee.spi.orbutil.codegen.Wrapper._generate(Wrapper.java:1086)
      3 frames
    3. Embedded GlassFish Web
      RemoteBusinessObjectFactory.getObjectInstance
      1. com.sun.ejb.EJBUtils.generateAndLoad(EJBUtils.java:586)
      2. com.sun.ejb.EJBUtils.loadGeneratedRemoteBusinessClasses(EJBUtils.java:503)
      3. com.sun.ejb.EJBUtils.loadGeneratedRemoteBusinessClasses(EJBUtils.java:462)
      4. com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:410)
      5. com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:71)
      5 frames
    4. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
      1 frame
    5. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.impl.SerialContext.getObjectInstance(SerialContext.java:486)
      2. com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:451)
      2 frames
    6. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:392)
      2. javax.naming.InitialContext.lookup(InitialContext.java:392)
      2 frames
    7. org.nightlabs.test
      TestServlet.doGet
      1. org.nightlabs.test.osgi.web.TestServlet.processRequest(TestServlet.java:64)
      2. org.nightlabs.test.osgi.web.TestServlet.doGet(TestServlet.java:29)
      2 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
      2 frames
    9. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1518)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:171)
      4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:651)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:591)
      5 frames
    10. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:87)
      2 frames
    11. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:158)
      2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:321)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:222)
      3 frames
    12. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
      1 frame
    13. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:803)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:706)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:987)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:178)
      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:526)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:507)
      13 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame