应该会,因为
System.arraycopy(NwPdtParaDtlsList,0,NwPdtParaDtlsListTemp,0,NwPdtParaDtlsList
.length );
拷贝了length个元素到NwPdtParaDtlsListTemp中,NwPdtParaDtlsListTemp中只有下标从0到length-1的元素被赋值,而length为下标的元素仍然为null,直接使用会抛出空指针异常,所以应先初始化一下。
System.arraycopy(NwPdtParaDtlsList,0,NwPdtParaDtlsListTemp,0,NwPdtParaDtlsList
.length );
拷贝了length个元素到NwPdtParaDtlsListTemp中,NwPdtParaDtlsListTemp中只有下标从0到length-1的元素被赋值,而length为下标的元素仍然为null,直接使用会抛出空指针异常,所以应先初始化一下。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货