PDA

View Full Version : BUG REPORT: odd bug related to windowlist



Diablobob
August 20th, 2020, 02:54
I have run into a bug that has started in the last week or so after an FGU update. First report of the error was on 14 August 2020. This error only occurs in Unity and does not appear in Classic when running the exact same file. (yes it is fully functional in both)

When a script does a createWindow in a windowlist field, it's throwing an error. The functions still finish and work as intended, however the console keeps popping up for it. Also the windowlist error occurs only if the record, that the windowlist is being added to, is open. (it's a list of linked windows and the function also links both directions).

the error I am seeing is:


[8/19/2020 9:29:19 PM] [<color="red">ERROR</color>] API: System.NullReferenceException: Object reference not set to an instance of an object
at FG.TextControlUI.MEDKKNJPNPN () [0x00006] in <f6e1906d2ab64a3da001c5a79ae04219>:0
at FG.ScrollableUI.ResetScroll () [0x00000] in <f6e1906d2ab64a3da001c5a79ae04219>:0
at CGLBNBINEBG.GKPLAKLAMNB () [0x00016] in <f6e1906d2ab64a3da001c5a79ae04219>:0
at AMGJPOFMOEK.PBEECIGGKMB () [0x0000a] in <f6e1906d2ab64a3da001c5a79ae04219>:0
at PLEBMEMCDJP.BLNBLEHDOEC (System.IntPtr MDMHFAEJKAB) [0x00126] in <f6e1906d2ab64a3da001c5a79ae04219>:0

again, it only occurs for record windows that are open and visible.

V/r,
Diablobob

p.s. - if you were super curious, it's my Portals REVAMPED extension... but you probably already knew that, lol.

Moon Wizard
August 21st, 2020, 09:09
I don't think this occurs in every scenario; because createWindow is used a lot in the CoreRPG ruleset. Do you have a specific simple test extension that produces the scenario for me to test and verify a fix for?

Thanks,
JPG

Diablobob
August 21st, 2020, 13:12
I asked Rob to give you a copy of portals... I don’t have time before work to pair down just the linking in an example extension... so I’m having him get you the whole cookie...

quick run to error: activate sidebar button > click sidebar button > click ‘portal toolbox’ button > drop a token on a field there > open map > drag a token from portal toolbox window o the map x2 > drag record link from one portal record to the link list of the other (target record must be unlocked)...

I got a work around working last night where I close the window before adding the link and then reopen it at the end... I am going to add a couple other small tweaks before submitting the update tonight... if I may, could you let me know when you’ve received the extension from Rob so I know it’s safe to submit the update with the work around?

Diablobob
August 22nd, 2020, 05:22
Rob said he emailed it to ya... also THANK YOU SO MUCH FOR /reload In unity!!!! Thank you times a million!!!