Re: [libvirt] Release 0.4.1 of libvirt-java

2010-01-29 Thread Bryan Kearney
Great. I will work on a 0.4.2 release today and send it out. -- bk On 01/29/2010 10:37 AM, frederic.dangt...@orange-ftgroup.com wrote: Yes it works. No longer any NPE when I invoke getSchedulerParameters() on a Xen domain: I can retrieve both the scheduling cap and weight. I guess the problem p

Re: [libvirt] Release 0.4.1 of libvirt-java

2010-01-29 Thread frederic.dangtran
Yes it works. No longer any NPE when I invoke getSchedulerParameters() on a Xen domain: I can retrieve both the scheduling cap and weight. I guess the problem pops up only when there are more than 1 sched parameter to return with the unmarshalling of the second one going wrong. Frederic On Ja

Re: [libvirt] Release 0.4.1 of libvirt-java

2010-01-29 Thread Bryan Kearney
I posted a patched jar file at: http://bkearney.fedorapeople.org/libvirt-0.4.1-PATCH.jar The only change was making the struct into a union per your comments. Can you let me now if this solves you NPE? It passes my tests. -- bk On 01/27/2010 08:40 PM, Bryan Kearney wrote: Alright.. let me g

Re: [libvirt] Release 0.4.1 of libvirt-java

2010-01-27 Thread Bryan Kearney
Alright.. let me give it a try. I was not seeing the NPE in the tests I ran. -- bk On 01/25/2010 01:15 PM, frederic.dangt...@orange-ftgroup.com wrote: On Jan 18, 2010, at 3:44 PM, Bryan Kearney wrote: I have just released 0.4.1 of libvirt java. There are 2 main items in this release: - Bett

Re: [libvirt] Release 0.4.1 of libvirt-java

2010-01-25 Thread frederic.dangtran
On Jan 18, 2010, at 3:44 PM, Bryan Kearney wrote: > I have just released 0.4.1 of libvirt java. There are 2 main items in this > release: > > - Better null checking in for Scheduled Parameters which should fix the > issues reported on the list. > - Error Callbacks to provide better handling of

[libvirt] Release 0.4.1 of libvirt-java

2010-01-18 Thread Bryan Kearney
I have just released 0.4.1 of libvirt java. There are 2 main items in this release: - Better null checking in for Scheduled Parameters which should fix the issues reported on the list. - Error Callbacks to provide better handling of errors encountered by libvirt (virConnSetErrorFunc and virSet