Hi!
UI Builder crashes on this simple situation:
1) Tizen Studio 1.0.1 / New / Tizen Project / Template / Mobile 2.4 / Native / UI Builder single view / ... / [Finish]
2) layout.xml is openned
3) show properties for view1
4) edit ID to any value, e.g. "view1x"
5) save all
6) close layout.xml and open it -> crash
please help !
error message:
"failed to initialize layout editor
java.lang.indexOutOfBoundsException: index: 0 , size:0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Index: 0, Size: 0
java.util.ArrayList.rangeCheck(Unknown Source)
java.util.ArrayList.get(Unknown Source)
org.tizen.efluibuilder.storyboard.ui.editor.model.SBPageModel.getPagesWidth(Unknown Source)
org.tizen.efluibuilder.storyboard.ui.editor.controller.SBPageManager.getLocationToCreateView(Unknown Source)
org.tizen.efluibuilder.storyboard.ui.editor.controller.SBPageManager.addPageToPageModel(Unknown Source)
org.tizen.efluibuilder.storyboard.ui.editor.controller.SBTabManager.addPageToPageModel(Unknown Source)
org.tizen.efluibuilder.storyboard.ui.editor.controller.SBTabManager.updateContents(Unknown Source)
org.tizen.efluibuilder.storyboard.ui.editor.controller.SBTabManager.initializeSBTab(Unknown Source)
org.tizen.efluibuilder.ui.editor.CombineEditorPart.initContents(Unknown Source)
org.tizen.efluibuilder.ui.editor.CombineEditorPart.createPages(Unknown Source)
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:363)
org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:157)
org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:99)
org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:347)
sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)
org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:879)
org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)
org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345)
org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264)
org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)
org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)
org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711)
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)
org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:99)
org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)
org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
org.eclipse.swt.widgets.Display.syncExec(Display.java:4761)
org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211)
org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85)
org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:572)
org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:536)
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:724)
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:396)
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1166)
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3252)
org.eclipse.ui.internal.WorkbenchPage.access$25(WorkbenchPage.java:3167)
org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:3149)
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3144)
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3108)
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3098)
org.eclipse.ui.ide.IDE.openEditor(IDE.java:541)
org.eclipse.ui.ide.IDE.openEditor(IDE.java:500)
org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:100)
org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:100)
org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:229)
org.eclipse.ui.navigator.CommonNavigatorManager$2.open(CommonNavigatorManager.java:190)
org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:854)
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:851)
org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1168)
org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:449)
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1275)
org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:278)
org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:272)
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:313)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1116)
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
org.eclipse.equinox.launcher.Main.run(Main.java:1515)
...
"