Buggy code:
public class TrapNotification implements Serializable { private static final long serialVersionUID = 396526466193707880L ; public int no ; public String uid ; public String trapReceiverName ; public String peerAddress ; public String peerIp ; public String peerHostname ; public boolean isV1 = false ; public boolean isV2C = false ; public String snmpVersion ; public String community ; public int genericTrap ; public int specificTrap ; public String enterpriseOid ; public String snmpTrapOid ; public String sysUpTime ; public int errorIndex ; public int errorStatus ; public String errorStatusText ; public int requestId ; public String nodeName ; public String trapName ; public String name ; public int severity ; public String sourceInfo ; public String group ; public String location ; public long timestamp ; public String extDat1 ; public String extDat2 ; public String extDat3 ; public String extDat4 ; public String extDat5 ; public String extDat6 ; public String extDat7 ; public String extDat8 ; public String extDat9 ; public boolean ignore = false ; private PDU pdu ; public VB [ ] varbinds = new VB [ 0 ] ; public String customText ; public TrapNotification ( int no , String receiverName , CommandResponderEvent cmdRespEvent ) { } public void addVB ( String oid , String value ) { } public String getDate ( ) { } @ Override public String toString ( ) { } public String toStringRaw ( ) { } public String toStringVbs ( ) { } public String toStringProcessed ( ) { } public int getNo ( ) { } public String getUid ( ) { } public void setUid ( String uid ) { } public String getTrapReceiverName ( ) { } public void setTrapReceiverName ( String trapReceiverName ) { } public String getPeerAddress ( ) { } public void setPeerAddress ( String peerAddress ) { } public String getPeerIp ( ) { } public void setPeerIp ( String peerIp ) { } public String getPeerHostname ( ) { } public void setPeerHostname ( String peerHostname ) { } public String getSnmpVersion ( ) { } public void setSnmpVersion ( String snmpVersion ) { } public String getNodeName ( ) { } public void setNodeName ( String nodeName ) { } public String getTrapName ( ) { } public void setTrapName ( String trapName ) { } public String getName ( ) { } public void setName ( String name ) { } public int getSeverity ( ) { } public void setSeverity ( int severity ) { } public String getSourceInfo ( ) { } public void setSourceInfo ( String sourceInfo ) { } public String getGroup ( ) { } public void setGroup ( String group ) { } public String getLocation ( ) { } public void setLocation ( String location ) { } public long getTimestamp ( ) { } public void setTimestamp ( long timestamp ) { } public String getExtDat1 ( ) { } public void setExtDat1 ( String extDat1 ) { } public String getExtDat2 ( ) { } public void setExtDat2 ( String extDat2 ) { } public String getExtDat3 ( ) { } public void setExtDat3 ( String extDat3 ) { } public String getExtDat4 ( ) { } public void setExtDat4 ( String extDat4 ) { } public String getExtDat5 ( ) { } public void setExtDat5 ( String extDat5 ) { } public String getExtDat6 ( ) { } public void setExtDat6 ( String extDat6 ) { } public String getExtDat7 ( ) { } public void setExtDat7 ( String extDat7 ) { } public String getExtDat8 ( ) { } public void setExtDat8 ( String extDat8 ) { } public String getExtDat9 ( ) { } public void setExtDat9 ( String extDat9 ) { } public String getCustomText ( ) { } public void setCustomText ( String customText ) { } public int getGenericTrap ( ) { } public void setGenericTrap ( int genericTrap ) { } public int getSpecificTrap ( ) { } public void setSpecificTrap ( int specificTrap ) { } public String getEnterpriseOid ( ) { } public void setEnterpriseOid ( String enterpriseOid ) { } public String getSnmpTrapOid ( ) { } public void setSnmpTrapOid ( String snmpTrapOid ) { } public String getSysUpTime ( ) { } public void setSysUpTime ( String sysUpTime ) { } public boolean isIgnore ( ) { } public void setIgnore ( boolean ignore ) { } public String getCommunity ( ) { } public boolean isV1 ( ) { } public boolean isV2C ( ) { } <START_BUG> public long getRequestId ( ) { <END_BUG> return requestId ; } }

Fix:
public int getRequestId ( ) {