Does anyone know how the proxy generator works?

It looks like it it totally broken in head.  When I deploy any cmp2 bean 
I get the following exception:

22:27:28,336 ERROR [EntityContainer] Starting failed: 
org.jboss.util.NestedRuntimeException: Failed to create new proxy 
target; - nested throwable: (java.lang.N
ullPointerException)
22:27:28,341 WARN  [ServiceController] Problem starting service 
jboss.j2ee:jndiName=cmp2/readonly/Book,service=EJB
org.jboss.util.NestedRuntimeException: Failed to create new proxy 
target; - nested throwable: (java.lang.NullPointerException)
<snip/>
  + nested throwable:
java.lang.NullPointerException
         at 
org.jboss.proxy.compiler.ProxyCompiler.getCode(ProxyCompiler.java:174)
         at org.jboss.proxy.compiler.Runtime.makeProxyType(Runtime.java:66)
         at 
org.jboss.proxy.compiler.ProxyCompiler.<init>(ProxyCompiler.java:87)
         at 
org.jboss.proxy.compiler.Proxies$Impl.newTarget(Proxies.java:594)
         at org.jboss.proxy.compiler.Proxies.newTarget(Proxies.java:77)
         at org.jboss.proxy.compiler.Proxy.newProxyInstance(Proxy.java:49)
         at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateBeanClassInstanceCommand.<init>(JDBCCreateBeanClassInstanceCommand.java:52)
         at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateBeanClassInstanceCommand(JDBCCommandFactory.java:107)
         at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:436)
         at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:369)

I'm going to look at this, but if someone knows what is going on, I 
would appreciate the help.

-- 
xxxxxxxxxxxxxxxxxxxxxxxx
Dain Sundstrom
Chief Architect JBossCMP
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to