Layout Editor Initialization Error in Tizen Studio

Original Created Jan 15, 2017 | Regeneration Apr 22, 2026

I'm developing my first Tizen application using Tizen Studio. After successfully creating an app with 8 views in the UI Builder (compilation and testing worked fine), I encountered an error when reopening the project the next day.

When I click on layout.xml, I get the following 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)
   [...long stack trace continues...]

Key points:

  • The project worked fine initially
  • Error occurs when reopening the project
  • Creating a new project works, but existing project fails
  • Concerned about tool stability

Problem Understanding

This appears to be a known issue with Tizen Studio's UI Builder, where project files can become corrupted or desynchronized, particularly when working with multiple views.

Solution Methods

  1. File Synchronization Fix:

    • As suggested by tmihajloski, manually edit the .uproject file to match your layout.xml file
    • This often resolves the IndexOutOfBoundsException by ensuring consistency between the project configuration and layout files
  2. Project Recreation:

    • Create a new project and manually recreate your views
    • While time-consuming, this is a reliable workaround when file corruption occurs
  3. Bug Reporting:

    • Report the issue through Tizen's official bug tracking system
    • Include your project files (while removing sensitive information) to help developers reproduce and fix the issue

Additional Tips

  • Regularly back up your project files when working with the UI Builder
  • Consider using version control to track changes and revert if needed
  • Monitor the Tizen developer community for updates on this issue

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.