Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bamboo Export / Import failing with invalid null char

I'm trying to preform an export but didn't realize the export had failed until I tried to import into a fresh install same version (but linux server not windows, same Bamboo version)

I think I narrowed the issue to the export failing at:

2018-09-08 19:14:22,687 INFO [http-nio-443-exec-17] [XmlMigrator] Exporting with:
2018-09-08 19:14:23,594 INFO [http-nio-443-exec-17] [XmlMigrator] Ensuring the the file has been unmounted
2018-09-08 19:14:23,594 INFO [http-nio-443-exec-17] [XmlMigrator] Unmounted E:\Atlassian\bamboo5\exports\
2018-09-08 19:14:23,641 ERROR [http-nio-443-exec-17] [Export] com.ctc.wstx.exc.WstxIOException: Invalid null character in text to output



Any ideas, I'd be happy to provide more info if needed.

1 answer

1 accepted

1 vote
Answer accepted

Hey Alex,

It took me a while to realise that the class does not exist in bamboo versions after 5.9, this happens to be the same for the loginInfos.xml file (at least for Bamboo 6.6.2).

Your export seems to have failed to write values to the loginInfos.xml file due to a special char saved in your bamboo db. The information who populates this file is stored in the AUTH_ATTEMPT_INFO table. It just registers details about failed user login attempts and can be cleaned.

Suggested steps to overcome this issue:

  1. Create a database backup of your Bamboo DB (using your external tool)
  2. Check the values in AUTH_ATTEMPT_INFO (either fix them or remove the rows)
  3. Create another export and check it succeeds without errors

I hope it helps.

Daniel P Santos | Atlassian Support

Thanks Daniel!

This looks to be the answer! I briefly looked at the data in AUTH_ATTEMPT_INFO, and sure enough the data looks a bit wacky. Its possible the data is from an attack or vulnerability scan.

I haven't yet had the opportunity to remove the rows from that table or preform another export. I'm confident this is solution will work!

- Alex

Hey Alex,

Good to know you found something there.
I hope that is the only issue with the export =]

Take care!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

967 views 3 8
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