Re: NPE in o.a.g.conn.JCAResourceImpl.getAdminObjects

2006-10-08 Thread Jacek Laskowski
On 10/8/06, anita kulshreshtha [EMAIL PROTECTED] wrote: A patch to fix this is attached. You'd be more successful if a jira issue is rised and the patch applied there. Or alternatively patch the code and see whether it works. If it does, commit it. Jacek -- Jacek Laskowski

NPE in o.a.g.conn.JCAResourceImpl.getAdminObjects

2006-10-07 Thread anita kulshreshtha
Hi All, I am getting NPE while running jconsole. I am not very familiar with this code, but I think the error is due to this code:public JCAAdminObject[] getAdminObjectInstances() { return (JCAAdminObject[]) adminObjects.toArray(new JCAAdminObject[connectionFactories.size()]); }The code should use

Re: NPE in o.a.g.conn.JCAResourceImpl.getAdminObjects

2006-10-07 Thread anita kulshreshtha
A patch to fix this is attached.ThanksAnita- Original Message From: anita kulshreshtha [EMAIL PROTECTED]To: dev@geronimo.apache.orgSent: Saturday, October 7, 2006 10:05:37 PMSubject: NPE in o.a.g.conn.JCAResourceImpl.getAdminObjectsHi All, I am getting NPE while running jconsole. I am not