It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unmappable Character while trying to add GitBlit-Repository

Anja Prelle Oct 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 Oct 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 Nov 06, 2017

Thanks. That helped!

0 votes
Adam Wride Oct 20, 2017 • edited

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 Nov 06, 2017 • edited

Thanks for your support.

The solution @Mark L. Smithsuggested worked for us.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Webinar alert! An IT Admin's Guide to Securing Collaboration at Scale

Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...

188 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you