Mantis Task Integration

Hi All!

I am trying to enable the mantis task integration in IDEA 12.1.6 and it fails against two separate servers.

Here is the error from server 1:

When pressing 'Login' a popup serves me the message:

(500)Internal Server Error

And here is the error from server 2:

When pressing 'Login' a popup serves me the message:

; nested exception is:
    org.xml.sax.SAXParseException: Content is not allowed in prolog.

These error messages shows up in the log when searching the task list(mantis servers):

2014-02-11 08:59:32,964 [318172180]   WARN -  lij.tasks.impl.TaskManagerImpl - Cannot connect to  com.intellij.tasks.mantis.MantisRepository@628c7836
    at com.intellij.tasks.mantis.MantisRepository.getIssues(
    at com.intellij.tasks.mantis.MantisRepository.getIssues(
    at com.intellij.tasks.impl.TaskManagerImpl.getIssuesFromRepositories(
    at com.intellij.tasks.impl.TaskManagerImpl.doUpdate(
    at com.intellij.tasks.impl.TaskManagerImpl.access$500(
    at com.intellij.tasks.impl.TaskManagerImpl$
    at com.intellij.openapi.application.impl.ApplicationImpl$
    at java.util.concurrent.Executors$
    at java.util.concurrent.FutureTask$Sync.innerRun(
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
    at java.util.concurrent.ThreadPoolExecutor$
    at com.intellij.openapi.application.impl.ApplicationImpl$1$

Has anyone got it to work?
In that case, what version?
Any modifications?


/Jesper Berglund

1 comment
Comment actions Permalink


I have tried to reproduce the problem, but failed.

From what I've found in web ( the "Content is not allowed in prolog" may be shown when an XML (the server response in our case) contains BOM.

This is something related to encoding and national characters. Do you have an idea why BOM can be returned by server? Is that national text in issue summary or description (I tried my Mantis, but have not reproduced), or user name, or any server setting?



Please sign in to leave a comment.