Program: 91872
Project: 91872
Buggy source:
public ModelImplFactory(){
  fFieldInfo1=new FieldInfo("String_Node_Str");
  fFieldInfo1.setFieldType("String_Node_Str");
  fFieldInfo2=new FieldInfo("String_Node_Str");
  fFieldInfo2.setFieldType("String_Node_Str");
  fBaseEventInfo1=new BaseEventInfo("String_Node_Str");
  fBaseEventInfo1.setEventType(TraceEventType.UNKNOWN);
  fBaseEventInfo1.setLogLevel(TraceLogLevel.TRACE_ERR);
  fBaseEventInfo1.addField(fFieldInfo1);
  fBaseEventInfo1.addField(fFieldInfo2);
  fBaseEventInfo1.setFilterExpression("String_Node_Str");
  fBaseEventInfo2=new BaseEventInfo("String_Node_Str");
  fBaseEventInfo2.setEventType(TraceEventType.TRACEPOINT);
  fBaseEventInfo1.setLogLevel(TraceLogLevel.TRACE_DEBUG);
  fEventInfo1=new EventInfo("String_Node_Str");
  fEventInfo1.setEventType(TraceEventType.TRACEPOINT);
  fEventInfo1.setState(TraceEnablement.ENABLED);
  fEventInfo2=new EventInfo("String_Node_Str");
  fEventInfo2.setEventType(TraceEventType.UNKNOWN);
  fEventInfo2.setState(TraceEnablement.DISABLED);
  fEventInfo3=new EventInfo("String_Node_Str");
  fEventInfo3.setEventType(TraceEventType.TRACEPOINT);
  fEventInfo3.setState(TraceEnablement.DISABLED);
  fUstProviderInfo1=new UstProviderInfo("String_Node_Str");
  fUstProviderInfo1.setPid(1234);
  fUstProviderInfo1.addEvent(fBaseEventInfo1);
  fUstProviderInfo2=new UstProviderInfo("String_Node_Str");
  fUstProviderInfo2.setPid(2345);
  fUstProviderInfo2.addEvent(fBaseEventInfo1);
  fUstProviderInfo2.addEvent(fBaseEventInfo2);
  fChannelInfo1=new ChannelInfo("String_Node_Str");
  fChannelInfo1.setSwitchTimer(10L);
  fChannelInfo1.setOverwriteMode(true);
  fChannelInfo1.setReadTimer(11L);
  fChannelInfo1.setState(TraceEnablement.DISABLED);
  fChannelInfo1.setNumberOfSubBuffers(12);
  fChannelInfo1.setOutputType("String_Node_Str");
  fChannelInfo1.setSubBufferSize(13L);
  fChannelInfo1.addEvent(fEventInfo1);
  fChannelInfo2=new ChannelInfo("String_Node_Str");
  fChannelInfo2.setSwitchTimer(1L);
  fChannelInfo2.setOverwriteMode(false);
  fChannelInfo2.setReadTimer(2L);
  fChannelInfo2.setState(TraceEnablement.ENABLED);
  fChannelInfo2.setNumberOfSubBuffers(3);
  fChannelInfo2.setOutputType("String_Node_Str");
  fChannelInfo2.setSubBufferSize(4L);
  fChannelInfo2.addEvent(fEventInfo2);
  fChannelInfo2.addEvent(fEventInfo3);
  fDomainInfo1=new DomainInfo("String_Node_Str");
  fDomainInfo1.addChannel(fChannelInfo1);
  fDomainInfo2=new DomainInfo("String_Node_Str");
  fDomainInfo2.addChannel(fChannelInfo1);
  fDomainInfo2.addChannel(fChannelInfo2);
  fSessionInfo1=new SessionInfo("String_Node_Str");
  fSessionInfo1.setSessionPath("String_Node_Str");
  fSessionInfo1.setSessionState(TraceSessionState.ACTIVE);
  fSessionInfo1.addDomain(fDomainInfo1);
  fSessionInfo2=new SessionInfo("String_Node_Str");
  fSessionInfo2.setSessionPath("String_Node_Str");
  fSessionInfo2.setSessionState(TraceSessionState.INACTIVE);
  fSessionInfo2.addDomain(fDomainInfo1);
  fSessionInfo2.addDomain(fDomainInfo2);
  fSessionInfo2.setStreamedTrace(true);
  fProbeEventInfo1=new ProbeEventInfo("String_Node_Str");
  fProbeEventInfo1.setEventType(TraceEventType.TRACEPOINT);
  fProbeEventInfo1.setState(TraceEnablement.ENABLED);
  fProbeEventInfo1.setAddress("String_Node_Str");
  fProbeEventInfo2=new ProbeEventInfo("String_Node_Str");
  fProbeEventInfo2.setEventType(TraceEventType.FUNCTION);
  fProbeEventInfo2.setState(TraceEnablement.DISABLED);
  fProbeEventInfo2.setOffset("String_Node_Str");
  fProbeEventInfo2.setSymbol("String_Node_Str");
  fSnapshotInfo1=new SnapshotInfo("String_Node_Str");
  fSnapshotInfo1.setId(1);
  fSnapshotInfo1.setSnapshotPath("String_Node_Str");
  fSnapshotInfo2=new SnapshotInfo("String_Node_Str");
  fSnapshotInfo2.setId(1);
  fSnapshotInfo2.setSnapshotPath("String_Node_Str");
  fSnapshotInfo2.setStreamedSnapshot(true);
  fSessionInfo1.setSnapshotInfo(fSnapshotInfo1);
}

Fixed version (ground truth):
public ModelImplFactory(){
  fFieldInfo1=new FieldInfo("String_Node_Str");
  fFieldInfo1.setFieldType("String_Node_Str");
  fFieldInfo2=new FieldInfo("String_Node_Str");
  fFieldInfo2.setFieldType("String_Node_Str");
  fBaseEventInfo1=new BaseEventInfo("String_Node_Str");
  fBaseEventInfo1.setEventType(TraceEventType.UNKNOWN);
  fBaseEventInfo1.setLogLevel(TraceLogLevel.TRACE_ERR);
  fBaseEventInfo1.addField(fFieldInfo1);
  fBaseEventInfo1.addField(fFieldInfo2);
  fBaseEventInfo1.setFilterExpression("String_Node_Str");
  fBaseEventInfo2=new BaseEventInfo("String_Node_Str");
  fBaseEventInfo2.setEventType(TraceEventType.TRACEPOINT);
  fBaseEventInfo1.setLogLevel(TraceLogLevel.TRACE_DEBUG);
  fEventInfo1=new EventInfo("String_Node_Str");
  fEventInfo1.setEventType(TraceEventType.TRACEPOINT);
  fEventInfo1.setLogLevelType("String_Node_Str");
  fEventInfo1.setLogLevel(TraceLogLevel.TRACE_DEBUG);
  fEventInfo1.setState(TraceEnablement.ENABLED);
  fEventInfo2=new EventInfo("String_Node_Str");
  fEventInfo2.setLogLevelType("String_Node_Str");
  fEventInfo2.setLogLevel(TraceLogLevel.TRACE_INFO);
  fEventInfo2.setEventType(TraceEventType.UNKNOWN);
  fEventInfo2.setState(TraceEnablement.DISABLED);
  fEventInfo3=new EventInfo("String_Node_Str");
  fEventInfo3.setEventType(TraceEventType.TRACEPOINT);
  fEventInfo3.setState(TraceEnablement.DISABLED);
  fUstProviderInfo1=new UstProviderInfo("String_Node_Str");
  fUstProviderInfo1.setPid(1234);
  fUstProviderInfo1.addEvent(fBaseEventInfo1);
  fUstProviderInfo2=new UstProviderInfo("String_Node_Str");
  fUstProviderInfo2.setPid(2345);
  fUstProviderInfo2.addEvent(fBaseEventInfo1);
  fUstProviderInfo2.addEvent(fBaseEventInfo2);
  fChannelInfo1=new ChannelInfo("String_Node_Str");
  fChannelInfo1.setSwitchTimer(10L);
  fChannelInfo1.setOverwriteMode(true);
  fChannelInfo1.setReadTimer(11L);
  fChannelInfo1.setState(TraceEnablement.DISABLED);
  fChannelInfo1.setNumberOfSubBuffers(12);
  fChannelInfo1.setOutputType("String_Node_Str");
  fChannelInfo1.setSubBufferSize(13L);
  fChannelInfo1.addEvent(fEventInfo1);
  fChannelInfo2=new ChannelInfo("String_Node_Str");
  fChannelInfo2.setSwitchTimer(1L);
  fChannelInfo2.setOverwriteMode(false);
  fChannelInfo2.setReadTimer(2L);
  fChannelInfo2.setState(TraceEnablement.ENABLED);
  fChannelInfo2.setNumberOfSubBuffers(3);
  fChannelInfo2.setOutputType("String_Node_Str");
  fChannelInfo2.setSubBufferSize(4L);
  fChannelInfo2.addEvent(fEventInfo2);
  fChannelInfo2.addEvent(fEventInfo3);
  fDomainInfo1=new DomainInfo("String_Node_Str");
  fDomainInfo1.addChannel(fChannelInfo1);
  fDomainInfo2=new DomainInfo("String_Node_Str");
  fDomainInfo2.addChannel(fChannelInfo1);
  fDomainInfo2.addChannel(fChannelInfo2);
  fSessionInfo1=new SessionInfo("String_Node_Str");
  fSessionInfo1.setSessionPath("String_Node_Str");
  fSessionInfo1.setSessionState(TraceSessionState.ACTIVE);
  fSessionInfo1.addDomain(fDomainInfo1);
  fSessionInfo2=new SessionInfo("String_Node_Str");
  fSessionInfo2.setSessionPath("String_Node_Str");
  fSessionInfo2.setSessionState(TraceSessionState.INACTIVE);
  fSessionInfo2.addDomain(fDomainInfo1);
  fSessionInfo2.addDomain(fDomainInfo2);
  fSessionInfo2.setStreamedTrace(true);
  fProbeEventInfo1=new ProbeEventInfo("String_Node_Str");
  fProbeEventInfo1.setEventType(TraceEventType.TRACEPOINT);
  fProbeEventInfo1.setState(TraceEnablement.ENABLED);
  fProbeEventInfo1.setAddress("String_Node_Str");
  fProbeEventInfo2=new ProbeEventInfo("String_Node_Str");
  fProbeEventInfo2.setEventType(TraceEventType.FUNCTION);
  fProbeEventInfo2.setState(TraceEnablement.DISABLED);
  fProbeEventInfo2.setOffset("String_Node_Str");
  fProbeEventInfo2.setSymbol("String_Node_Str");
  fSnapshotInfo1=new SnapshotInfo("String_Node_Str");
  fSnapshotInfo1.setId(1);
  fSnapshotInfo1.setSnapshotPath("String_Node_Str");
  fSnapshotInfo2=new SnapshotInfo("String_Node_Str");
  fSnapshotInfo2.setId(1);
  fSnapshotInfo2.setSnapshotPath("String_Node_Str");
  fSnapshotInfo2.setStreamedSnapshot(true);
  fSessionInfo1.setSnapshotInfo(fSnapshotInfo1);
}