Buggy code:
private void parseTableGenerator ( AnnotatedElement el , TableGenerator gen ) { } @ Override protected void parseClassMappingAnnotations ( ClassMetaData meta ) { } protected boolean handleUnknownClassMappingAnnotation ( ClassMapping cls , Annotation anno ) { } private void parseAssociationOverrides ( ClassMapping cm , AssociationOverride ... assocs ) { } private void parseAttributeOverrides ( ClassMapping cm , AttributeOverride ... attrs ) { } private void parsePrimaryKeyJoinColumns ( ClassMapping cm , PrimaryKeyJoinColumn ... joins ) { } private static Column newColumn ( PrimaryKeyJoinColumn join ) { } private void parseSecondaryTables ( ClassMapping cm , SecondaryTable ... tables ) { } private void parseTable ( ClassMapping cm , Table table ) { } Unique createUniqueConstraint ( MetaDataContext ctx , UniqueConstraint anno ) { } void addUniqueConstraints ( String table , MetaDataContext ctx , MappingInfo info , UniqueConstraint ... uniqueConstraints ) { } private static String toTableName ( String schema , String table ) { } private void parseSQLResultSetMappings ( ClassMapping cm , SqlResultSetMapping ... annos ) { } private void parseDiscriminatorColumn ( ClassMapping cm , DiscriminatorColumn dcol ) { } private void parseInheritance ( ClassMapping cm , Inheritance inherit ) { } private void parseMappingOverrides ( ClassMapping cm , MappingOverride ... overs ) { } private void populate ( FieldMapping fm , MappingOverride over ) { } private void parseDataStoreIdColumn ( ClassMapping cm , DataStoreIdColumn id ) { } private void parseForeignKey ( MappingInfo info , ForeignKey fk ) { } protected void parseForeignKey ( MappingInfo info , String name , boolean enabled , boolean deferred , ForeignKeyAction deleteAction , ForeignKeyAction updateAction ) { } void assertDefault ( ForeignKey fk ) { } private int toForeignKeyAction ( ForeignKeyAction action ) { } private void parseIndex ( MappingInfo info , Index idx ) { } protected void parseIndex ( MappingInfo info , String name , boolean enabled , boolean unique ) { } private void parseUnique ( FieldMapping fm , org . apache . openjpa . persistence . jdbc . Unique anno ) { } private void parseVersionColumns ( ClassMapping cm , VersionColumn ... vcols ) { } private static Column newColumn ( VersionColumn anno ) { } private void parseMappingOverrides ( ClassMapping cm , XMappingOverride ... overs ) { } private void populate ( FieldMapping fm , XMappingOverride over ) { } private void parseElementColumns ( FieldMapping fm , ElementColumn ... pcols ) { } private static Column newColumn ( ElementColumn anno ) { } private void parseKeyJoinColumns ( FieldMapping fm , KeyJoinColumn ... joins ) { } private static Column newColumn ( KeyJoinColumn join ) { } private static int toEagerFetchModeConstant ( FetchMode mode ) { } @ Override protected void parseLobMapping ( FieldMetaData fmd ) { } @ Override protected void parseMemberMappingAnnotations ( FieldMetaData fmd ) { } protected boolean handleUnknownMemberMappingAnnotation ( FieldMapping fm , Annotation anno ) { } protected static int toPolymorphicConstant ( NonpolymorphicType val ) { } private void parseAssociationOverrides ( FieldMapping fm , AssociationOverride ... assocs ) { } private void parseAttributeOverrides ( FieldMapping fm , AttributeOverride ... attrs ) { } public static FieldMapping getEmbeddedFieldMapping ( FieldMapping fm , String attrName ) { } public static ClassMapping getEmbeddedMapping ( ValueMapping val ) { } public static FieldMapping getAttributeOverrideField ( String attrName , FieldMapping fm , ClassMapping embed ) { } private void parseEnumerated ( FieldMapping fm , Enumerated anno ) { } private void parseTemporal ( FieldMapping fm , Temporal anno ) { } protected void parseColumns ( FieldMapping fm , javax . persistence ... pcols ) { } private static Column newColumn ( javax . persistence . Column anno ) { } private static void setupColumn ( Column col , javax . persistence . Column anno ) { } protected void setColumns ( FieldMapping fm , MappingInfo info , List < Column > cols , int unique ) { } private String trackSecondaryTable ( FieldMapping fm , String secondary , String colSecondary , int col ) { } private void parseJoinTable ( FieldMapping fm , JoinTable join ) { } private void parseJoinColumns ( FieldMapping fm , MappingInfo info , boolean secondaryAllowed , JoinColumn ... joins ) { } private static Column newColumn ( JoinColumn join ) { } private void parseKeyColumns ( FieldMapping fm , KeyColumn ... pcols ) { } private static Column newColumn ( KeyColumn anno ) { } private void parsePrimaryKeyJoinColumns ( FieldMapping fm , PrimaryKeyJoinColumn ... joins ) { } protected void parseXJoinColumns ( FieldMapping fm , MappingInfo info , boolean secondaryAllowed , XJoinColumn ... joins ) { } private static Column newColumn ( XJoinColumn join ) { } private void parseEmbeddedMapping ( FieldMapping fm , EmbeddedMapping anno ) { } private void parseEmbeddedMapping ( ValueMapping vm , String nullIndicatorAttribute , String nullIndicatorColumn , XMappingOverride [ ] overrides ) { } private void populateNullIndicator ( String nullInd , ValueMappingInfo info ) { } protected void parseContainerTable ( FieldMapping fm , ContainerTable ctbl ) { } protected void parseCollectionTable ( FieldMapping fm , CollectionTable ctbl ) { } private void parseOrderColumn ( FieldMapping fm , OrderColumn order ) { } private void parseJavaxOrderColumn ( FieldMapping fm , javax . persistence . OrderColumn order ) { } protected void parseElementJoinColumns ( FieldMapping fm , ElementJoinColumn ... joins ) { } private static Column newColumn ( ElementJoinColumn join ) { } protected void parseMapKeyColumn ( FieldMapping fm , MapKeyColumn anno ) { } private static void setupMapKeyColumn ( FieldMapping fm , Column col , MapKeyColumn anno ) { } protected void setMapKeyColumn ( FieldMapping fm , MappingInfo info , Column col , int unique ) { <START_BUG> List cols = new ArrayList ( ) ; <END_BUG> cols . add ( col ) ; info . setColumns ( cols ) ; if ( unique == ( AnnotationPersistenceMappingParser . TRUE ) ) info . setUnique ( new Unique ( ) ) ; } private void parseMapKeyJoinColumns ( FieldMapping fm , MapKeyJoinColumn ... joins ) { } private static Column newColumn ( MapKeyJoinColumn join ) { } }

Fix:
List < Column > cols = new ArrayList < Column > ( ) ;