Well i got rid of Integer usage with this variable itemsPerPage within the page and component as well as any initializations and modeled initialization in the setuprender Gallery.JAVA @SetupRender public void setupRender() { itemsPerPage = 50; try { collection = loadCollection(collectionType); } catch (Exception e) { logger.error("error loading data on collection gallery"); } }
and the NPE still occurs I added @Persist to the page Home.JAVA @Persist @Property private int itemsPerPage; and the NPE still occurs any event centric referencing of this variable induces an NPE ? Any help is appreciated. :(