Hi,
I've had similar problems - as described in bug 4103 - before, don't recall in which version of pb, but it was an initial one for pb2017.
- When I would do a deploy/build from the project painter, it would always crash.
- The solution was to not having the project painter open and right click on the target in the library painter and choosing the menu option "deploy". That never failed.
I'm not saying it's the same problem, but maybe you can workaround your problem the same way?
I know someone else also had this problem and solved it in the same way by using the contextual menu "deploy" on the library painter...
HIH