Eclipse Community Forums
 
| 
	| Subject: Strang error with Nebula grid | Author: Marcel A. | Date: Thu, 24 July 2014 05:48 |  
	| Hello, 
 i updated the Nebula grid componenta and realized a great speed improvement which is great. However i got strange errors after a time if i add  columns to my grid table. The following error occurs occasionally:
 
 java.lang.IndexOutOfBoundsException: Index: 14, Size: 13
 at java.util.ArrayList.rangeCheckForAdd(ArrayList.java:646)
 at java.util.ArrayList.add(ArrayList.java:458)
 at org.eclipse.nebula.widgets.grid.GridItemDataVisualizer.addColumnToMap(GridItemDataVisualizer.java:388)
 at org.eclipse.nebula.widgets.grid.GridItemDataVisualizer.addColumn(GridItemDataVisualizer.java:369)
 at org.eclipse.nebula.widgets.grid.Grid.newColumn(Grid.java:7428)
 at org.eclipse.nebula.widgets.grid.GridColumn.init(GridColumn.java:247)
 at org.eclipse.nebula.widgets.grid.GridColumn.<init>(GridColumn.java:207)
 at com.eco.bio7.rbridge.RTable$7.run(RTable.java:249)
 at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
 at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
 at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
 at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:462)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
 at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1122)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
 at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1006)
 at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:147)
 at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:630)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:574)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
 at com.eco.bio7.rcp.Application.start(Application.java:61)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:133)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:103)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:378)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:232)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:483)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1462)
 at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
 
 !ENTRY org.eclipse.ui 4 0 2014-04-30 14:46:38.964
 !MESSAGE Unhandled event loop exception
 !STACK 0
 java.lang.NullPointerException
 at org.eclipse.nebula.widgets.grid.internal.DefaultColumnHeaderRenderer.paint(DefaultColumnHeaderRenderer.java:116)
 at org.eclipse.nebula.widgets.grid.Grid.paintHeader(Grid.java:5386)
 at org.eclipse.nebula.widgets.grid.Grid.onPaint(Grid.java:4900)
 at org.eclipse.nebula.widgets.grid.Grid.access$2(Grid.java:4880)
 at org.eclipse.nebula.widgets.grid.Grid$4.paintControl(Grid.java:5969)
 at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:230)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070)
 at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1491)
 at org.eclipse.swt.widgets.Control.windowProc(Control.java:4667)
 at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)
 at org.eclipse.swt.widgets.Display.windowProc(Display.java:5020)
 at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
 at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
 at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1122)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
 at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1006)
 at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:147)
 at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:630)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:574)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
 at com.eco.bio7.rcp.Application.start(Application.java:61)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:133)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:103)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:378)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:232)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:483)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1462)
 at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
 
 Is this a known bug?
 
 |  
	| [ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ] |  | 
  _______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev