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 218514 - On Mac Preferences can't be opened
Summary: On Mac Preferences can't be opened
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-18 08:44 UTC by jeanfrancoisdenise
Modified: 2012-09-18 09:08 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 jeanfrancoisdenise 2012-09-18 08:44:12 UTC
On Mac, we got the following Exception and the Preferences are not opened.

This is very annoying. I need to setup the path to the SceneBuilder tool.

java.lang.ArrayIndexOutOfBoundsException: No such child: 1
	at java.awt.Container.getComponent(Container.java:327)
	at org.netbeans.modules.options.OptionsPanel.initUI(OptionsPanel.java:332)
	at org.netbeans.modules.options.OptionsPanel.<init>(OptionsPanel.java:171)
	at org.netbeans.modules.options.OptionsDisplayerImpl.showOptionsDialog(OptionsDisplayerImpl.java:165)
	at org.netbeans.api.options.OptionsDisplayer$3.run(OptionsDisplayer.java:190)
	at org.netbeans.api.options.OptionsDisplayer$3.run(OptionsDisplayer.java:176)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1363)
	at org.openide.util.Mutex.readAccess(Mutex.java:273)
	at org.netbeans.api.options.OptionsDisplayer.openImpl(OptionsDisplayer.java:176)
	at org.netbeans.api.options.OptionsDisplayer.open(OptionsDisplayer.java:163)
	at org.netbeans.api.options.OptionsDisplayer.open(OptionsDisplayer.java:117)
	at org.netbeans.modules.options.OptionsWindowAction.actionPerformed(OptionsWindowAction.java:64)
	at org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:197)
	at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
	at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
	at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
	at org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:200)
[catch] at org.netbeans.modules.applemenu.NbApplicationAdapter.performAction(NbApplicationAdapter.java:194)
	at org.netbeans.modules.applemenu.NbApplicationAdapter.handlePreferences(NbApplicationAdapter.java:172)
	at com.apple.eawt._AppEventLegacyHandler$2.dispatchEvent(_AppEventLegacyHandler.java:110)
	at com.apple.eawt._AppEventLegacyHandler.sendEventToEachListenerUntilHandled(_AppEventLegacyHandler.java:188)
	at com.apple.eawt._AppEventLegacyHandler.handlePreferences(_AppEventLegacyHandler.java:108)
	at com.apple.eawt._AppEventHandler$_PreferencesDispatcher.performUsing(_AppEventHandler.java:261)
	at com.apple.eawt._AppEventHandler$_PreferencesDispatcher.performUsing(_AppEventHandler.java:252)
	at com.apple.eawt._AppEventHandler$_AppEventDispatcher$1.run(_AppEventHandler.java:497)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:711)
	at java.awt.EventQueue.access$000(EventQueue.java:104)
	at java.awt.EventQueue$3.run(EventQueue.java:672)
	at java.awt.EventQueue$3.run(EventQueue.java:670)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:681)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:158)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Comment 1 Petr Somol 2012-09-18 08:53:06 UTC
If I understand it right you mean the IDE wide Options panel does not show up at all when you try to open it through menu Tools->Options ? (on Mac I understand IDE Options is actually called Properties and is accessible in the standard menu position where all applications have it, is it the last item in the leftmost submenu or so?)

If the IDE Options/Properties dialog as a whole fails to open, it needs to be investigated with priority. Fanis please would you evaluate?
Comment 2 jeanfrancoisdenise 2012-09-18 09:04:19 UTC
Yes, on Mac you have in the NetBeans menu, a Preferences menu. The Preferences as a whole fails to open.
Comment 3 Theofanis Oikonomou 2012-09-18 09:08:03 UTC
I think this should be fixed by
http://hg.netbeans.org/core-main/rev/98775f5d9c27

If not please reopen. I guess it is not into main-golden yet. Thank you