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 232542

Summary: First time running an existing JavaFX project causes "Main class wasn't found" dialog
Product: javafx Reporter: Lou Dasaro <mr_lou_d>
Component: ProjectAssignee: Petr Somol <psomol>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Lou Dasaro 2013-07-11 00:29:45 UTC
After installing the newer version of Netbeans, and after I clean/build any JavaFX project and try to run or debug it, I receive the following dialog:

/-----------------------------------------------------------\
|                                                           |
| com.javafx.main.Main class wasn't found in wxyz project.  |
|                                                           |
| _Select the main class:                                   |
|  wxyz.Wxyz                                                |
|                                                           |
|               |     Ok      |   Cancel  |                 |
\-----------------------------------------------------------/

Definitely not a show-stopper. The workaround, of course, is to answer the dialog. But its annoying, and makes me wonder if there isn't something I'm missing (?), similar to the solution given in Bug 212059

Product Version: NetBeans IDE 7.4 Beta (Build 201307092200)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Linux version 2.6.32-300.3.1.el6uek.x86_64 running on amd64; UTF-8; en_US (nb)
Comment 1 Lou Dasaro 2013-07-22 04:07:53 UTC
This anomaly not present in NetBeans IDE Dev (Build 201307192300).
I would consider it fixed.