1. David Peace
  2. PowerBuilder
  3. Tuesday, 19 December 2023 04:36 PM UTC

Hi Everyone

I thought I would try and setup and use the PBAutoBuild220.exe to build our applications. My first problem was that I needed to install the PB IDE before the EXE would run at all (I had tried only installing the tools and utilities). I think the DOt Net 6 SDK needed to be installed or something.

Having got past that problem I now find that the EXE just crashes when it reaches the SSC part.

The log file contains:

08:26:36 [Normal] PBAutoBuild Version: 22.1.0.2828.
08:26:36 [Normal] Work Path: C:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\pbautobuild220.exe.
08:26:36 [Normal] Runtime Version: 22.1.0.2828.
08:26:36 [Normal] Load file: C:\Users\dpeace\AppData\Local\Appeon\PowerBuilder 22.0\pb.ini
08:26:36 [Normal] Start processing parse json to model code segment.
08:26:36 [Normal] End processing parse json to model code segment.
08:26:36 [Normal] Start processing download source code segment.
08:26:36 [Normal] Start downloading the source code.
08:26:36 [Normal] Execute VSS init
08:26:36 [Normal] Execute open VSS project
08:26:36 [Normal] Execute VSS download source code

 

The Event Log shows:

A .Net Runtime error:

Application: pbautobuild220.exe
CoreCLR Version: 6.0.522.21309
.NET Version: 6.0.5
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00000000
Stack:

 

A Application Error:

Faulting application name: pbautobuild220.exe, version: 22.1.0.2828, time stamp: 0x65313be4
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00000000
Faulting process id: 0xed8
Faulting application start time: 0x01da329822e0d53e
Faulting application path: C:\Program Files (x86)\Appeon\PowerBuilderUtilities 22.0\pbautobuild220.exe
Faulting module path: unknown
Report Id: 28814c28-d681-428f-a15e-6e5e5edaca4d
Faulting package full name:
Faulting package-relative application ID:

 

My app.json file contains, all of which is the same as the exported values except for the VSS stiuff, not sure why PB cannot get this from it's own workspace?:

{
  "MetaInfo": {
    "IDEVersion": "220",
    "RuntimeVersion": "22.1.0.2828"
  },
  "BuildPlan": {
    "SourceControl": {
      "PreCommand": "",
      "ClearSrcBeforeDownload": false,
      "SVN": [
        {"SrcPath": "","User": "","Password": "","DestPath": "","Proxy": {"Ip": "","Port": 0,"Username": "","Password": ""}}
      ],
      "Git": [
        {"SrcPath": "","User": "","Password": "","DestPath": "","Branch": "","Proxy": {"Ip": "","Port": 0,"Username": "","Password": ""}}
      ],
      "VSS": [
        {"SrcPath": "\\\\psmf1\\Data\\Fileshare\\Development\\source_control\\SHOPDIRECT\\\"$/Shipping\", BAAAAAAA","User": "dpeace","Password": "a","DestPath": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application"}
      ],
      "Merging": [
        {"Target": "","LocalProjectPath": "","RefreshPbl": false}
      ],
      "PostCommand": ""
    },
    "BuildJob": {
      "PreCommand": "",
      "Projects": [
        {"Target": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application\\ship.pbt","Name": "ship"}
      ],
      "PostCommand": ""
    }
  },
  "Projects": {
    "ship": {
      "ProjectType": 0,
      "//ProjectType": "0: PB Native; 1: PowerClient; 2: PowerServer; 3: PowerServer 1.0; ",
      "General": {
        "ExecutableFileName": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application\\ship.exe",
        "ResourceFileName": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application\\pfc.pbr",
        "ProjectBuildOptions": {
          "PromptForOverwrite": false,
          "WindowsClassicStyle": true,
          "Rebuild": 1,
          "//Rebuild": "0: Incremental; 1: Full; "
        },
        "CodeGenerationOptions": {
          "Platform": 0,
          "//Platform": "0: 32-bit; 1: 64-bit; ",
          "32Bit": {
            "CodeType": 0,
            "//CodeType": "0: Pcode; 1: Machine code; ",
            "MachineCode": {
              "TraceInformation": false,
              "ErrorContextInformation": false,
              "Optimization": 0,
              "//Optimization": "0: Speed; 1: Space; 2: None; "
            }
          },
          "64Bit": {
            "CodeType": 0,
            "//CodeType": "0: Pcode; "
          },
          "EnableDebugSymbol": true
        }
      },
      "Libraries": [
        {
          "Library": "ship.pbl",
          "GeneralPBD": false,
          "PBRFileName": ""
        },
        {
          "Library": "securfix.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "debug.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "shipx.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "shipm.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "shipn.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "shipd.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "shipw.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfeapsrv.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfedwsrv.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfemain.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfeutil.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfewnsrv.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfcutil.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfcdwsrv.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfcmain.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfcapsrv.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        },
        {
          "Library": "pfcwnsrv.pbl",
          "GeneralPBD": true,
          "PBRFileName": ""
        }
      ],
      "Version": {
        "PropertiesDisplayedForExecutable": {
          "ProductName": "PowerBuilder Enterprise Series",
          "CompanyName": "Sybase, Inc.",
          "Description": "Sybase, Inc. Product File",
          "Copyright": "",
          "ProductVersion": "1,0,0,1",
          "FileVersion": "1,0,0,1"
        },
        "ExecutableVersionUsedByInstaller": {
          "ProductVersion": [
            1,
            0,
            0,
            1
          ],
          "FileVersion": [
            1,
            0,
            0,
            1
          ]
        }
      },
      "Security": {
        "ManifestInformation": {
          "GenerateOptions": 0,
          "//GenerateOptions": "0: No manifest; 1: Embedded Manifest; 2: External manifest; ",
          "ExecutionLevel": 0,
          "//ExecutionLevel": "0: As Invoker; 1: Highest Available; 2: Require Administrator; ",
          "AllowAccessToProtectedSystemUI": false
        }
      },
      "Run": {
        "Application": "c:\\workspaces\\powerbuilder\\pb2022r3\\shopdirect\\shipping\\pb12application\\ship.exe",
        "Arguments": "",
        "StartIn": "",
        "RuntimePathInApplicationXML": "C:\\Program Files (x86)\\Appeon\\Common\\PowerBuilder\\Runtime 22.1.0.2828"
      }
    }
  }
}

 

 

====================================================================

Your thoughts please?


Responses (3)
  1. Likes
  2. Latest
  3. Oldest
Loading...

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom

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.