Program: 63161
Project: 63161
Buggy source:
@Test public void sendRawTransaction() throws Exception {
  String codeHex="String_Node_Str";
  codeAddress="String_Node_Str";
  Transaction tx=ontSdk.vm().makeDeployCodeTransaction(codeHex,true,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",VmType.NEOVM.value(),identity.ontid,0);
  ontSdk.signTx(tx,identity.ontid,password);
  String txHex=Helper.toHexString(tx.toArray());
  boolean b=ontSdk.getConnect().sendRawTransaction(txHex);
  Thread.sleep(6000);
  AccountInfo info=ontSdk.getWalletMgr().getAccountInfo(identity.ontid.replace(Common.didont,"String_Node_Str"),password);
  List list=new ArrayList<Object>();
  list.add("String_Node_Str".getBytes());
  List tmp=new ArrayList<Object>();
  tmp.add(Helper.hexToBytes("String_Node_Str"));
  tmp.add(identity.ontid.getBytes());
  list.add(tmp);
  byte[] params=BuildParams.createCodeParamsScript(list);
  Transaction tx2=ontSdk.vm().makeInvokeCodeTransaction(codeAddress,null,params,VmType.NEOVM.value(),identity.ontid,0);
  ontSdk.signTx(tx2,identity.ontid,password);
  boolean b2=ontSdk.getConnect().sendRawTransaction(tx2.toHexString());
  Assert.assertEquals(true,b);
  Thread.sleep(6000);
  Transaction txres=ontSdk.getConnect().getTransaction(tx2.hash().toHexString());
  Assert.assertNotNull(txres);
  Object obj=ontSdk.getConnect().getTransactionJson(tx2.hash().toHexString());
  Assert.assertNotNull(obj);
  Object obj2=ontSdk.getConnect().getSmartCodeEvent(tx2.hash().toHexString());
  Assert.assertNotNull(obj2);
  int blockheight=ontSdk.getConnect().getBlockHeightByTxHash(tx2.hash().toHexString());
  Assert.assertNotNull(blockheight);
  Object contract=ontSdk.getConnect().getContract(codeAddress);
  Assert.assertNotNull(contract);
}

Fixed version (ground truth):
@Test public void sendRawTransaction() throws Exception {
  String codeHex="String_Node_Str";
  codeAddress="String_Node_Str";
  Transaction tx=ontSdk.vm().makeDeployCodeTransaction(codeHex,true,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str",VmType.NEOVM.value(),identity.ontid,ontSdk.DEFAULT_GAS_LIMIT,0);
  ontSdk.signTx(tx,identity.ontid,password);
  String txHex=Helper.toHexString(tx.toArray());
  boolean b=ontSdk.getConnect().sendRawTransaction(txHex);
  Thread.sleep(6000);
  AccountInfo info=ontSdk.getWalletMgr().getAccountInfo(identity.ontid.replace(Common.didont,"String_Node_Str"),password);
  List list=new ArrayList<Object>();
  list.add("String_Node_Str".getBytes());
  List tmp=new ArrayList<Object>();
  tmp.add(Helper.hexToBytes("String_Node_Str"));
  tmp.add(identity.ontid.getBytes());
  list.add(tmp);
  byte[] params=BuildParams.createCodeParamsScript(list);
  Transaction tx2=ontSdk.vm().makeInvokeCodeTransaction(codeAddress,null,params,VmType.NEOVM.value(),identity.ontid,ontSdk.DEFAULT_GAS_LIMIT,0);
  ontSdk.signTx(tx2,identity.ontid,password);
  boolean b2=ontSdk.getConnect().sendRawTransaction(tx2.toHexString());
  Assert.assertEquals(true,b);
  Thread.sleep(6000);
  Transaction txres=ontSdk.getConnect().getTransaction(tx2.hash().toHexString());
  Assert.assertNotNull(txres);
  Object obj=ontSdk.getConnect().getTransactionJson(tx2.hash().toHexString());
  Assert.assertNotNull(obj);
  Object obj2=ontSdk.getConnect().getSmartCodeEvent(tx2.hash().toHexString());
  Assert.assertNotNull(obj2);
  int blockheight=ontSdk.getConnect().getBlockHeightByTxHash(tx2.hash().toHexString());
  Assert.assertNotNull(blockheight);
}