rhajamor / opal

Automatically exported from code.google.com/p/opal
2 stars 0 forks source link

Problem with ColumnSnippet #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was using The Column Snippet
1.Run
2.Select colors, g, r, e, e, n
3.Then Select again last 'e'
4.The Bug

The frame closed and a stack trace printed instead of selecting e

What version of the product are you using? On what operating system?

I am using release 0.9.5 and my OS is Windows 7 x86

Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 5, Size: 
3
    at java.util.ArrayList.rangeCheck(Unknown Source)
    at java.util.ArrayList.get(Unknown Source)
    at org.mihalis.opal.columns.ColumnBrowserWidget.selectItem(Unknown Source)
    at org.mihalis.opal.columns.ColumnBrowserWidget.access$100(Unknown Source)
    at org.mihalis.opal.columns.ColumnBrowserWidget$3.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.mihalis.opal.columns.ColumnsSnippet.main(ColumnsSnippet.java:52)

Original issue reported on code.google.com by vinz...@gmail.com on 26 Dec 2012 at 10:33

GoogleCodeExporter commented 9 years ago
I have provided a fix for this. Can you check from 
http://code.google.com/a/eclipselabs.org/p/opal/downloads/detail?name=opal-0.9.5
.1.jar

Original comment by kiran19882004@gmail.com on 15 Jan 2013 at 1:20