Questions? Feedback?powered byOlark live chat software
Bug 1037

Orcascript bootstrap import does not work with events throwing custom exceptions 05 December, 2018

Robert Rahn
23 April, 2018
Product: PowerBuilder Category: Other
Version: 2017 R2 Publishing: Public
Status: Verifying Priority: P2
Classification: Sybase (legacy) bug Resolution:
Ken Guo 22 November, 2018
Hi Robert,

Based on the analysis from our development team, we found that there is a defect in 3pass. Currently we don’t have a plan to fix it but we do have a workaround for it.
Please add ‘scc refresh target incremental’ before ‘scc refresh target 3pass’ to work around this issue as shown below:

start session
set debug true
scc set connect property logfile "createpbls.log"
scc connect offline  
scc set target "bootstrap\bootstrap.pbt" importonly
scc refresh target incremental 
scc refresh target 3pass
scc close  
end session

Ken Guo 18 October, 2018
Hi Robert,

We’ve submitted this issue to our development team. They will determine whether they can fix it in PB 2018 based on their analysis of the issue and their schedule. We will update you if it will be fixed in PB 2018.

Robert Rahn 18 October, 2018

are there any plans to fix this issue in PB 2018 ? It would really make our build progress better,easier and cleaner
Ken Guo 25 April, 2018
Hi Robert,

OK, then we’ll first address the original problem. 
However please understand that there’s little possibility to include it in PB 2017 R3. The team will begin to analyze it after the release PB 2017 R3. 

Robert Rahn 25 April, 2018
createpbls.log (57KB)

(In reply to Ken Guo from comment #5)
Hi Robert,

Can you please provide us a test case that can reproduce the Orcascript
crash issue for further analysis? 

Sorry i do not think it will be possible. There is no output which file causes the crash so i do not know how to reproduce the crash. Also i can not upload the original code since it is forbidden by company policy. It would be best if the original problem could be fixed so i can check if the problem is already solved afterwards. As i said : running the script twice wont be feasible for us since the build times would be much too long that way. I have attached the Log-File of the second orcascript run. Best regards, Robert
Ken Guo 25 April, 2018
Hi Robert,

Can you please provide us a test case that can reproduce the Orcascript crash issue for further analysis? 

Robert Rahn 24 April, 2018

unfortunately running orcascript twice does not work for us for two reasons :

1. The builds would take a very long time ( > 60 Minutes)
2. Orcascript crashes on the second run. This is the XML Data von Event viewer :

- <Event xmlns="">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <TimeCreated SystemTime="2018-04-24T09:38:13.440298600Z" /> 
  <Security /> 
- <EventData>
  <Data>C:\Program Files (x86)\Appeon\Shared\PowerBuilder\orcascr170.exe</Data> 
  <Data>C:\Program Files (x86)\Appeon\Shared\PowerBuilder\PBVM170.dll</Data> 
  <Data /> 
  <Data /> 
Ken Guo 24 April, 2018
Hi Robert,

Thanks for the test case.
We reproduced it on our end and will do further research to figure it out. We will keep you posted about the progress.

Currently please try to execute orcascript.bat twice to work it around.

Govinda Lopez 23 April, 2018
Hi Robert,

I will be working on analyzing/reproducing your case. We will keep you posted on the results here.

Robert Rahn 23 April, 2018 (4KB)

When creating PBL files from codeobjects the build fails if an event throws a custom exception.

*Reproduce Steps:
create an application with a window. this window should have an event with custom exceptions in the throws field


Please check the attached file. There is a complete example including different cases (working and not working) and a readme.txt file for further understanding.
Database Type:
Database Version: