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.
Hi I have problem with my Netbeans. After pressing Run Main Project (F6), the project is built, but report an error (see appendix), doesn't start and if I would like to stop this thread, it's no go. Thread is running until the end of Netbeans. Here is a part of log file: SEVERE [org.netbeans.modules.mercurial]: execEnv(): execEnv(): IOException java.io.IOException: Cannot run program "hg": CreateProcess error=2, System cannot find this file ... Compiler: HotSpot 64-Bit Server Compiler Heap memory usage: initial 32,0MB maximum 455,1MB Non heap memory usage: initial 34,4MB maximum 248,0MB Garbage collector: PS Scavenge (Collections=10 Total time spent=0s) Garbage collector: PS MarkSweep (Collections=1 Total time spent=0s) Classes: loaded=6002 total loaded=6002 unloaded 0 INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 4 184 944 640 INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 2 source roots took: 1981 ms INFO [org.netbeans.modules.extbrowser]: Cannot detect Firefox : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\FIREFOX.exe. INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe. INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 7 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCP.exe. INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 6 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCP6.exe. INFO [org.netbeans.modules.extbrowser]: Cannot detect Netscape 4 : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\NETSCAPE.exe. SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.cnd.makeproject.api.ProjectActionSupport$HandleEvents$4 java.lang.NullPointerException at java.lang.ProcessBuilder.start(ProcessBuilder.java:441) at ... at ... Thanks for your help. hass
The message SEVERE [org.netbeans.modules.mercurial]: ... at the beginning of the log file has nothing to do with your problem, it's a simple notification message (in 6.8 the level is INFO and no more SEVERE), so mercurial has nothing to do woth this. Your problem is probably caused by the NPE in o.n.m.cnd.makeproject.api.ProjectActionSupport. Please attach the whole message log, i thing cnd guys will need it. Reassigning to cnd for evaluation
Created attachment 88648 [details] messages.log to mine problem
looks like execution issue
Please find patch for NetBeans6.7 attached in IZ http://www.netbeans.org/issues/show_bug.cgi?id=169010 This problem is fixed in NB6.8 *** This issue has been marked as a duplicate of 169010 ***