Problem
Errors/failures in the Git Integration for Jira application indexing.
Diagnosis
Jira admins will see a message similar to the one below in the Jira log: /application-logs/atlassian-jira.log
:
Error:
2019/10/01 12:34:56 Malformed input or input contains unmappable characters: /var/jira/data/git-plugin/150_repository_name/refs/heads/hølaf
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /var/jira/data/git-plugin/150_repository_name/refs/heads/hølaf
at sun.nio.fs.UnixPath.encode(UnixPath.java:147)
at sun.nio.fs.UnixPath.<init>(UnixPath.java:71)
at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
at java.io.File.toPath(File.java:2234)
at org.eclipse.jgit.util.FileUtils.fileAttributes(FileUtils.java:672)
at org.eclipse.jgit.util.FS.fileAttributes(FS.java:457)
at org.eclipse.jgit.internal.storage.file.FileSnapshot.save(FileSnapshot.java:118)
at org.eclipse.jgit.internal.storage.file.RefDirectory.scanRef(RefDirectory.java:1153)
at org.eclipse.jgit.internal.storage.file.RefDirectory.readRef(RefDirectory.java:1125)
at org.eclipse.jgit.internal.storage.file.RefDirectory.pack(RefDirectory.java:764)
at org.eclipse.jgit.internal.storage.file.RefDirectory.pack(RefDirectory.java:736)
at org.eclipse.jgit.internal.storage.file.PackedBatchRefUpdate.execute(PackedBatchRefUpdate.java:180)
at org.eclipse.jgit.lib.BatchRefUpdate.execute(BatchRefUpdate.java:635)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:224)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:124)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1271)
at com.bigbrassband.jira.git.services.gitmanager.SingleGitManagerImpl.fetch(SingleGitManagerImpl.java:1260)
at com.bigbrassband.jira.git.services.indexer.revisions.GitPluginIndexManagerImpl.fetchImpl(GitPluginIndexManagerImpl.java:515)
at com.bigbrassband.jira.git.services.indexer.revisions.GitPluginIndexManagerImpl.callFetch(GitPluginIndexManagerImpl.java:502)
at com.bigbrassband.jira.git.services.indexer.revisions.GitPluginIndexManagerImpl.updateIndex(GitPluginIndexManagerImpl.java:339)
at com.bigbrassband.jira.git.services.indexer.revisions.RevisionIndexerImpl$1.doRun(RevisionIndexerImpl.java:151)
at com.bigbrassband.jira.git.services.indexer.revisions.QueueEntry.run(QueueEntry.java:82)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Cause
Atlassian recommends UTF-8 or Unicode encoding, and case-insensitive collation. In most cases, problems are due to a misconfiguration in one of the components.
Solutions
See Atlassian help article: Troubleshoot character display issues in Jira server.
If you still have a question – reach out to our Support Desk or email us at [email protected].
More articles about troubleshooting, workarounds and solutions
Why I am getting the error, “git-upload-pack not permitted”?
Cannot auto-deploy some tracked repositories: Specified origin is incorrect or not supported
Connection Reset when Accessing the Database
“Dangerous use of multiple connections” error on local database
Duplicate entry 0 for key PRIMARY exceptions in log
Error while reindexing – Java heap space / Object too large, rejecting the pack
Error creating git branches and also using NFS
Fix performance issues for nested cloned repositories with enabled Git Service Permissions mode
Fixing reindex issues using Indexing Queue Viewer
Gitolite integration: Why the Git integration app not see the master branch?
Health Check: Database Collation
Indexing error – Too many open files
Installation fails when installing manually
Jira index error: IndexNotFoundException: no segments* file found
Malformed input or input contains unmappable characters (this page)
Personal access token failing Azure DevOps integration with Not Authorized error
Problems with shared home on Azure Storage
Pull request index error: org.json.JSONException
Repositories missing from Azure DevOps integration
“Service proxy has been destroyed” exceptions in log
SQLException ‘Incorrect string value’ in merge requests
SSH key file format is invalid
TFS – Not authorized exception when Jira works thru proxy
Unexpected exception parsing XML document from URL error in log