Mobile Confluence 5.7.1: IllegalStateException: Request-local WebResourceAssembler has already been initialised


I have a staging environment to test and upgrade to Confluence 5.7.1. From desktop machines, this setup works OK, but when going to the front page of the Confluence site from an iPad (both Safari & Google Chrome), I get a System Error. See screenshot:


Is this a bug, or should I configure something to prevent this?

The only reference to this IllegalStateException comes from the source:

@Matt Quail, @Paul Curren and @Richard Atkins, you discussed this diff. Do you have any idea what might be wrong here?


6 answers

@Matt Quail,

I first started with disabling all add-ons. I then looped over all the add-ons and enabled them one-by-one. For every test, I made sure that all other add-ons were disabled. This way, I was able to narrow it down to the Adaptavist Selectacular add-on, which is bundled with their ThemeBuilder. I have reported this to Adaptavist for further investigation.


@Ringo De Smet Can you paste in the the full stacktrace please?

@Matt Quail, sorry I forgot it. Here it is:

So DashboadServlet's doGet() is calling pageBuilderService.seed(). There must be some code or filter before doGet() that is calling seed() or assembler(). You might need to track down where it is, maybe set a breakpoint. Some bit of code somewhere is probably calling assembler() in order to call say resources() (e.g. some filter is trying to add a web resource to every request).

You can try and play a game of one-upmanship and write your own filter on /plugin/servlet/mobile where you can put your call to .seed().

Hi Ringo,

We experience the same issue. Confluence is working fine, however when accessing links via andoird / iPad we get same error. Adaptavist Selectacular add-on seems related, we'll need some more investigation.

Please keep us posted...


@RoBo, I reported this and at Adaptavist this seems te blogged as PRODSUP-608. Please report this too, referring to this case. Currently, they just reported to me that ThemeBuilder is not supported on mobile site. I have the impression that they don't understand that by just installing their add-ons, the mobile site crashes.

Thanks Ringo; I've informed adaptavist (by email) about just having the add-on enabled leading to crash on Android and iPad.

Yea - Having the same problem.  Do I turn off the Plugin to allow Mobile to work - Or not have Mobile available to my users?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

666 views 21 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you