nv-l

[nv-l] Java Array Index Out of bound Exception

2003-04-24 09:00:21
Subject: [nv-l] Java Array Index Out of bound Exception
From: "Pavan Reddy" <pavan_reddy AT persistent.co DOT in>
To: <nv-l AT lists.tivoli DOT com>
Date: Thu, 24 Apr 2003 18:26:07 +0530
 

hi,
 
We are writing an SNMP agent for our application servers. Our agent would support SNMP version 2.
 
I am currently testing our  Agent with NetView 7.1.3 on windows as well as Solaris.
 
When we view any table in the  MIB V2 browser from  the Netview web Console a java exception occurs( java.langArrayIndexOutOfBoundException).
It works fine when we do a  SNMP walk.
 
Following is the sample Table definition from our MIb File
 
<Snippet>
--
-- CoreID server instance entry
--   
coreidInstanceEntry OBJECT-TYPE
    SYNTAX      CoreidInstanceEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            "CoreID server instance"
    INDEX   { coreidHostname, coreidPort }
    ::= { coreidInstanceTable 1 }
 
CoreidInstanceEntry ::= SEQUENCE {
        coreidId          SnmpAdminString,
        coreidHostname    SnmpAdminString,
        coreidPort        INTEGER,
 coreidRequestsProcessed Counter64
    }
</snippet>
Please let me know if I am missing something over here or there is something else that needs to be done.

Regards,
Pavan

<Prev in Thread] Current Thread [Next in Thread>