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.
I have downloaded and installed the complete bundle of Netbeans 6.7.1. After installing the product, I am now unable to access the properties window for projects and files (from inside the 'Projects' tab. Althought, I can open properties under the 'Favorites' tab. Product Version: NetBeans IDE 6.7.1 (Build 200907230233) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Userdir: C:\Users\tomw\.netbeans\6.7 I receive the following exception: java.lang.NullPointerException at java.lang.ProcessBuilder.start(ProcessBuilder.java:441) at org.netbeans.modules.nativeexecution.support.HostInfoImpl.getLocalHostInfo(HostInfoImpl.java:128) at org.netbeans.modules.nativeexecution.support.HostInfoImpl.getHostInfo(HostInfoImpl.java:100) at org.netbeans.modules.nativeexecution.support.HostInfoFetcher.getInfo(HostInfoFetcher.java:82) at org.netbeans.modules.nativeexecution.api.util.HostInfoUtils.getHostInfo(HostInfoUtils.java:301) at org.netbeans.modules.dlight.util.Util.copyResource(Util.java:87) at org.netbeans.modules.dlight.memory.MemoryToolConfigurationProvider.getScriptFile (MemoryToolConfigurationProvider.java:158) at org.netbeans.modules.dlight.memory.MemoryToolConfigurationProvider.initDtraceDataCollectorConfiguration (MemoryToolConfigurationProvider.java:128) at org.netbeans.modules.dlight.memory.MemoryToolConfigurationProvider.create (MemoryToolConfigurationProvider.java:108) at org.netbeans.modules.dlight.api.tool.ToolsConfiguration.getToolsSet(ToolsConfiguration.java:124) at org.netbeans.modules.dlight.api.tool.DLightConfiguration.getToolsSet(DLightConfiguration.java:116) at org.netbeans.modules.cnd.gizmo.options.GizmoOptionsImpl.init(GizmoOptionsImpl.java:120) at org.netbeans.modules.cnd.gizmo.options.GizmoOptionsImpl.clone(GizmoOptionsImpl.java:365) at org.netbeans.modules.cnd.gizmo.options.GizmoOptionsImpl.clone(GizmoOptionsImpl.java:66) at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfiguration.clone(MakeConfiguration.java:547) at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfiguration.cloneConf (MakeConfiguration.java:420) at org.netbeans.modules.cnd.makeproject.api.configurations.Configurations.getClonedConfs (Configurations.java:182) at org.netbeans.modules.cnd.makeproject.api.configurations.Configurations.cloneConfs(Configurations.java:398) at org.netbeans.modules.cnd.makeproject.api.configurations.ConfigurationDescriptor.cloneProjectDescriptor (ConfigurationDescriptor.java:107) at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.cloneProjectDescriptor (MakeConfigurationDescriptor.java:536) at org.netbeans.modules.cnd.makeproject.api.MakeCustomizerProvider.showCustomizerWorker (MakeCustomizerProvider.java:174) at org.netbeans.modules.cnd.makeproject.api.MakeCustomizerProvider.access$000(MakeCustomizerProvider.java:76) at org.netbeans.modules.cnd.makeproject.api.MakeCustomizerProvider$1.run(MakeCustomizerProvider.java:121) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030) From the stack trace above, it appears to be part of the DLight package.
Looks as native execution issue.
I downloaded and installed a Netbeans plugin to allow me to set the log level. I then set the log to FINE, and hit properties on a project. The log messages are below. It looks like it is expecting there to be a shell that is not present. Our Java developer did some additional checking, and determined that it was looking for SH.EXE in my path. I do not have SH.EXE, as this is a Windows Vista desktop. What can be done to correct this? FINE [org.openide.util.RequestProcessor]: Null task for item org.openide.util.RequestProcessor$Item FINE [org.openide.util.RequestProcessor]: notifyRunning: RequestProcessor.Task [Logging Flush, 1] for task org.netbeans.core.startup.TopLogging$NonClose@5bcb22 FINE [org.openide.util.RequestProcessor]: notifyFinished: RequestProcessor.Task [Timeable Event Queue Watch Dog, 1] for task org.netbeans.core.TimableEventQueue@170008e FINE [nativeexecution.support.logger]: WindowsSupport: no shell found FINE [org.openide.util.RequestProcessor]: notifyRunning: RequestProcessor.Task [Logging Flush, 1] for task org.netbeans.core.startup.TopLogging$NonClose@5bcb22 FINE [org.openide.util.RequestProcessor]: Null task for item org.openide.util.RequestProcessor$Item FINE [org.openide.util.RequestProcessor]: notifyRunning: RequestProcessor.Task [Logging Flush, 1] for task org.netbeans.core.startup.TopLogging$NonClose@5bcb22 FINE [org.openide.util.RequestProcessor]: notifyRunning: RequestProcessor.Task [Logging Flush, 1] for task org.netbeans.core.startup.TopLogging$NonClose@5bcb22 FINE [org.openide.util.RequestProcessor]: notifyRunning: RequestProcessor.Task [Logging Flush, 1] for task org.netbeans.core.startup.TopLogging$NonClose@5bcb22 FINE [org.openide.util.RequestProcessor]: notifyRunning: RequestProcessor.Task [Logging Flush, 1] for task org.netbeans.core.startup.TopLogging$NonClose@5bcb22 FINE [nativeexecution.support.logger]: WindowsSupport: no shell found FINE [org.openide.util.RequestProcessor]: notifyRunning: RequestProcessor.Task [Logging Flush, 1] for task org.netbeans.core.startup.TopLogging$NonClose@5bcb22 FINE [org.openide.util.RequestProcessor]: notifyRunning: RequestProcessor.Task [Logging Flush, 1] for task org.netbeans.core.startup.TopLogging$NonClose@5bcb22 FINE [org.openide.util.RequestProcessor]: notifyFinished: RequestProcessor.Task [Default RequestProcessor, 1] for task org.netbeans.modules.cnd.makeproject.api.MakeCustomizerProvider$1@115f8ed FINE [org.openide.util.RequestProcessor]: notifyRunning: RequestProcessor.Task [Logging Flush, 1] for task org.netbeans.core.startup.TopLogging$NonClose@5bcb22 FINE [org.openide.util.RequestProcessor]: notifyRunning: RequestProcessor.Task [Logging Flush, 1] for task org.netbeans.core.startup.TopLogging$NonClose@5bcb22 FINE [org.openide.util.RequestProcessor]: notifyFinished: RequestProcessor.Task [Default RequestProcessor, 1] for task org.netbeans.modules.cnd.makeproject.api.MakeCustomizerProvider$1@115f8ed FINE [org.openide.util.RequestProcessor]: notifyRunning: RequestProcessor.Task [Logging Flush, 1] for task org.netbeans.core.startup.TopLogging$NonClose@5bcb22 FINE [org.openide.util.RequestProcessor]: notifyRunning: RequestProcessor.Task [Logging Flush, 1] for task org.netbeans.core.startup.TopLogging$NonClose@5bcb22 SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.cnd.makeproject.api.MakeCustomizerProvider$1 java.lang.NullPointerException at java.lang.ProcessBuilder.start(ProcessBuilder.java:441) at org.netbeans.modules.nativeexecution.support.HostInfoImpl.getLocalHostInfo(HostInfoImpl.java:128) at org.netbeans.modules.nativeexecution.support.HostInfoImpl.getHostInfo(HostInfoImpl.java:100) at org.netbeans.modules.nativeexecution.support.HostInfoFetcher.getInfo(HostInfoFetcher.java:82) at org.netbeans.modules.nativeexecution.api.util.HostInfoUtils.getHostInfo(HostInfoUtils.java:301) at org.netbeans.modules.dlight.util.Util.copyResource(Util.java:87) at org.netbeans.modules.dlight.memory.MemoryToolConfigurationProvider.getScriptFile (MemoryToolConfigurationProvider.java:158) at org.netbeans.modules.dlight.memory.MemoryToolConfigurationProvider.initDtraceDataCollectorConfiguration (MemoryToolConfigurationProvider.java:128) at org.netbeans.modules.dlight.memory.MemoryToolConfigurationProvider.create (MemoryToolConfigurationProvider.java:108) at org.netbeans.modules.dlight.api.tool.ToolsConfiguration.getToolsSet(ToolsConfiguration.java:124) at org.netbeans.modules.dlight.api.tool.DLightConfiguration.getToolsSet(DLightConfiguration.java:116) at org.netbeans.modules.cnd.gizmo.options.GizmoOptionsImpl.init(GizmoOptionsImpl.java:120) at org.netbeans.modules.cnd.gizmo.options.GizmoOptionsImpl.clone(GizmoOptionsImpl.java:365) at org.netbeans.modules.cnd.gizmo.options.GizmoOptionsImpl.clone(GizmoOptionsImpl.java:66) at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfiguration.clone(MakeConfiguration.java:547) at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfiguration.cloneConf (MakeConfiguration.java:420) at org.netbeans.modules.cnd.makeproject.api.configurations.Configurations.getClonedConfs (Configurations.java:182) at org.netbeans.modules.cnd.makeproject.api.configurations.Configurations.cloneConfs(Configurations.java:398) at org.netbeans.modules.cnd.makeproject.api.configurations.ConfigurationDescriptor.cloneProjectDescriptor (ConfigurationDescriptor.java:107) at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.cloneProjectDescriptor (MakeConfigurationDescriptor.java:536) at org.netbeans.modules.cnd.makeproject.api.MakeCustomizerProvider.showCustomizerWorker (MakeCustomizerProvider.java:174) at org.netbeans.modules.cnd.makeproject.api.MakeCustomizerProvider.access$000(MakeCustomizerProvider.java:76) at org.netbeans.modules.cnd.makeproject.api.MakeCustomizerProvider$1.run(MakeCustomizerProvider.java:121) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)
WindowsSupport should not be using the root logger. See http://www.netbeans.org/issues/show_bug.cgi?id=170506
SH.exe from Cygwin or MSYS should be on you system (path to this tool should be added into PATH environment variable) Have you this problem in C/C++ project? P.S. This problem is fixed in nightly builds.
This is a duplicate of issue 169010. Already fixed in trunk. You can try nighly builds or, as a workaround, install MinGW or Cygwin. *** This issue has been marked as a duplicate of 169010 ***