Background Thread error messages - Compiled SOLUTIONS

This forum is for all Flare issues not related to any of the other categories.

Background Thread error messages - Compiled SOLUTIONS

Postby HeraTech on Mon May 21, 2012 12:44 pm

I was getting the exact same error dialog EVERY time I save a file. And not just getting the error message once, but FOUR times. ARGH! After spending quite a bit of time poring over the forum this afternoon searching for answers, I found the solution to my problem. But to save others time, I’ve compiled some related links. It seems that the cause of the error message is seldom obvious from the .NET error message, so perhaps this can save someone else some time by putting everything in one place.

My error message = Problem(s) in FileList background thread: Index was out of range. Must be non-negative and less than the size of the collection.
viewtopic.php?f=13&t=13480&p=80866&hilit=background+thread#p80866
CAUSE – Corrupted Analyzer folder?
SOLUTION - I deleted the Analyzer folder and that solved it.

Error Message = Internal error: Index was out of range. Must be non-native and less than the size of the collection.
Parameter name: index.
viewtopic.php?f=10&t=12037
CAUSE – Adding an empty page to the page layout and/or starting a chapter with an empty page.
SOLUTION – Remove the body frame from the Empty page. Start new chapters with First page.

Error Message = Problem(s) in background thread: Object reference not set to an instance of an object.
viewtopic.php?f=13&t=13256&p=74157&hilit=background+thread#p74098
SOLUTION – Reset the window layout to the factory default. Window > Layouts > Reset Window Layout.

Error Message = Problem(s) in background thread: Exception has been thrown by the target of an invocation.
viewtopic.php?f=4&t=12290&p=69041&hilit=background+thread#p69041
CAUSE - Project where none of the targets was set to primary.
SOLUTION –Under project organizer, expand the target folder and right click any of the target files and select make primary

Error Message = Problems in background thread: Exception has been thrown by the target of an invocation.
viewtopic.php?f=10&t=9061&p=51812&hilit=background+thread#p51812
CAUSE – Accidentally linked to a page layout in Output folder instead of in project folder.
SOLUTION – Link to the correct page layout file.

Error Message = Problem in the background thread: There is no working folder mapping for [file name]
viewtopic.php?f=5&t=6142&p=33273&hilit=background+thread#p33273
SOLUTION – User was able to successfully import the project using the File-->Import Project-->from Source Control feature.

Error Message = Problem(s) in background thread: File or project not found
viewtopic.php?f=13&t=6312&p=34911&hilit=background+thread#p34911
CAUSE – IT changed source control folder names.
SOLUTION – IT changed folder names back to the original names.

Error Message – Not specified, but started with “Problem(s) in background thread”
viewtopic.php?f=9&t=6916&p=38270&hilit=background+thread#p38270
No specific solution posted, but theories about causes included empty index entries and badly formed index terms.

Error message - Problem(s) in background thread: Value cannot be null.
viewtopic.php?f=9&t=3493&p=17382&hilit=background+thread#p17382
Publishing problems. No solution posted, thread was hijacked by another user.

Error Message = Problem(s) in background thread: The process cannot access the file Filename.xml because it is being used by another process.
viewtopic.php?f=5&t=9710&p=55613&hilit=background+thread#p55613
No solution posted.

Error Message = Problems in background thread: Create failed for Database ‘MadCapFeedbackServer’.
viewtopic.php?f=34&t=6533&p=35491&hilit=background+thread#p35491
User having problems installing the trial version of Feedback Server.
No solution posted.

Error Message = Problems in background thread: The remote server returned an error:
viewtopic.php?f=13&t=8869&p=50511&hilit=background+thread#p50511
No solution posted.

Very old thread about .NET error messages (no solution)
viewtopic.php?f=13&t=7383&p=41110&hilit=background+thread#p41110

Thread without any replies.
viewtopic.php?f=68&t=7761&p=43476&hilit=background+thread#p43476
HeraTech
Propeller Head
 
Posts: 27
Joined: Thu Nov 08, 2007 1:35 pm
Location: MA

Re: Background Thread error messages - Compiled SOLUTIONS

Postby RamonS on Tue May 22, 2012 4:00 am

Absolutely 'bloody phantastic' work! Thanks for the effort. I will contact the forum admin to make this a sticky topic.
RamonS
Senior Propellus Maximus
 
Posts: 4265
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Background Thread error messages - Compiled SOLUTIONS

Postby rmdavidson on Fri Aug 31, 2012 7:33 am

Has anyone had the message I've attached below? I didn't see it posted above. My coworker and I remapped multiple times on Monday and finally got TFS working better. We're actually seeing icons and things we didn't see before with regards to source control, etc (like actually seeing when the other has something checked out). We *think* it might have something to do with our paths being exactly the same locally now (folder names were different before), but aren't sure. As was suggested by others in the office I go into TFS via Visual Studio first and last thing of the day to get latest and to check in and in between just use Flare. I've enabled background status checks since remapping as well.

I keep getting this when trying to check-in and it seems to go through the motions, but then when it tells me to select files to check-in the window stays blank. I've sat here 10-20 minutes with a blank window for a measly 2 files. I'll cancel out and try again and sometimes it does the same thing and other times I get a whole list of files it requests me to add which don't need adding because they already exist or they have been deleted. Once in a while closing and reopening my project works, but upon closing the project it will throw this error at times too.

I have deleted the Analyzer, Output, and Source Control folders at least 3 times today and I even reset my window layout as was suggested in another post. I've restarted my computer once today and have opened and closed Flare several times. This is occurring in version 7.2.

My coworker's has been working just fine of course. :?

flare_bglist_error.jpg
You do not have the required permissions to view the files attached to this post.
Robin Davidson
Technical Writer & Documentation Specialist
STC Pittsburgh Chapter President http://www.stcpgh.org

Flare 7.2 / Windows 7 Pro 64 bit
rmdavidson
Sr. Propeller Head
 
Posts: 127
Joined: Tue Jan 17, 2012 7:58 am
Location: Pittsburgh, PA

Re: Background Thread error messages - Compiled SOLUTIONS

Postby sdcinvan on Thu Sep 19, 2013 9:13 am

Awesome work! Thanks so much. :D
Shawn in Vancouver, Canada
Main tools used: Flare 11.x, InDesign, Google Docs, Lectora, Captivate.
Report bugs: https://www.madcapsoftware.com/feedback/bugs.aspx ▪ Feature requests: https://www.madcapsoftware.com/feedback/featurerequest.aspx[/i]
User avatar
sdcinvan
Propellus Maximus
 
Posts: 1260
Joined: Wed Aug 21, 2013 11:46 am
Location: Vancouver, Canada

Re: Background Thread error messages - Compiled SOLUTIONS

Postby sdcinvan on Thu Sep 19, 2013 9:37 am

rmdavidson wrote:Has anyone had the message I've attached below? I didn't see it posted above. My coworker and I remapped multiple times on Monday and finally got TFS working better...


Don't have an answer but I am commenting just so you know that your problem is being viewed.

Have you contacted MadCap support about this?

I'd suggest that I might get a bit more traction if you re-post this as a new thread.

"attempted to read or write protected memory"

I'm going to guess that this is related to .Net. I'm going to also guess that you should look into making certain that you have the latest .net service packs installed. Have you tried installing Flare on a different computer?

Good luck
Shawn in Vancouver, Canada
Main tools used: Flare 11.x, InDesign, Google Docs, Lectora, Captivate.
Report bugs: https://www.madcapsoftware.com/feedback/bugs.aspx ▪ Feature requests: https://www.madcapsoftware.com/feedback/featurerequest.aspx[/i]
User avatar
sdcinvan
Propellus Maximus
 
Posts: 1260
Joined: Wed Aug 21, 2013 11:46 am
Location: Vancouver, Canada

Re: Background Thread error messages - Compiled SOLUTIONS

Postby sdcinvan on Thu Sep 19, 2013 9:39 am

BTW, I could you find a few references to this error, in this forum:
http://forums.madcapsoftware.com/viewtopic.php?f=13&t=7739
http://forums.madcapsoftware.com/viewtopic.php?f=4&t=10685

...but they are so old, I doubt they are relevant.
Shawn in Vancouver, Canada
Main tools used: Flare 11.x, InDesign, Google Docs, Lectora, Captivate.
Report bugs: https://www.madcapsoftware.com/feedback/bugs.aspx ▪ Feature requests: https://www.madcapsoftware.com/feedback/featurerequest.aspx[/i]
User avatar
sdcinvan
Propellus Maximus
 
Posts: 1260
Joined: Wed Aug 21, 2013 11:46 am
Location: Vancouver, Canada

Re: Background Thread error messages - Compiled SOLUTIONS

Postby CATERAF on Tue Jan 28, 2014 7:43 pm

HeraTech wrote:Error Message = Internal error: Index was out of range. Must be non-native and less than the size of the collection.
Parameter name: index.
viewtopic.php?f=10&t=12037
CAUSE – Adding an empty page to the page layout and/or starting a chapter with an empty page.
SOLUTION – Remove the body frame from the Empty page. Start new chapters with First page.


Thanks for posting the errors!
Unfortunately this one may have other causes. I got this error but I didn't have body frames on any empty page layouts and all my new chapters started with a first page.
I know the source of the error is from another error I am having with a table cell merging and it has somehow affected the building process. As we're still working through the merged cell error I can't really clarify how to solve this (other than unmerging the cell.. but you may not know which cell has caused the error so I don't advise unmerging all cells!). I do know that when solving this other error I no longer get the error message I quoted above (from HeraTech's post).
I'll try to remember to post back with the solution if/when we find one.
CATERAF
Sr. Propeller Head
 
Posts: 103
Joined: Mon Mar 18, 2013 10:19 pm
Location: Perth, Australia

Re: Background Thread error messages - Compiled SOLUTIONS

Postby Zeesa on Thu Apr 24, 2014 3:12 pm

Thank you so much for posting these error messages and solutions. My error message isn't listed here, but deleting the Analyzer folder worked for me. To make my error message searchable to anyone else experiencing this issue, I've included details below.

ACTION:
I opened a project in Flare V9, and then clicked Project tab > Project Properties > Source Control tab > Unbind Project.

ISSUE:
I received the following error:
Problem(s) in FileList background thread: Cannot access a disposed object.
Object name: 'SvnClientContext'. [System.ObjectDisposedException]


Note: The project appeared to be unbound in the Project Properties dialog box, however it still seemed to be linked to SVN (for example; if I deleted a file, it would prompt me to allow it to be deleted from SVN as well).

SOLUTION:
1. I deleted my project from my computer and then download it from SVN again.
2. I deleted the Analyzer folder.
3. I opened the project in Flare V9, and then clicked Project tab > Project Properties > Source Control tab > Unbind Project.

FINAL RESULT:
The project became unbound from SVN as expected, and I received no error messages.


Thank you for your support!
Zeesa
Jr. Propeller Head
 
Posts: 1
Joined: Thu Apr 24, 2014 1:41 pm

Re: Background Thread error messages - Compiled SOLUTIONS

Postby ChoccieMuffin on Thu May 21, 2015 5:56 am

Another tip relating to what you put in source control. You don't need to keep the \Analyzer and \Users folders because they are generated automatically any time you do stuff in the project, so there's no need to keep them and they're quite big so you are using up space unnecessarily. You could probably also not bother keeping the \Output folder either.
Started as a newbie with Flare 6.1, now using Flare 2018 r3.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Propellus Maximus
 
Posts: 1701
Joined: Wed Apr 14, 2010 8:01 am

Re: Background Thread error messages - Compiled SOLUTIONS

Postby Bambina_Mena on Mon Aug 10, 2015 12:51 pm

During a search, I hit upon this thread. The background thread error I am seeing is somewhat different. Can anyone provide insight into what the attached error message is trying to tell me? What is the solution? Thank you!!!
You do not have the required permissions to view the files attached to this post.
Bambina_Mena
Propeller Head
 
Posts: 37
Joined: Tue Jul 23, 2013 4:42 pm

Re: Background Thread error messages - Compiled SOLUTIONS

Postby Bambina_Mena on Tue Aug 11, 2015 4:49 am

Some wrote on another thread that "I'd try resetting the window layouts before reinstalling - sometimes that fixes anomalies." will fix the problem (and it did for the other user).
Please... I am new to Flare, etc. .. I rarely use it and when I do there are usually problems. What exactly do I need to do?
Bambina_Mena
Propeller Head
 
Posts: 37
Joined: Tue Jul 23, 2013 4:42 pm

Re: Background Thread error messages - Compiled SOLUTIONS

Postby Bambina_Mena on Wed Aug 12, 2015 7:19 am

Ignore my request. I simply deleted the project off of my C: drive and re-imported it from Subversion.
Luckily, the changes I'd made were minimal (prior to the error appeared that prevented me from checking in the updates).
Bambina_Mena
Propeller Head
 
Posts: 37
Joined: Tue Jul 23, 2013 4:42 pm


Return to Flare's General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron