Snmp. send(pdu, target) : The pdu sent contains more than 100 oids. As a result, this method returns null.

snmp.send(PDU pdu, Target target)

I added more than 100 oids to the passed PDU, causing the “snmp.send()” method to return Null.
Please, how do I solve this situation?

A null response PDU means that the agent did not respond to your request. Most likely it was too big. You can send the OIDs in several PDUs to workaround this problem.