Questions? Feedback?powered byOlark live chat software

Standard Support

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

Regards,
Ken
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.

Regards,
Ken
Robert Rahn 18 October, 2018
Hi,

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. 

Regards,
Ken
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? 

Regards,
Ken
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? 

Regards,
Ken
Robert Rahn 24 April, 2018
Hi,

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="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2018-04-24T09:38:13.440298600Z" /> 
  <EventRecordID>987773</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>IT0123293.eventim.ag</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>orcascr170.exe</Data> 
  <Data>0.0.0.0</Data> 
  <Data>5aab7d32</Data> 
  <Data>PBVM170.dll</Data> 
  <Data>17.0.0.1769</Data> 
  <Data>5aab7e4e</Data> 
  <Data>c0000005</Data> 
  <Data>001726fc</Data> 
  <Data>6a0</Data> 
  <Data>01d3dbae88d7f3f6</Data> 
  <Data>C:\Program Files (x86)\Appeon\Shared\PowerBuilder\orcascr170.exe</Data> 
  <Data>C:\Program Files (x86)\Appeon\Shared\PowerBuilder\PBVM170.dll</Data> 
  <Data>b389c904-9aa8-4795-924c-69ce9a2b082e</Data> 
  <Data /> 
  <Data /> 
  </EventData>
  </Event>
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.

Regards,
Ken
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.


Regards,
Robert Rahn 23 April, 2018
bootstrap_example.zip (4KB)

*Phenomenon:
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

Remark:

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.
OS:
All 
Platform:
All 
Database Type:
 
Database Version: