-
JOSE WILLIAM ROMERO OLIVOS
- PowerBuilder
- Monday, 9 June 2025 04:12 PM UTC
Good morning, dear all. I've been trying for weeks to figure out what the error is when generating JSON files en masse.
The statement is a for loop, in which JSON files are generated, but the application always closes completely and doesn't display any message...
Sometimes it closes on startup, sometimes on termination, and the error behavior is never the same. Sometimes it completes successfully without issue.
for i=1 to j
createJSonFiles(arguments)
Next
al finalizar uso
ls_Json = lnv_JsonGenerator.GetJsonString()
lnv_JsonGenerator.SaveToFile(arg_path_file,EncodingANSI!)
And that's it. It's worth mentioning that the JSON is a big JSON.
I've run the debug pb, but I don't know what to do. I appreciate any help.
This is the result of /pbdebug
Load File: c:\users\owner\appdata\local\appeon\powerbuilder 22.0\pb.ini
C:\runtime_appeon\terramedic.exe, 1.0.0.1, 180KB
C:\WINDOWS\SYSTEM32\ntdll.dll, 6.2.26100.4061, 1763KB
C:\WINDOWS\System32\KERNEL32.DLL, 6.2.26100.3912, 667KB
C:\WINDOWS\System32\KERNELBASE.dll, 6.2.26100.4061, 2751KB
C:\WINDOWS\System32\USER32.dll, 6.2.26100.4061, 1826KB
C:\WINDOWS\System32\win32u.dll, 6.2.26100.4061, 103KB
C:\WINDOWS\System32\GDI32.dll, 6.2.26100.3912, 133KB
C:\WINDOWS\System32\gdi32full.dll, 6.2.26100.3912, 941KB
C:\WINDOWS\System32\msvcp_win.dll, 6.2.26100.4061, 493KB
C:\WINDOWS\System32\ucrtbase.dll, 6.2.26100.4061, 1088KB
C:\runtime_appeon\PBVM.DLL, 22.1.0.2819, 8859KB
C:\WINDOWS\System32\COMDLG32.dll, 6.2.26100.4061, 713KB
C:\WINDOWS\System32\combase.dll, 6.2.26100.3912, 2596KB
C:\WINDOWS\System32\RPCRT4.dll, 6.2.26100.4061, 740KB
C:\WINDOWS\System32\shcore.dll, 6.2.26100.4061, 803KB
C:\runtime_appeon\PBUIS.dll, 22.1.0.2819, 3357KB
C:\WINDOWS\System32\SHLWAPI.dll, 6.2.26100.3912, 332KB
C:\WINDOWS\System32\msvcrt.dll, 7.0.26100.4061, 790KB
C:\runtime_appeon\PBSHR.dll, 22.1.0.2819, 2623KB
C:\WINDOWS\System32\ole32.dll, 6.2.26100.3912, 1380KB
C:\WINDOWS\System32\SHELL32.dll, 6.2.26100.4061, 6230KB
C:\WINDOWS\System32\OLEAUT32.dll, 6.2.26100.3912, 649KB
C:\WINDOWS\System32\wintypes.dll, 6.2.26100.3912, 1031KB
C:\WINDOWS\SYSTEM32\WINSPOOL.DRV, 6.2.26100.3912, 560KB
C:\WINDOWS\System32\ADVAPI32.dll, 6.2.26100.3775, 499KB
C:\WINDOWS\System32\sechost.dll, 6.2.26100.4061, 517KB
C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.26100.3912_none_85b4cd13f7b13c84\COMCTL32.dll, 6.10.26100.3912, 2223KB
C:\WINDOWS\System32\CRYPT32.dll, 6.2.26100.3775, 1040KB
C:\WINDOWS\SYSTEM32\cfgmgr32.dll, 6.2.26100.3912, 262KB
C:\WINDOWS\SYSTEM32\VERSION.dll, 6.2.26100.1, 28KB
C:\WINDOWS\SYSTEM32\oledlg.dll, 6.2.26100.1882, 166KB
C:\WINDOWS\SYSTEM32\WSOCK32.dll, 6.2.26100.1, 16KB
C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.26100.4061_none_b6a4db5d523f15b2\gdiplus.dll, 6.2.26100.4061, 1466KB
C:\WINDOWS\System32\IMM32.dll, 6.2.26100.3912, 144KB
C:\WINDOWS\SYSTEM32\MSIMG32.dll, 6.2.26100.1882, 7KB
C:\WINDOWS\System32\WS2_32.dll, 6.2.26100.4061, 382KB
C:\WINDOWS\SYSTEM32\UIAutomationCore.DLL, 7.2.26100.3912, 3354KB
C:\runtime_appeon\MSVCP140.dll, 14.30.30708.0, 425KB
C:\WINDOWS\SYSTEM32\UxTheme.dll, 6.2.26100.3912, 506KB
C:\runtime_appeon\VCRUNTIME140.dll, 14.30.30708.0, 76KB
C:\WINDOWS\SYSTEM32\OLEACC.dll, 7.2.26100.3912, 371KB
C:\WINDOWS\SYSTEM32\WINMM.dll, 6.2.26100.3624, 191KB
C:\runtime_appeon\pbresource.dll, 22.1.0.2819, 3916K
B
C:\runtime_appeon\pbjson.dll, 22.1.0.2819, 381KB
C:\runtime_appeon\pbdwe.dll, 22.1.0.2819, 5595KB
Executing POSTED function +UE_INTERNETOPEN for class N_WININET, lib entry N_WININET
Starting posted function or event
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.