Null pointer error in JCo2RecordImpl
Brought to you by:
dmitriy_fot,
szambrovski
I got an null pointer error at net.sf.sapbapijca.adapter.jco.JCo2RecordImpl when i execute a bapi method without any export parameter, like 'RFC_READ_TABLE'.
I changed line 149 - 152 to
public int getFieldCount()
{
return record != null ? record.getFieldCount() : 0 ;
}
Applied the patch, but cannot close the tracker item.