Skip to Content
Former Member
Oct 12, 2014 at 02:02 PM

PB Classic to .NET migrated application: Null object reference error


Hello everyone,

We have an application in PB 12.5.2 Build 5583 and have migrated it from PB Classic to PB .NET. This is a PFC application.

After migration, we are getting 'Null object reference error' while trying to open a screen from the Menu. Other 2 screens from the same application opens fine. The error doesn't give much details and looks like -

System Error (pfc_systemerror)

Error Number 0.

Error test = Null object reference

Window/Menu/Object = .

Script = .

Line in Script = 0.

On debugging we see that the error seems to be somewhat related to Resize. The code goes multiple times through different Resize events like -





Then at one point of time, the flow goes to systemerror event from the following code of pfc_w_master.resize event -

If IsValid (inv_preference) and This.windowstate = normal! then (--> goes to systemerror from here)

inv_preference.Post of_setPosSize()

End If

Could you please help us to resolve this issue ?

thanks & regards,