Thanks Scott. I think the proxy code needs a good rewrite. It seems to use a lot complicated code and array tricks because the writer decided not to use the collections APIs.
If we can simplify this code, I think we should change our usage of java.util.Proxy over to our generator, as ours is easier in debugging because it names classes my.ParentClass$Proxy instead of $Proxy. -dain Hiram Chirino wrote: > I'll look into it right away. > Regards, > Hiram > > >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED]]On Behalf Of Scott >>M Stark >>Sent: Friday, September 20, 2002 7:10 AM >>To: [EMAIL PROTECTED] >>Subject: Re: [JBoss-dev] Proxy generator broken >> >> >>I fixed the immeadiate problem which was causing the NPE, but >>these recent changes >>still need to be validated against the full testsuite. >> >>xxxxxxxxxxxxxxxxxxxxxxxx >>Scott Stark >>Chief Technology Officer >>JBoss Group, LLC >>xxxxxxxxxxxxxxxxxxxxxxxx >> >>----- Original Message ----- >>From: "Scott M Stark" <[EMAIL PROTECTED]> >>To: <[EMAIL PROTECTED]> >>Sent: Friday, September 20, 2002 3:41 AM >>Subject: Re: [JBoss-dev] Proxy generator broken >> >> >> >>>There have been a number of changes to the proxy compiler code >> >>in the past >> >>>7 days by Hiram. Were these changes tested against the full >> >>testsuite? Also, >> >>>the formatting of these changes is screwed up. Please test and >> >>fix both the >> >>>problem and the formatting. >>> >>>xxxxxxxxxxxxxxxxxxxxxxxx >>>Scott Stark >>>Chief Technology Officer >>>JBoss Group, LLC >>>xxxxxxxxxxxxxxxxxxxxxxxx >>> >>>----- Original Message ----- >>>From: "Dain Sundstrom" <[EMAIL PROTECTED]> >>>To: "JBoss-dev" <[EMAIL PROTECTED]> >>>Sent: Thursday, September 19, 2002 9:24 PM >>>Subject: [JBoss-dev] Proxy generator broken >>> >>> >>> >>>>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.createCreateBean >>ClassInstanceCommand(JDBCCommandFactory.java:107) >> >>>> at >>>> >>> >>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager( >>JDBCStoreManager.java:436) >> >>>> at >>>> >>> >>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreMan >>ager.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
