Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo Export / Import failing with invalid null char

Alex Hall September 8, 2018

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:

E:\Atlassian\bamboo5\exports\export_atlassianbamboo_5920_20180908.zip\db-export\loginInfos.xml
2018-09-08 19:14:22,687 INFO [http-nio-443-exec-17] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.LoginInformationMapper
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\export_atlassianbamboo_5920_20180908.zip
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
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2018

Hey Alex,

It took me a while to realise that the class com.atlassian.bamboo.migration.stream.LoginInformationMapper 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.

Regards,
Daniel P Santos | Atlassian Support

Alex Hall September 11, 2018

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

Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 11, 2018

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
TAGS
AUG Leaders

Atlassian Community Events