Hi,
I have Flare v10 integrated with SVN.
I had two topic files in a certain folder in the Content Explorer and needed to move the files to a new folder. I created the folder, then moved the files to the new folder. I did all that within the Content Explorer itself. Before I moved the files, they were both checked out of source control.
After I moved them, instead of the red check mark (indicating they are checked out) they have a strange symbol that kind of hard to describe. To me it looks like a telephone pole. Here is a screen shot, but it's hard to make out:
When I try to check the files in, I get an error message that says Object reference not set to an instance of an object and I'm not able to check them in.
Any help you can provide is appreciated.
Thanks,
Steve
Errors After Moving Files in Content Explorer
Errors After Moving Files in Content Explorer
You do not have the required permissions to view the files attached to this post.
-
Nita Beck
- Senior Propellus Maximus
- Posts: 3672
- Joined: Thu Feb 02, 2006 9:57 am
- Location: Pittsford, NY
Re: Errors After Moving Files in Content Explorer
That little icon is perfectly normal. It's the symbol that indicates a moved/renamed file. Once you check it in, it'll show the padlock symbol, and the next time you check out, it'll show the red checkmark.
Unfortunately, I don't know how to assist you to resolve the problem you're having trying to now check the moved/renamed file in. If you have multiple files in this state, or perhaps other files that you didn't rename but that are also checked out (which is likely if the renamed/moved file had been linked to other files, and you told Flare to update the links), try checking files in one at a time, so as to isolate which file it is that has the problem. Once you get to that point, see if there's something amiss in the code of the file.
WAIT WAIT! I just noticed something you mentioned in your post. You say that the files were already checked out (and I assume you had edited them) and then you moved them. Typically, it's best to first check in any changes you've made to files and then to do the move/rename as a completely separate operation. Honestly, I'm not sure how you can back out of this. Perhaps you can move the files back to their original locations and then check in the edits you made. Then move them.
If all else fails, you might need to acquire a new working copy of the project from SVN. It will not have the moves, and it won't have the most recent edits you did to those two files. But at least you can get back to a point where you can reproduce your edits, check them in, then do the move.
HTH
Unfortunately, I don't know how to assist you to resolve the problem you're having trying to now check the moved/renamed file in. If you have multiple files in this state, or perhaps other files that you didn't rename but that are also checked out (which is likely if the renamed/moved file had been linked to other files, and you told Flare to update the links), try checking files in one at a time, so as to isolate which file it is that has the problem. Once you get to that point, see if there's something amiss in the code of the file.
WAIT WAIT! I just noticed something you mentioned in your post. You say that the files were already checked out (and I assume you had edited them) and then you moved them. Typically, it's best to first check in any changes you've made to files and then to do the move/rename as a completely separate operation. Honestly, I'm not sure how you can back out of this. Perhaps you can move the files back to their original locations and then check in the edits you made. Then move them.
If all else fails, you might need to acquire a new working copy of the project from SVN. It will not have the moves, and it won't have the most recent edits you did to those two files. But at least you can get back to a point where you can reproduce your edits, check them in, then do the move.
HTH
Nita

RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Re: Errors After Moving Files in Content Explorer
I've found flare to have trouble checking in Deletes in svn. And a move in SVN is just a Delete + an Add.
A frequent problem is you create a file (generates an Add in svn), don't check it in, rename it (generates a delete and a new add). Then when you go to check in, all of these actions are still pending. That means it wants to finalize the add for the first file, but can't find it because it doesn't exist. It throws an error, but Flare does not pass through the SVN messages, so you won't be able to tell what is going on from Flare.
If you are comfortable with another SVN tool, such as command line or Tortoise, I recommend using that tool to see the status.
A frequent problem is you create a file (generates an Add in svn), don't check it in, rename it (generates a delete and a new add). Then when you go to check in, all of these actions are still pending. That means it wants to finalize the add for the first file, but can't find it because it doesn't exist. It throws an error, but Flare does not pass through the SVN messages, so you won't be able to tell what is going on from Flare.
If you are comfortable with another SVN tool, such as command line or Tortoise, I recommend using that tool to see the status.
Re: Errors After Moving Files in Content Explorer
Thanks, Nita and emsachs.
I had to do kind of a convoluted workaround to get the files in a state where I can work with them and check them in. From now on I plan to check files in before renaming/moving!
emsachs, we are pretty much stuck with SVN.
Thanks!
I had to do kind of a convoluted workaround to get the files in a state where I can work with them and check them in. From now on I plan to check files in before renaming/moving!
emsachs, we are pretty much stuck with SVN.
Thanks!
-
smajors
- Sr. Propeller Head
- Posts: 180
- Joined: Mon Oct 21, 2013 9:28 am
- Location: Midwest United States
Re: Errors After Moving Files in Content Explorer
I'm getting this same error every time I move an image file to another folder in the Content Explorer. I'm not using the source control check in/out feature.
Technical Writer
Training & Development Team/Marketing Department
Training & Development Team/Marketing Department
Re: Errors After Moving Files in Content Explorer
The dread "object reference not set to an instance of an object" error can strike any time. It's a .NET error that is being bubbled up by Flare.
The first things to try are:
Try cleaning the affected project by following the steps below:
1. Close Flare.
2. Via Windows Explorer, go to the project location.
3. Delete the Output folder, Analyzer folder, and Users folder (located in the Project folder).
4. Re-open the project and retest.
(In real life, this never works for me, but it never hurts to give it a shot.)
Next, make sure you have the latest version of .NET, and go to Add/Remove Programs and repair the .NET framework.
After that it gets more complicated
The first things to try are:
Try cleaning the affected project by following the steps below:
1. Close Flare.
2. Via Windows Explorer, go to the project location.
3. Delete the Output folder, Analyzer folder, and Users folder (located in the Project folder).
4. Re-open the project and retest.
(In real life, this never works for me, but it never hurts to give it a shot.)
Next, make sure you have the latest version of .NET, and go to Add/Remove Programs and repair the .NET framework.
After that it gets more complicated