Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 155603 - platform manager removes platform in use without "warning"
platform manager removes platform in use without "warning"
Status: NEW
Product: python
Classification: Unclassified
Component: Projects
All All
: P3 (vote)
Assigned To: Lou Dasaro
Depends on:
  Show dependency treegraph
Reported: 2008-12-16 22:24 UTC by Peter Lam
Modified: 2015-05-24 20:45 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2008-12-16 22:24:14 UTC
When a project is associated with a particular platform runtime, removing that platform runtime from the platform
manager is allowed without warning that a platform is being used by the project. Then, looking at the project's platform
runtime from project's properties shows the default platform runtime is used because the previously assigned platform
has been removed. But running the project is not possible and the dialog showing the following message popped up.
Manually reselecting the python platform runtime is needed in order to run or debug the project again.

dialog title: Python Launch Error 
dialog message: select project has broken python platform: default=> bind to an existing python platform in project's

steps to reproduce:
- make sure there are at least 2 python platforms listed in python platform manager
- create a python project using one of the available python platforms
- select Tools->Python Platform and remove the platform that's used by the project, close the platform manager
- right click on the project and select Properties
- click Python from the Categories. The default python platform runtime is displayed instead of the previously selected
during project creation, click Cancel on the Properties dialog
- right click on the project and select Run or Debug. The dialog mentioned above popped up and project can not be run or

Solution: maybe a warning dialog should be displayed to allow user to confirm if a python platform in use should be removed.
Comment 1 Lou Dasaro 2015-05-18 03:53:11 UTC
Since it's the USER who is deleting the platform, giving them a warning that  "existing projects use said platform" is a nice enhancement...

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo