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

via Appcelerator JIRA by Ingo Muschenetz, 1 year ago
via Appcelerator JIRA by Ingo Muschenetz, 1 year ago
java.lang.ArrayIndexOutOfBoundsException: -1	at com.aptana.editor.common.text.reconciler.CommonPresentationReconciler.createPresentation(CommonPresentationReconciler.java:97)	at com.aptana.editor.common.text.reconciler.CommonPresentationReconciler.createPresentation(CommonPresentationReconciler.java:76)	at org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:566)	at org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:564)	at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.documentPartitioningChanged(PresentationReconciler.java:139)	at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.documentPartitioningChanged(PresentationReconciler.java:153)	at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireDocumentPartitioningChanged(BasicStructuredDocument.java:1142)	at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.setDocumentPartitioner(BasicStructuredDocument.java:2526)	at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.setDocumentPartitioner(BasicStructuredDocument.java:2507)	at com.aptana.editor.common.CommonDocumentProvider.disconnect(CommonDocumentProvider.java:70)	at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4201)	at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:237)	at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1451)	at com.aptana.editor.common.AbstractThemeableEditor.doSetInput(AbstractThemeableEditor.java:496)	at org.eclipse.ui.texteditor.AbstractTextEditor.setInputWithNotify(AbstractTextEditor.java:4277)	at org.eclipse.ui.texteditor.AbstractTextEditor.setInput(AbstractTextEditor.java:4299)	at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.performSaveAs(AbstractDecoratedTextEditor.java:1599)	at com.aptana.editor.common.AbstractThemeableEditor.performSaveAs(AbstractThemeableEditor.java:674)	at com.aptana.editor.common.AbstractThemeableEditor.doSave(AbstractThemeableEditor.java:534)	at org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(AbstractTextEditor.java:7177)	at org.eclipse.ui.Saveable.doSave(Saveable.java:214)	at org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:349)	at org.eclipse.ui.internal.SaveableHelper$3.run(SaveableHelper.java:195)	at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:277)	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)	at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)	at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)	at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2642)	at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:285)	at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:264)	at org.eclipse.ui.internal.SaveableHelper.saveModels(SaveableHelper.java:207)	at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:144)	at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1399)	at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3416)	at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3429)	at org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:54)	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1069)	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4124)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1494)	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1490)	at org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:463)	at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1051)	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5560)	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)	at org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)	at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:587)	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5470)	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)	at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2092)	at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2255)	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5532)	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)	at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4986)	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5135)	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)	at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3607)	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)	at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)