WstxUnexpectedCharException when linking to JIRA issue in Confluence

I have connected a Confluence 6.5 and JIRA 7.3 instance and have also connected a Confluence space with a JIRA software project via application links.

 

Now when I use the JIRA macro I get an error on the Confluence page when previewing the draft:

 

Error rendering macro 'jira'

com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, code 2)) at [row,col {unknown-source}]: [1,6623]

 

Where can I look to analyse this error and find out what in the JIRA reply might cause it and how to fix it?

1 answer

1 accepted

This widget could not be displayed.

Hi Florian,

this errors should be logged in Confluence log, which is located in:
<CONFLUENCE_HOME>/logs/atlassian-confluence.log

and for JIRA:
<JIRA_HOME>/log/atlassian-jira.log

Please find the KB articles that describe some possible causes of this error:

 

You can try using Application Links Troubleshooting guide in order to troubleshoot this problem, as many Application Links problem are resolved in one of the steps. Take a look here: Application Links Troubleshooting Guide

Let me knows if this answers your question.

Cheers,

Marko Filipan

Hi Marko,

thank you so much for your answer. I checked the logs and found nothing helpful, but after you answered I realized that I hadn't checked the application logs yet, only the tomcat logs.

The error is the same in the confluence application log and gives no further information as to what the response from JIRA might have been that Confluence stumbled over.

But while checking the JIRA application logs, I found a notice that the Confluence API is disabled, which it was. After enabling it, I could no longer reproduce the problem. So for now I believe it is fixed due to this change. We will see, if it surfaces again.

From the links you posted I also learned that I can set up an unproxied connection for appliication links. I did that since both applications run on the same instance and it seems more efficient to link then unencrypted over localhost.

So the application links have both been recreated and the servers restarted. Maybe that helps, too.

Thanks again, your hints git me on the right track.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

160 views 2 0
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