Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.ArrayIndexOutOfBoundsException: -1	at org.eclipse.swt.custom.StyledTextRenderer.calculateClientArea(StyledTextRenderer.java:230)	at org.eclipse.swt.custom.StyledText.resetCache(StyledText.java:7955)	at org.eclipse.swt.custom.StyledText.redraw(StyledText.java:7516)	at org.eclipse.jface.text.CursorLinePainter.drawHighlightLine(CursorLinePainter.java:179)	at org.eclipse.jface.text.CursorLinePainter.paint(CursorLinePainter.java:240)	at org.eclipse.jface.text.PaintManager.paint(PaintManager.java:299)	at org.eclipse.jface.text.PaintManager.selectionChanged(PaintManager.java:338)	at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)	at org.eclipse.jface.text.TextViewer.fireSelectionChanged(TextViewer.java:2734)	at org.eclipse.jface.text.TextViewer.selectionChanged(TextViewer.java:2713)	at org.eclipse.jface.text.TextViewer.setSelectedRange(TextViewer.java:2398)	at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.setSelection(JavaEditor.java:2367)	at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.doSelectionChanged(JavaEditor.java:2435)	at org.eclipse.jdt.internal.ui.javaeditor.JavaOutlinePage$3.open(JavaOutlinePage.java:1022)	at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)	at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:854)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)	at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:851)	at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1168)	at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1275)	at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:278)	at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:272)	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:313)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)	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:497)	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)