[SOLVED] Can a sitemap be too long?

Hello,

been using OpenHAB for quite a while starting at version 1.7
I have since then moved and now started over with openHABian (many thanks!).

Everything is going well, but I have now gotten a problem. The last items on my sitemap refuses to load, and I get an error in openhab.log stating:

2017-02-09 11:10:15.223 [WARN ] [eclipse.jetty.servlet.ServletHandler] - /basicui/app
org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=6, size=4
        at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:346)[64:org.eclipse.emf.common:2.11.0.v20150805-0538]
        at org.eclipse.smarthome.ui.internal.items.ItemUIRegistryImpl.getWidget(ItemUIRegistryImpl.java:492)[136:org.eclipse.smarthome.ui:0.9.0.b4]
        at org.eclipse.smarthome.io.rest.sitemap.SitemapSubscriptionService.addCallbackToListener(SitemapSubscriptionService.java:186)[117:org.eclipse.smarthome.io.rest.sitemap:0.9.0.b4]
        at org.eclipse.smarthome.io.rest.sitemap.SitemapSubscriptionService.setPageId(SitemapSubscriptionService.java:166)[117:org.eclipse.smarthome.io.rest.sitemap:0.9.0.b4]
        at org.eclipse.smarthome.ui.basic.internal.servlet.WebAppServlet.service(WebAppServlet.java:155)[197:org.eclipse.smarthome.ui.basic:0.9.0.b4]
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[81:org.eclipse.jetty.servlet:9.2.19.v20160908]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)[81:org.eclipse.jetty.servlet:9.2.19.v20160908]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)[172:org.ops4j.pax.web.pax-web-jetty:4.3.0]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[80:org.eclipse.jetty.server:9.2.19.v20160908]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[79:org.eclipse.jetty.security:9.2.19.v20160908]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[80:org.eclipse.jetty.server:9.2.19.v20160908]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[80:org.eclipse.jetty.server:9.2.19.v20160908]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)[172:org.ops4j.pax.web.pax-web-jetty:4.3.0]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[81:org.eclipse.jetty.servlet:9.2.19.v20160908]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[80:org.eclipse.jetty.server:9.2.19.v20160908]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[80:org.eclipse.jetty.server:9.2.19.v20160908]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[80:org.eclipse.jetty.server:9.2.19.v20160908]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)[172:org.ops4j.pax.web.pax-web-jetty:4.3.0]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[80:org.eclipse.jetty.server:9.2.19.v20160908]
        at org.eclipse.jetty.server.Server.handle(Server.java:499)[80:org.eclipse.jetty.server:9.2.19.v20160908]
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[80:org.eclipse.jetty.server:9.2.19.v20160908]
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[80:org.eclipse.jetty.server:9.2.19.v20160908]
        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[72:org.eclipse.jetty.io:9.2.19.v20160908]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[83:org.eclipse.jetty.util:9.2.19.v20160908]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[83:org.eclipse.jetty.util:9.2.19.v20160908]
        at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]

Can a sitemap be too long? Been over the last enteries that refuses to load (Study, Gym and Bathroom) and just can’t see what would differ these three from the rest of my entries.

I feel like I’m just getting started with my sitemap even though it is 450 lines

Partial (problematic) Sitemap


	Group label="Bottom Floor" {

	Group label="Study" {
		Frame label="Lights" {
			Switch item=BF_G_Ceiling_Lamp label="Ceiling Spotlights"
			Slider item=BF_G_Ceiling_Lamp
		}

	}
	Group label="Gym" {
		Frame label="Lights" {
			Switch item=BF_S_Ceiling_Lamp_S1 label="Ceiling Lamp"
		}

	}
	Group label="Bathroom" {
		Frame label="Lights" {
			Switch item=BF_BR_Spotlights label="Spotlights"
			Slider item=BF_BR_Spotlights
			Switch item=BF_BR_Sauna_S2 label="Mirror"
			Switch item=BF_BR_Sauna_S1 label="Sauna"
		}

	}

	}

SOLVED!


I have the exact same error as George, I missed that I need to rename the whole sitemap to match the file name.