try {
// castor descriptor resolver magic
descriptor = this.getClass().getClassLoader().loadClass(this.getClass().getName()+"Descriptor");
- descimpl = (XMLClassDescriptorImpl) descriptor.getConstructor(null).newInstance(null);
+ descimpl = (XMLClassDescriptorImpl) descriptor.getConstructor((Class[])null).newInstance((Object[])null);
} catch (Exception e) {
log.fatal("Source Generation Error!: Couldn't resolve descriptor for "
+this.getClass().getName()
if (o!=null) {
// XMLClassDescriptorImpl fclasdes = (XMLClassDescriptorImpl) o;
String methname = "get"+fields[i].getFieldName();
- Method fgetmeth = this.getClass().getMethod(methname,null);
+ Method fgetmeth = this.getClass().getMethod(methname,(Class[])null);
if (fgetmeth!=null) {
- Object fval = fgetmeth.invoke(this,null);
+ Object fval = fgetmeth.invoke(this,(Object[])null);
if (fval!=null)
rf = (Vobject) fval;
} else {