- Stan Zihlman
- PowerBuilder
- Tuesday, 16 July 2024 04:37 PM UTC
PBAutoBuild fails with JSON syntax error.
Client/Server App
Scenario 1: Build pbl's from GIT into Workspace
Setup 1 is:
SourceControl = GIT
Encoding = UTF-16 LE BOM
Start of JSON file:
{
"MetaInfo": {
"IDEVersion": "220",
"RuntimeVersion": "22.2.0.3356"
},
"BuildPlan": {
Error is:
09:56:36 [Normal] PBAutoBuild Version: 22.2.0.3356.
09:56:36 [Normal] Work Path: c:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\pbautobuild220.exe.
09:56:36 [Normal] Runtime Version: 22.2.0.3356.
09:56:36 [Normal] Load file: c:\users\szihlma\appdata\local\appeon\powerbuilder 22.0\pb.ini
09:56:36 [Normal] Start processing parse json to model code segment.
09:56:36 [Error] Json format error!
Error Row: 1.
Error Offset: 1.
Error Text: Ἠ吒Ĉ㪰Ĉ㴠Ĉ
Setup 2 is:
Same as Setup 1 except Encoding = UTF-8
Error is:
09:51:12 [Normal] PBAutoBuild Version: 22.2.0.3356.
09:51:12 [Normal] Work Path: c:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\pbautobuild220.exe.
09:51:12 [Normal] Runtime Version: 22.2.0.3356.
09:51:12 [Normal] Load file: c:\users\szihlma\appdata\local\appeon\powerbuilder 22.0\pb.ini
09:51:12 [Normal] Start processing parse json to model code segment.
09:51:12 [Error] Json format error!
Error Row: 116.
Error Offset: 9312.
Error Text: ∈吒ċ㪰ċ㴠ċ
There is no data on row 116
Scenario 2: Existing pbl's in Workspace
SourceControl = NONE
Encoding = UTF-16 LE BOM
No errors - successful build.
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.