1. Tracy Lamb
  2. PowerBuilder
  3. Friday, 18 February 2022 20:35 PM UTC

Hi Friends,

Today, I was doing something that I have done a dozen times... I added a new target to my workspace and created a new target using an existing application.  Made all the changes needed and saved.  When I compiled, I got multiple errors.  That's fine... But I set a different target in the same workspace (to see what I did in the past to fix the same errors), one that's been deployed successfully... and I get the following error when opening the application object:

I am getting this error on every target application except the new application.  The application objects have no ancestors, I haven't deleted anything, and I'm not running a newer version of PB.  Absolutely nothing changed in the previous targets.

I tried removing the new target from the workspace, restart PB without the new target, and same error.  I can open other objects, just not the application object. And, the existing targets won't rebuild without errors.

What to do?

TIA,
~~~Tracy

 

Who is viewing this page
Accepted Answer
Tracy Lamb Accepted Answer Pending Moderation
  1. Saturday, 19 February 2022 18:30 PM UTC
  2. PowerBuilder
  3. # Permalink

Thanks all for your ideas/thoughts.  I finally had to just delete the target and associated pbl, copy and rename an existing pbl with AO, then create a new target from existing app.  Thank goodness I didn't loose any changes I made to the other objects in other pbl files.  

~~~Tracy

Comment
There are no comments made yet.
Tracy Lamb Accepted Answer Pending Moderation
  1. Friday, 18 February 2022 22:58 PM UTC
  2. PowerBuilder
  3. # 1

All AO's? Actually, that's not the problem. I started from scratch with a new app.  Now I can open any other application object without a problem. But when I try a full rebuild on the new app, I get the following error:

And when I try to open w_benchtop_frame window, I get this error:

All of this works just fine in the other applications,  open w_benchTop_frame, full rebuild, deploy, etc.  I tripled checked the library list to ensure that they are all there... they are.

~~~Tracy

 

Comment
  1. Chris Pollach @Appeon
  2. Saturday, 19 February 2022 00:14 AM UTC
Looks like some global variable mappings to the PFC App Mgr, Error, SQLCA, etc are missing in that app object OR some PFC PBL's are missing from the application's library list

  1. Helpful
  1. Tracy Lamb
  2. Saturday, 19 February 2022 18:35 PM UTC
I triple checked the library list, nothing missing. The global variables were missing when I created a new application, but I couldn't open the AO to add those variables. But, the global variables were all there when I initially tried to create a new target from an existing app. I've done this at least a dozen times... mystery to me why this one was so much touble.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 18 February 2022 21:21 PM UTC
  2. PowerBuilder
  3. # 2

Hi Tracy;

   Sounds like the Application Object class has somehow become corrupted. Can you you restore the AO from a back up copy?

Regards ... Chris

Comment
  1. Chris Pollach @Appeon
  2. Friday, 18 February 2022 21:39 PM UTC
Another thought could be that the App Object is under SCC and unless you check it out, the IDE cannot update it.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.