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 170492 - Unable to bring up properties in the 'Projects' tab
Summary: Unable to bring up properties in the 'Projects' tab
Status: RESOLVED DUPLICATE of bug 169010
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Macintosh (x86) Windows Vista
: P3 blocker (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-17 17:04 UTC by twhite
Modified: 2009-08-17 21:34 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 twhite 2009-08-17 17:04:44 UTC
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.
Comment 1 Leonid Lenyashin 2009-08-17 17:36:07 UTC
Looks as native execution issue.
Comment 2 twhite 2009-08-17 21:14:31 UTC
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)
Comment 3 mclaassen 2009-08-17 21:17:16 UTC
WindowsSupport should not be using the root logger.  See http://www.netbeans.org/issues/show_bug.cgi?id=170506
Comment 4 soldatov 2009-08-17 21:30:25 UTC
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.
Comment 5 Alexey Vladykin 2009-08-17 21:34:39 UTC
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 ***