[SNMP4J] SNMP4j drops traps throwing an exception, but trap is valid and properly processed by other applications

Chatterjee, Soumya Subhra SoumyaSubhra.Chatterjee at ca.com
Fri Jan 24 06:28:49 CET 2014


Hi Frank,
There is one more issue with SNMP4j (I think). There is another trap, which is dropped by SNMP4j with the log entry: 2013-10-19 15:20:03,856 WARN  [DefaultUDPTransportMapping_0.0.0.0/162] snmp4j.MessageDispatcherImpl - java.io.IOException: Only 32bit unsigned integers are supported at position 48. 

But in other applications, including when it is captured and opened in Wireshark, it works fine and all the data is available. I am attaching the hex dump here. If needed, I can provide code snippets and Wireshark captures also.

Trap data: 30:82:01:84:02:01:00:04:06:70:75:62:6C:69:63:A4:82:01:75:06:0C:2B:06:
01:04:01:85:36:01:01:06:02:3C:40:04:C0:A8:64:BB:02:01:06:02:01:3C:43:05:01:10:09
:1F:34:30:82:01:50:30:1A:06:0D:2B:06:01:04:01:85:36:01:01:06:01:01:09:04:09:27:50
:45:52:46:4F:52:4D:27:30:1B:06:0D:2B:06:01:04:01:85:36:01:01:06:01:01:04:04:0A:27
:32:30:31:33:30:38:30:31:27:30:16:06:0D:2B:06:01:04:01:85:36:01:01:06:01:01:08:04:
05:27:6E:2F:61:27:30:33:06:0D:2B:06:01:04:01:85:36:01:01:06:01:01:03:04:22:27:35:
31:46:38:45:43:45:45:41:34:37:44:30:30:42:36:45:31:30:30:38:30:30:30:43:30:41:38:
36:34:42:42:27:30:1B:06:0D:2B:06:01:04:01:85:36:01:01:06:01:01:01:04:0A:27:67:76:
73:68:65:35:30:31:27:30:17:06:0D:2B:06:01:04:01:85:36:01:01:06:01:01:02:04:06:27:
48:4F:53:54:27:30:2F:06:0D:2B:06:01:04:01:85:36:01:01:06:01:01:06:04:1E:27:48:69:
67:68:20:56:69:72:74:75:61:6C:20:43:50:55:20:55:74:69:6C:69:7A:61:74:69:6F:6E:27:
30:12:06:0D:2B:06:01:04:01:85:36:01:01:06:01:01:0A:02:01:01:30:12:06:0D:2B:06:01:
04:01:85:36:01:01:06:01:01:0B:02:01:02:30:1E:06:0D:2B:06:01:04:01:85:36:01:01:06:
01:01:07:04:0D:27:56:49:52:54:55:41:4C:5F:43:50:55:27:30:19:06:0D:2B:06:01:04:01:
85:36:01:01:06:01:01:05:04:08:27:30:39:34:34:33:35:27


Soumya Subhra Chatterjee
CA Technologies
Associate Software Engineer
Tel:  +914066877206
SoumyaSubhra.Chatterjee at ca.com

                           
 Please consider the environment before printing this e-mail.



More information about the SNMP4J mailing list