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 107787

Summary: IDE becomes unresponsive
Product: cnd Reporter: Milos Kleint <mkleint>
Component: -- Other --Assignee: issues@cnd <issues>
Status: VERIFIED FIXED    
Severity: blocker CC: mmirilovic
Priority: P1    
Version: 6.x   
Hardware: All   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 106361    

Description Milos Kleint 2007-06-22 10:48:38 UTC
MacOSX + jdk 1.5, netbeans daily build 070621


1. Open Preferences.. (aka Tools/Options) dialog.
2. click in the C++ icon.
--> IDE stops responding, cannot close dialog, have to hard kill the IDE.

relevant section from thread dump.


"AWT-EventQueue-1" prio=6 tid=0x00573050 nid=0x1877c00 runnable [0xb186d000..0xb186ed10]
        at java.lang.String.indexOf(String.java:1600)
        at java.lang.String.indexOf(String.java:1564)
        at org.netbeans.modules.cnd.makeproject.api.compilers.GNUCCCompiler.parseCompilerOutput(GNUCCCompiler.java:214)
        at org.netbeans.modules.cnd.makeproject.api.compilers.CCCCompiler.getSystemIncludesAndDefines(CCCCompiler.java:60)
        at
org.netbeans.modules.cnd.makeproject.api.compilers.GNUCCCompiler.getFreshSystemIncludesAndDefines(GNUCCCompiler.java:153)
        at
org.netbeans.modules.cnd.makeproject.api.compilers.GNUCCCompiler.getSystemIncludesAndDefines(GNUCCCompiler.java:145)
        at
org.netbeans.modules.cnd.makeproject.api.compilers.GNUCCCompiler.getSystemIncludeDirectories(GNUCCCompiler.java:125)
        at org.netbeans.modules.cnd.makeproject.ui.options.PredefinedPanel.updatePanels(PredefinedPanel.java:60)
        at org.netbeans.modules.cnd.makeproject.ui.options.PredefinedPanel.<init>(PredefinedPanel.java:51)
        at org.netbeans.modules.cnd.makeproject.ui.options.ParserSettingsPanel.updateTabs(ParserSettingsPanel.java:89)
        at
org.netbeans.modules.cnd.makeproject.ui.options.ParserSettingsPanel.updateCompilerCollections(ParserSettingsPanel.java:79)
        at org.netbeans.modules.cnd.makeproject.ui.options.ParserSettingsPanel.update(ParserSettingsPanel.java:189)
        at org.netbeans.modules.cnd.makeproject.ui.options.ParserSettingsPanel.<init>(ParserSettingsPanel.java:54)
        at
org.netbeans.modules.cnd.makeproject.ui.options.CodeAssistancePanelController.<init>(CodeAssistancePanelController.java:31)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at org.openide.loaders.InstanceSupport.instanceCreate(InstanceSupport.java:197)
        at org.openide.loaders.InstanceDataObject$Ser.instanceCreate(InstanceDataObject.java:1192)
        at org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.java:695)
        at org.openide.loaders.FolderLookup$ICItem.getInstance(FolderLookup.java:515)
        at org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:897)
        at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:457)
        at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:400)
        at
org.netbeans.modules.cnd.ui.options.CndOptionsPanelController.findEmbeddedControllers(CndOptionsPanelController.java:126)
        at org.netbeans.modules.cnd.ui.options.CndOptionsPanelController.init(CndOptionsPanelController.java:107)
        at org.netbeans.modules.cnd.ui.options.CndOptionsPanelController.getComponent(CndOptionsPanelController.java:92)
        at org.netbeans.modules.options.CategoryModel$Category.getComponent(CategoryModel.java:370)
        at org.netbeans.modules.options.OptionsPanel.setCurrentCategory(OptionsPanel.java:150)
        at org.netbeans.modules.options.OptionsPanel.access$200(OptionsPanel.java:70)
        at org.netbeans.modules.options.OptionsPanel$CategoryButton.mouseReleased(OptionsPanel.java:540)
        at java.awt.Component.processMouseEvent(Component.java:5554)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
        at java.awt.Component.processEvent(Component.java:5319)
        at java.awt.Container.processEvent(Container.java:2010)
        at java.awt.Component.dispatchEventImpl(Component.java:4021)
        at java.awt.Container.dispatchEventImpl(Container.java:2068)
        at java.awt.Component.dispatchEvent(Component.java:3869)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
        at java.awt.Container.dispatchEventImpl(Container.java:2054)
        at java.awt.Window.dispatchEventImpl(Window.java:1774)
        at java.awt.Component.dispatchEvent(Component.java:3869)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Marian Mirilovic 2007-06-22 10:54:52 UTC
I think this is Mac specific - not reproducible on Ubuntu
Comment 2 Alexander Simon 2007-06-22 11:35:35 UTC
fixed in development branch "grgich_hills"

CVS log:

Checking in CCCCompiler.java;
/shared/data/ccvs/repository/cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/api/compilers/CCCCompiler.java,v 
<--  CCCCompiler.java
new revision: 1.2.2.5.10.4.4.1; previous revision: 1.2.2.5.10.4
done
Checking in SunCCCompiler.java;
/shared/data/ccvs/repository/cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/api/compilers/SunCCCompiler.java,v
 <--  SunCCCompiler.java
new revision: 1.2.2.8.10.10.4.2; previous revision: 1.2.2.8.10.10.4.1
done
Checking in SunCCompiler.java;
/shared/data/ccvs/repository/cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/api/compilers/SunCCompiler.java,v
 <--  SunCCompiler.java
new revision: 1.2.2.6.10.8.4.3; previous revision: 1.2.2.6.10.8.4.2
done
Checking in GNUCCompiler.java;
/shared/data/ccvs/repository/cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/api/compilers/GNUCCompiler.java,v
 <--  GNUCCompiler.java
new revision: 1.2.2.10.10.10.4.2; previous revision: 1.2.2.10.10.10.4.1
done
Checking in GNUCCCompiler.java;
/shared/data/ccvs/repository/cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/api/compilers/GNUCCCompiler.java,v
 <--  GNUCCCompiler.java
new revision: 1.2.2.11.10.10.4.2; previous revision: 1.2.2.11.10.10.4.1
done
Comment 3 Peter Pis 2007-06-26 09:42:54 UTC
Could you please verify this issue for M10? Thanks.
Comment 4 Milos Kleint 2007-06-26 10:29:20 UTC
verified in yesterday's daily build.