java.lang.RuntimeException

Could not invoke defineClass!

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web15920

  • via Oracle Community by joseguerra, 11 months ago
    Could not invoke defineClass!
  • via Oracle Community by vichaiar, 1 month ago
    Could not invoke defineClass!]
  • via Oracle Community by 843830, 1 year ago
    Could not invoke defineClass!]
  • Stack trace

    • java.lang.RuntimeException: Could not invoke defineClass! at com.sun.corba.ee.impl.orbutil.codegen.CodeGeneratorUtil.makeClass(CodeGeneratorUtil.java:98) at com.sun.corba.ee.spi.orbutil.codegen.Wrapper._generate(Wrapper.java:1102) at com.sun.corba.ee.spi.orbutil.codegen.Wrapper._generate(Wrapper.java:1086) at com.sun.ejb.EJBUtils.generateAndLoad(EJBUtils.java:586) at com.sun.ejb.EJBUtils.loadGeneratedRemoteBusinessClasses(EJBUtils.java:503) at com.sun.ejb.EJBUtils.loadGeneratedRemoteBusinessClasses(EJBUtils.java:462) at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:410) at com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:71) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at com.sun.enterprise.naming.impl.SerialContext.getObjectInstance(SerialContext.java:486) at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:451) at javax.naming.InitialContext.lookup(InitialContext.java:392) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.nightlabs.test.osgi.web.TestServlet.processRequest(TestServlet.java:64) at org.nightlabs.test.osgi.web.TestServlet.doGet(TestServlet.java:29) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at javax.servlet.http.HttpServlet.service(HttpServlet.java:844) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1518) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:171) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:651) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:591) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:87) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:158) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:321) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:222) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:803) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:706) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:987) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:178) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:526) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:507) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.corba.ee.impl.orbutil.codegen.CodeGeneratorUtil.makeClass(CodeGeneratorUtil.java:95)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    11 times, 4 days ago
    3 times, 1 month ago
    2 times, 1 month ago
    Once, 1 month ago
    Unknown user
    2 times, 3 months ago
    103 more bugmates