Unmappable Character while trying to add GitBlit-Repository

Anja Prelle October 20, 2017

While trying to add a GitBlit-Repository an error occured:

com.xiplink.jira.git.exception.OperationException: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters:
/var/atlassian/application-data/jira/data/git-plugin/1_base/refs/heads/TD-XXXX_-_YYY]_Unterstützung_InterComm.lock

java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters:
/var/atlassian/application-data/jira/data/git-plugin/1_base/refs/heads/TD-XXXX_-_YYY]_Unterstützung_InterComm.lock

The original ref in GitBlit looks like TD-XXXX - [YYY] Unterstützung InterComm.lock (Without the underscores and with an additional opening bracket)

Other git clients (windows/linux) have no problems with this repository.
Is it possible that there is an encoding problem on the Jira-Server-Installation?

We are using Version 2.12.4 to evaluate this plugin.

2 answers

1 accepted

0 votes
Answer accepted
Mark L. Smith
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2017

I think you're running into a problem that's fairly common with a lot of Tomcat based apps when there is no language set (or set to something the JVM can't use). 

Ultimately, you can fix this by adding:

export LANG = en_US.UTF8

near the top of setenv.sh and restarting Jira.

 

You can read more detail about this kind of error here:
https://stackoverflow.com/questions/39185613/java-nio-file-invalidpathexception-malformed-input-or-input-contains-unmappable
http://www.zhijun.co.uk/blog/solution-for-invalidpathexception-malformed-input-in-tomcat
https://jira.atlassian.com/browse/BSERV-9017
https://github.com/elastic/elasticsearch/issues/8548

Anja Prelle November 6, 2017

Thanks. That helped!

0 votes
Adam Wride
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2017

Hi @Anja Prelle

Thank you for posting this. I'm the product manager for the Git Integration for Jira add-on.

Can you contact us at support@bigbrassband.com so we can gather a few more items about this error?

In your initial email - please let us know if you are using Jira Server or Jira Cloud.

Cheers!

Adam

Anja Prelle November 6, 2017

Thanks for your support.

The solution @Mark L. Smithsuggested worked for us.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events