Skip to main content

ArrayIndexOutofboundException observed while creating the ProgramAssociationTableImpl

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2010-09-21

Some times i am observing the ArrayIndexOutofboundException in ProgramAssociationTableImple constructor.
As per the code when native layer detects PAT acquired/version chnage then it fill the data required for the PAT in SIDatabaseImpl.c and notify to the java layer.
Native layer creating the byte array which can hold the valid components and same byte arry it is passing to java layer, java layer parsing the byte array. Practically we should not see Exception.
Exception logs :
<span style="color: black"><font size="2">java.lang.ArrayIndexOutOfBoundsException: null<o:p></o:p></font></span>
<span style="color: black"><font size="2">java.lang.ArrayIndexOutOfBoundsException<o:p></o:p></font></span>
<span style="color: black"><font size="2">        at<o:p></o:p></font></span>
<span style="color: black"><font size="2">        at;init&gt;(<o:p></o:p></font></span>
<span style="color: black"><font size="2">        at org.cablelabs.impl.manager.service.SIDatabaseImpl.makePAT(<o:p></o:p></font></span>
<span style="color: black"><font size="2">        at org.cablelabs.impl.manager.service.SIDatabaseImpl.asyncEvent(<o:p></o:p></font></span>
<span style="color: black"><font size="2">        at org.cablelabs.impl.manager.ed.EventDispatchImpl$<o:p></o:p></font></span>
<span style="color: black"><font size="2">        at java.lang.Thread.startup(<o:p></o:p></font></span>

Does any one answer why the exception is occuring?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2008-04-23

This thread should be closed. It is a duplicate of