[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tigerstripe-dev] Re: ArrayIndexOutOfBoundsException in the TigerstripeURIAdapterFactory
|
Hi Yuri,
Thanks. I believe this is now fixed. In fact the support for Tigerstripe
projects and Tigerstripe model packages wasn't handled properly... And
should now.
I just committed fixes for bugs 240246, 240913.
Eric
On 7/15/08 2:47 AM, "Yuri Strot" <yuri@xxxxxxxxx> wrote:
>
> Hi Eric,
>
> looks like error in the TigerstripeURIAdapterFactory when I try to create
> annotation for a project element (project URI have only one path segment):
>
> java.lang.ArrayIndexOutOfBoundsException: 0
> at
> org.eclipse.tigerstripe.workbench.internal.adapt.TigerstripeURIAdapterFactory.
> uriToComponent(TigerstripeURIAdapterFactory.java:75)
> at
> org.eclipse.tigerstripe.workbench.internal.annotation.AnnotationUtils.isModelA
> nnotation(AnnotationUtils.java:38)
> at
> org.eclipse.tigerstripe.workbench.internal.annotation.AnnotationUtils.extractM
> odelAnnotations(AnnotationUtils.java:46)
> at
> org.eclipse.tigerstripe.workbench.internal.core.TigerstripeWorkspaceNotifier.a
> nnotationsChanged(TigerstripeWorkspaceNotifier.java:231)
> at
> org.eclipse.tigerstripe.annotation.internal.core.AnnotationStorage.fireAnnotat
> ionsChanged(AnnotationStorage.java:249)
> at
> org.eclipse.tigerstripe.annotation.internal.core.AnnotationStorage.save(Annota
> tionStorage.java:269)
> at
> org.eclipse.tigerstripe.annotation.ui.internal.view.EProperty.save(EProperty.j
> ava:80)
> at
> org.eclipse.tigerstripe.annotation.ui.custom.PropertyEditorInput.setContent(Pr
> opertyEditorInput.java:89)
> at
> org.eclipse.tigerstripe.annotation.ui.custom.PropertyDocumentProvider.doSaveDo
> cument(PropertyDocumentProvider.java:43)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider$1$SaveOperation.execute(Abs
> tractDocumentProvider.java:608)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider$DocumentProviderOperation.r
> un(AbstractDocumentProvider.java:74)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.executeOperation(AbstractDo
> cumentProvider.java:551)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.saveDocument(AbstractDocume
> ntProvider.java:627)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.ja
> va:4790)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.doSave(AbstractTextEditor.java:45
> 79)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(Abstract
> TextEditor.java:6889)
> at org.eclipse.ui.Saveable.doSave(Saveable.java:212)
> at org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:339)
> at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:185)
> at org.eclipse.ui.internal.SaveableHelper$4.run(SaveableHelper.java:266)
> at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:
> 446)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:354)
> at
> org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:758)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:755)
> at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2483)
> at
> org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHel
> per.java:274)
> at
> org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHel
> per.java:253)
> at org.eclipse.ui.internal.SaveableHelper.saveModels(SaveableHelper.java:196)
> at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:136)
> at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1350)
> at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3291)
> at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3304)
> at org.eclipse.ui.texteditor.SaveAction.run(SaveAction.java:48)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
> at
> org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWra
> pper.java:109)
> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
> at
> org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(Parameterized
> Command.java:508)
> at
> org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.
> java:169)
> at
> org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboar
> d.java:471)
> at
> org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:82
> 2)
> at
> org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboa
> rd.java:880)
> at
> org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(Workb
> enchKeyboard.java:569)
> at
> org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java
> :511)
> at
> org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(Workb
> enchKeyboard.java:126)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1184)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
> at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1352)
> at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3894)
> at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:341)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3787)
> at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2370)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.ja
> va:113)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:19
> 3)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ec
> lipseAppLauncher.java:110)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppL
> auncher.java:79)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
> 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.j
> ava:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
>
> --
> Best regards,
> Yuri Strot