Cannot save anything in ReadyAPI?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cannot save anything in ReadyAPI?
Whenever I try to save my ReadyAPI project, I suddenly started getting this vague error -
Failed to Save Project, java.io.IOException: The filename, directory name or volume label syntax is incorrect. Here is a sample of the messages I see in ready-api.logs file. Why did this start happening suddenly and how to I prevent such issues from happening?
Environment:
- ReadyAPI 3.0.0. Cannot upgrade it now.
- Windows 10 64bit.
[a timestamp] INFO [ClassicCompositeProjectHandler] Interface operation [a test step] not changed so not saved.
[a timestamp] INFO [ClassicCompositeProjectHandler] C:\some path\element.order is write-protected. It has not been saved.
[a timestamp] ERROR [ClassicCompositeProjectHandler] Can not write file [ write protected ] C:\some project\TeamCityService\BuildQueue.xml
etc...
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are there any special characters or spaces im the full path to the file?
Are there any special chars, especially illegal xml chars (e.g. chars that need escaping like the 5 xml entities) in any of the object names in your projects hierarchy?
Id double check and make sure there are none. It was quite a while ago but i had problem with paths in readyapi and once i removed dodgy chars/spaces my issue was resolved.
Ta
Rich
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll look into it. I wish ReadyAPI could give me better error messages so that I can figure out issues easily.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your advice Richie!
Hi @rajs2020! Did you manage to solve this?
Sonya Mihaljova
Community and Education Specialist
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had to re download all project files and then load them into ReadyAPI. Things started working after that. So, I don't know why this problem occurred.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @rajs2020,
Great to hear that the issue disappeared!
Tanya Yatskovskaya
SmartBear Community and Education Manager
