Designer crashes with IndexOutOfBoundsException on Question Screen

Hello Kodular Team,

I need your help!

I checked out Kodular Fenix (v1.5D.0) Bug Tracker before creating a new topic

Describe your issue

Only my “Question Screen” crashes when I open the Designer.
All other screens in my project open normally.

Steps to reproduce the issue

The problem started after I accidentally added a Button in the wrong place and then removed it using the Undo/Back option.

Expected Behaviour

Actual Behaviour

Since then, opening the Designer for the Question Screen always causes a crash.

Error: java.lang.IndexOutOfBoundsException

The bug report page also shows an internal error when I try to type a report.

Project details:

  • Only Question Screen is affected.
  • All other screens work normally.
  • I do not have a backup (.aia).
  • Device: Android
  • Browser: Chrome

Show your Blocks

?

Android version

?


Please let me know if there is any way to recover this screen or repair the project.

Thank you.

Hi dear,

Welcome to the Kodular Community!

In an older topic, one solution was simply to export and re-import the project.

So for now, just try that, if it doesn’t fix the issue, we’ll look into it more specifically.

Additional information:

The issue started while I was editing buttons on the Question Screen. A button was accidentally moved to the wrong position. I used Backspace/Delete and Undo several times to restore the layout. After that, an internal error appeared, so I refreshed the browser.

Since then, the project opens, and all other screens work normally. However, only the Question Screen is corrupted.

The Question Screen cannot be opened in either Designer or Blocks. It also cannot be deleted from the project, while other screens can be deleted normally.

If there is any way to recover the corrupted screen or safely remove it from the project without damaging the rest of the project, please let me know.

Thank you.

Hi,

In this case, I think the issue needs to be addressed in the AIA project itself.
Would you be able to share it publicly or send it privately?

Hi, thank you for your reply.

Yes, I can share the AIA project privately.

Please let me know the best way to send the AIA file. If you prefer, I can send it by private message, email, or any upload link you provide.

Thank you for your help.

PM

Hi,

I cannot see the Private Message button on your profile.

Could you please start a private message with me, or provide another way (email or upload link) so I can send you the AIA project?

Thank you.


You are in trust level 0
What you can do to get trust level 1 see here

Taifun

Found it :partying_face:

In the file Si_Math.aia\src\io\kodular\simath2026\Si_Math\QuestionScreen.scm , Btn1 through Btn8 are arranged inside a Table Arrangement.

It turns out that Btn3 had lost its Row reference.
As soon as I added it back, the screen loaded without any errors.

...,
	{
		"$Name": "Btn2",
		"$Type": "Button",
		"$Version": "13",
		"Column": "1",
		"FontBold": "True",
		"FontSize": "12",
		"Height": "35",
		"Width": "35",
		"Row": "0",
		"Text": "2",
		"Uuid": "1208256221"
	},
	{
		"$Name": "Btn3",
		"$Type": "Button",
		"$Version": "13",
		"Column": "2",
		"FontBold": "True",
		"FontSize": "12",
		"Height": "35",
		"Width": "35",
		"Row": "0", <<-- 
		"Text": "3",
		"Uuid": "-1513326493"
	},
...

@Diego sorry for tagging you, but this might be an Undo/Redo bug.