"GetScore có đoạn:
if (indexScore.Value.Equals(item.FixedValue))
{
item.IndividualBasicIndexLevelsReference.Load();
if (item.IndividualBasicIndexLevels != null)
{
Đoạn này sẽ có NullReferenceException chỉ vào giá trị
indexScore.Value bởi vì không có giá trị nào hết.
Cần lưu ý xem còn có thuộc tính nào bị như vậy không? CHÚ Ý
LỖI TƯƠNG TỰ Ở CÁC PHẦN KHÁC: PHẦN FINANCIAL CŨNG BỊ, PHẦN
NONFINANCIAL CŨNG BỊ, PHẦN COLLATERAL CŨNG BỊ. Tớ rất lo ngại
cái Thuộc tính Value này, nếu không cẩn thận THÌ CÓ THỂ HỆ
THỐNG SẼ BỊ DOWN VÌ NÓ! THEO TỚ BẠN KIỂM TRA XEM CÓ CHỖ NÀO
SỬ DỤNG TRƯỜNG VALUE ĐÓ THÌ BẠN KIỂM TRA XEM CÓ NULL KHÔNG ĐÃ"
Original issue reported on code.google.com by longnhi....@gmail.com on 18 Apr 2011 at 7:26
Original issue reported on code.google.com by
longnhi....@gmail.com
on 18 Apr 2011 at 7:26