Unmappable Character while trying to add GitBlit-Repository

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

This widget could not be displayed.

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

Thanks. That helped!

This widget could not be displayed.

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

Thanks for your support.

The solution @Mark L. Smithsuggested worked for us.

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
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

727 views 0 3
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