Program: 68883
Project: 68883
Buggy source:
/** 
 * Build and return a new instance, using the default (zero-argument) constructor.
 */
protected Object buildNewInstanceUsingDefaultConstructor() throws DescriptorException {
  try {
    if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()) {
      try {
        return AccessController.doPrivileged(new PrivilegedInvokeConstructor(this.getDefaultConstructor(),(Object[])null));
      }
 catch (      PrivilegedActionException exception) {
        Exception throwableException=exception.getException();
        if (throwableException instanceof InvocationTargetException) {
          throw DescriptorException.targetInvocationWhileConstructorInstantiationOfFactory(this.getDescriptor(),throwableException);
        }
 else         if (throwableException instanceof IllegalAccessException) {
          throw DescriptorException.illegalAccessWhileConstructorInstantiationOfFactory(this.getDescriptor(),throwableException);
        }
 else {
          throw DescriptorException.instantiationWhileConstructorInstantiationOfFactory(this.getDescriptor(),throwableException);
        }
      }
    }
 else {
      if (this.defaultConstructor == null) {
        getDefaultConstructor();
      }
      return this.defaultConstructor.newInstance((Object[])null);
    }
  }
 catch (  InvocationTargetException exception) {
    throw DescriptorException.targetInvocationWhileConstructorInstantiation(this.getDescriptor(),exception);
  }
catch (  IllegalAccessException exception) {
    throw DescriptorException.illegalAccessWhileConstructorInstantiation(this.getDescriptor(),exception);
  }
catch (  InstantiationException exception) {
    throw DescriptorException.instantiationWhileConstructorInstantiation(this.getDescriptor(),exception);
  }
catch (  NoSuchMethodError exception) {
    throw DescriptorException.noSuchMethodWhileConstructorInstantiation(this.getDescriptor(),exception);
  }
catch (  NullPointerException exception) {
    throw DescriptorException.nullPointerWhileConstructorInstantiation(this.getDescriptor(),exception);
  }
}

Fixed version (ground truth):
/** 
 * Build and return a new instance, using the default (zero-argument) constructor.
 */
protected Object buildNewInstanceUsingDefaultConstructor() throws DescriptorException {
  try {
    if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()) {
      try {
        return AccessController.doPrivileged(new PrivilegedInvokeConstructor(getDefaultConstructor(),(Object[])null));
      }
 catch (      PrivilegedActionException exception) {
        Exception throwableException=exception.getException();
        if (throwableException instanceof InvocationTargetException) {
          throw DescriptorException.targetInvocationWhileConstructorInstantiation(getDescriptor(),throwableException);
        }
 else         if (throwableException instanceof IllegalAccessException) {
          throw DescriptorException.illegalAccessWhileConstructorInstantiation(getDescriptor(),throwableException);
        }
 else {
          throw DescriptorException.instantiationWhileConstructorInstantiation(getDescriptor(),throwableException);
        }
      }
    }
 else {
      if (this.defaultConstructor == null) {
        getDefaultConstructor();
      }
      return this.defaultConstructor.newInstance((Object[])null);
    }
  }
 catch (  InvocationTargetException exception) {
    throw DescriptorException.targetInvocationWhileConstructorInstantiation(getDescriptor(),exception);
  }
catch (  IllegalAccessException exception) {
    throw DescriptorException.illegalAccessWhileConstructorInstantiation(getDescriptor(),exception);
  }
catch (  InstantiationException exception) {
    throw DescriptorException.instantiationWhileConstructorInstantiation(getDescriptor(),exception);
  }
catch (  NoSuchMethodError exception) {
    throw DescriptorException.noSuchMethodWhileConstructorInstantiation(getDescriptor(),exception);
  }
catch (  NullPointerException exception) {
    throw DescriptorException.nullPointerWhileConstructorInstantiation(getDescriptor(),exception);
  }
}