This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 248263 - Play/Run button greyed out when it shouldn't be
Summary: Play/Run button greyed out when it shouldn't be
Status: RESOLVED INCOMPLETE
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-30 05:22 UTC by chunkyks
Modified: 2016-04-06 10:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chunkyks 2014-10-30 05:22:29 UTC
I have projects of several types open in netbeans simultaneously; a thick java client using swing, and a JavaEE project using tomcat. When the tomcat project is "running" [which specifically appears to mean that tomcat is running], I am unable to make the "play" button for the thick client work; it is permanantly greyed out.

Steps to reproduce:
1. Create new project of type "Java Web Application" using tomcat as the server
2. Create new, separate, project of type "Java Application"
3. Go to Run->Set Main Project->{Choose web app}
4. Click play/run green arrow. Watch as stuff happens for a moment or two.
5. Right click on the Java Application, click "Set as Main Project"
6. Notice that build/play/etc buttons are all greyed out.
7. I have not discovered a way to un-grey them without restarting the IDE.

Obviously this is a large issue because it means I cannot have both Web projects and {other projects} running at the same time.

Please re-visit bug #213034. I believe the entire behaviour of greying out the build and play buttons is a major issue that should just be resolved by allowing them to never be disabled, possibly as an option in the IDE.
Comment 1 Tomas Mysik 2015-05-27 12:54:56 UTC
I tried to reproduce your issue but it works for me correctly in the dev build. Is it reliably reproducible or random?

Thanks.

Product Version: NetBeans IDE Dev (Build 20150527-1ef98aea406f)
Java: 1.7.0_80; Java HotSpot(TM) 64-Bit Server VM 24.80-b11
Runtime: Java(TM) SE Runtime Environment 1.7.0_80-b15
System: Linux version 3.19.0-18-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 2 Tomas Mysik 2015-05-27 13:00:22 UTC
In any case, seems to me to be a generic project support issue. Please evaluate, thanks.
Comment 3 Tomas Stupka 2016-04-06 10:42:50 UTC
any update on this?