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 195901 - IllegalArgumentException: input list [] doesn't contain default element:
Summary: IllegalArgumentException: input list [] doesn't contain default element:
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 19:14 UTC by Exceptions Reporter
Modified: 2011-02-26 05:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 176831


Attachments
stacktrace (3.04 KB, text/plain)
2011-02-23 19:15 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-02-23 19:14:57 UTC
This issue was reported manually by vv159170.
It already has 2 duplicates 


Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: OpenJDK 64-Bit Server VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0_20-b20
OS: Linux

User Comments:
GUEST: Options->Editor->Formatting
Setting Tab Size to 4 then clicked OK.  It looks like the Language combo box went blank.

GUEST: Tools->Options->Editor->Formatting
Setting tab size to 4 from 8.
The Language combo box always reverts to nil (eg no languages to select) when clicking OK.




Stacktrace: 
java.lang.IllegalArgumentException: input list [] doesn't contain default element:
   at org.netbeans.modules.cnd.utils.MIMEExtensions.setExtensions(MIMEExtensions.java:145)
   at org.netbeans.modules.cnd.ui.options.CndOtherOptionsPanel$ExtensionsElements.apply(CndOtherOptionsPanel.java:310)
   at org.netbeans.modules.cnd.ui.options.CndOtherOptionsPanel.applyChanges(CndOtherOptionsPanel.java:85)
   at org.netbeans.modules.cnd.ui.options.CndOtherOptionsPanelController.applyChanges(CndOtherOptionsPanelController.java:71)
   at org.netbeans.modules.options.TabbedController.applyChanges(TabbedController.java:130)
   at org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:390)
Comment 1 Exceptions Reporter 2011-02-23 19:15:02 UTC
Created attachment 106373 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2011-02-24 22:09:36 UTC
http://hg.netbeans.org/cnd-main/rev/e034ed7ebf6d
Comment 3 Quality Engineering 2011-02-26 05:15:47 UTC
Integrated into 'main-golden', will be available in build *201102260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e034ed7ebf6d
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #195901 -  IllegalArgumentException: input list [] doesn't contain default element: