언어 설정

Menu
Sites
Language
Failed to initialize Layout Editor

Hi,

I am trying to make my first application using TizenStudio.

After spending hours on UI Buider, I can make my app with 8 views.

Compiling is OK, testing is OK, but next day, I open Tizen Studio, click on layout.xml and got this error:

 

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Index: 0, Size: 0
  java.util.ArrayList.rangeCheck(ArrayList.java:653)
  java.util.ArrayList.get(ArrayList.java:429)
  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.GeneratedMethodAccessor94.invoke(Unknown Source)
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  java.lang.reflect.Method.invoke(Method.java:498)
  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.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1347)
  org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:72)
  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:4781)
  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:4230)
  org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1493)
  org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1516)
  org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)
  org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1301)
  org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
  org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
  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(NativeMethodAccessorImpl.java:62)
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  java.lang.reflect.Method.invoke(Method.java:498)
  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)

 

 

Could anyone help?

I cannot spend few hours more just to remake what I did for this project.

I tried to create new project, UI BUider is OK, But when back to my current project, it has that crash.

Could anyone help? Really dont want to play with unstable tool :(

Responses

3 댓글
Mehedi Alamgir

May be UI Builder is not stable enough yet, Many Developers found this type of errors while working with UI Builder. I will suggest you to report this as BUG from the link below. Hope someone will response on this error there.

https://bugs.tizen.org

Alexander Bondarenko

I've started to get same errors. Have you got to manage this?

M

Hi,

I solved the same problem by modifying the .uproject file to match the layout.xml file.

Hope this helps!