INplace Editor and toc

The toc does not work when inplace editor is ON. This ist the error:

Fehler beim Rendern des Makros 'toc': [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </div>; expected </textarea>. at [row,col {unknown-source}]: [90,5]

3 answers

1 accepted

Hey Axel,

This problem was fixed in InPlace Editor 2.4.2 from 25 Dec 2012.

I see this in a Conflunce 5.4 today:

toc: com.atlassian.confluence.macro.MacroExecutionException: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </div>; expected </textarea>. at [row,col {unknown-source}]: [175,13]

From using this in a usermacro:

<h1>Incidents and Changes</h1>

Sorted by Resolution Date Descending

#set($search=$thisPageTitle.replaceAll(".domain.dk",""))

$globalHelper.renderConfluenceMacro("{jiraissues:text ~ '$search*' AND issuetype IN (change,incident) ORDER BY resolutiondate DESC}")

Hello Maxim

this patch corrected most problems. Thank you. I am fine now.

The following problem still exists, but thats ok with a workaround.

I still have the same Exception on a page combining the following two makros.

<div class='panelArchaeologie'>
<table class='panelArchaeologie'>
<colgroup>
<col width='52'/>
<col/>
</colgroup>

<tr>
<td valign='top'>

<table>
<tr><td><img src="/download/attachments/1018407/701.jpg" width="50" height="50" align="absmiddle" alt="" border="0"></img></td></tr>

<tr><td><div class="infoPanelHeader">Archäologie</div></td></tr>
</table>

</td>
<td>
<p>$body</p>
</td>

</tr>
</table>
</div>

and the body includes a makro like

<span style="color: rgb(128,128,128);">
<sub>
$body
</sub>
</span>

Hello Maxim,

Does the Confluence toc macro work without error with Confluence 4.3.3 and InPlace Editor 2.4.2? We just noticed we have InPlace Editor 2.4.0 and we do have this error. I just wanted to confirm for my team that upgrading to 2.4.2 will resolve our issue.

Many thanks.

I see this in a Conflunce 5.4 today:

toc: com.atlassian.confluence.macro.MacroExecutionException: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </div>; expected </textarea>. at [row,col {unknown-source}]: [175,13]

From using this in a usermacro:

<h1>Incidents and Changes</h1>

Sorted by Resolution Date Descending

#set($search=$thisPageTitle.replaceAll(".domain.dk",""))

$globalHelper.renderConfluenceMacro("{jiraissues:text ~ '$search*' AND issuetype IN (change,incident) ORDER BY resolutiondate DESC}")

Normann,

which version of InPlace Editor are you using? Could you check your Confluence logs for a full stacktrace of this exception?

Also you can contact us via support@stiltsoft.com

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
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

851 views 2 9
Read article

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