The issue can be closed as there was a coding issue there:
Image backImage = new Image(); sideImage.setName("back image"); sideImage.setIndex(1);
and that's why the object coudn't be found.