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 242890 - IllegalArgumentException: setSelectedIndex: 0 out of bounds
Summary: IllegalArgumentException: setSelectedIndex: 0 out of bounds
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-14 08:25 UTC by Vladimir Riha
Modified: 2014-08-12 14:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 208376


Attachments
stacktrace (5.76 KB, text/plain)
2014-03-14 08:25 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-03-14 08:25:32 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Linux

User Comments:
vriha: Right click on div element in ResponsiveRabbits sample project in index.html:69 and selected Edit CSS Rules




Stacktrace: 
java.lang.IllegalArgumentException: setSelectedIndex: 0 out of bounds
   at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:620)
   at org.netbeans.modules.css.visual.CreateRulePanel$2.valueChanged(CreateRulePanel.java:319)
   at javax.swing.JList.fireSelectionValueChanged(JList.java:1796)
   at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1810)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
Comment 1 Vladimir Riha 2014-03-14 08:25:33 UTC
Created attachment 146016 [details]
stacktrace
Comment 2 Marek Fukala 2014-07-25 10:31:39 UTC
changeset:   276114:d8474b4c3598
summary:     #242890 - IllegalArgumentException: setSelectedIndex: 0 out of bounds
Comment 3 Quality Engineering 2014-07-26 01:23:59 UTC
Integrated into 'main-silver', will be available in build *201407260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d8474b4c3598
User: Marek Fukala <mfukala@netbeans.org>
Log: #242890 - IllegalArgumentException: setSelectedIndex: 0 out of bounds
Comment 4 Vladimir Riha 2014-08-12 14:37:31 UTC
Cannot reproduce, thank you

Product Version: NetBeans IDE Dev (Build 201408120001)
Java: 1.8.0_11; Java HotSpot(TM) Client VM 25.11-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12
System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)