object reference error

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
cisco.hdz
Posts: 28
Joined: Fri Sep 08, 2006 10:30 am

object reference error

Post by cisco.hdz » Thu Jun 21, 2007 2:38 pm

Sourcegear Fortress Error

An error has occured. The error message is:
Object reference not set to an instance of an object.



I keep on getting this error when i try to load up a particular solution. I tried turning on logging but the only thing i see is [1] which is a problem that crops up from time to time too...(last one i remember it was when i was going from offline to online)

Is there something i can do to see what the error was so i can post a more detailed problem?


[1]
6/21/2007 3:25:40 PM <generic>: Exception while executing UIThreadTask 'Void RefreshAllNodes()': System.NotImplementedException: The method or operation is not implemented.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr, Int32[] expectedHRFailure)
at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr)
at SourceGearLLC.VaultVsipClient.SolutionNodeManager.RefreshNodesGlyphs(IList`1 selectedNodes)
at SourceGearLLC.VaultVsipClient.SolutionNodeManager.RefreshAllNodes()
at SourceGearLLC.VaultVsipClient.UIThreadTask.Run()
6/21/2007 3:25:40 PM <generic>: Exception while executing UIThreadTask 'Void RefreshAllNodes()': System.NotImplementedException: The method or operation is not implemented.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr, Int32[] expectedHRFailure)
at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr)
at SourceGearLLC.VaultVsipClient.SolutionNodeManager.RefreshNodesGlyphs(IList`1 selectedNodes)
at SourceGearLLC.VaultVsipClient.SolutionNodeManager.RefreshAllNodes()
at SourceGearLLC.VaultVsipClient.UIThreadTask.Run()
at SourceGearLLC.VaultVsipClient.UIThreadTask.DoTasks(UInt32 idleFlags)
at SourceGearLLC.VaultVsipClient.VaultVsipClient.FDoIdle(UInt32 grfidlef)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr, Int32[] expectedHRFailure)
at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr)
at SourceGearLLC.VaultVsipClient.SolutionNodeManager.RefreshNodesGlyphs(IList`1 selectedNodes)
at SourceGearLLC.VaultVsipClient.SolutionNodeManager.RefreshAllNodes()
at SourceGearLLC.VaultVsipClient.UIThreadTask.Run()

[/img]

cisco.hdz
Posts: 28
Joined: Fri Sep 08, 2006 10:30 am

Post by cisco.hdz » Thu Jun 21, 2007 2:50 pm

oh and this message box is in a constant loop.. i think it's doing it for every project and almost every file. Once i click on ok for the nth time it lookslike the project is offline... I did set the server loging to DEBUG but there isn't any error in there i can see... below is all the logging since i tried opening up my project... looks like it's after it's done talking to fortress bit u don't know..

Code: Select all

----6/21/2007 3:43:01 PM     sgvaultsystem--()--	
	System Started
	Version 1.0.1.15780
	Cache Level = 1
	DataBase Buffer Size (KB) = 256
	LogFile Path = C:\WINDOWS\Temp\sgvault
	Log Level = Debug
	Archive Log = Weekly
	ReverseDNS Lookup = True
	Maximum HTTP Request Length = 102400
	Overwrite Log on Startup = False
	Session Timeout = 4320
	SGVault Working Directory = C:\WINDOWS\Temp
	SGVault Server URL = http://serverhere:2040/fortress/
	Identity = NT AUTHORITY\NETWORK SERVICE 
----6/21/2007 3:43:01 PM     --()--	Beginning SQL transaction 25557051 
----6/21/2007 3:43:01 PM     --()--	SQL transaction 25557051 successfully committed. 
----6/21/2007 3:43:01 PM     --()--	Beginning SQL transaction 50595586 
----6/21/2007 3:43:01 PM     --()--	SQL transaction 50595586 successfully committed. 
----6/21/2007 3:45:26 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	Beginning SQL transaction 60463351 
----6/21/2007 3:45:26 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	SQL transaction 60463351 successfully committed. 
----6/21/2007 3:45:26 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	Login 
----6/21/2007 3:46:31 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	Beginning SQL transaction 16060593 
----6/21/2007 3:46:31 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	SQL transaction 16060593 successfully committed. 
----6/21/2007 3:46:31 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	Login 
----6/21/2007 3:46:32 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	GetUserOptions returned: Success 
----6/21/2007 3:46:33 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	Success 
----6/21/2007 3:46:34 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	Getting repository Structure-> Rep ID: 6 Base: 10992 Target: -1 
----6/21/2007 3:46:34 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	TreeManager: Filling empty cache with current tree. 
----6/21/2007 3:46:34 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	VaultServiceAPI::GetRepositoryTreeDelta() UserID:2 RepID:6 Base:10992 Target:10993  Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff. 
----6/21/2007 3:46:34 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	VaultServiceAPI::PrepareTreeDeltaForTransport() nNumDeltaNodes:1026 Base:0 Target:10993 
----6/21/2007 3:46:34 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	GetRepositoryStructure returned: Success 
----6/21/2007 3:46:35 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	VaultFileDownload starting 
----6/21/2007 3:46:35 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	GetLatest wrote 0 bytes to the Response Stream 
----6/21/2007 3:46:37 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	Ending download process 
----6/21/2007 3:46:37 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	EndDownloadProcess returned:  Success 
----6/21/2007 3:46:38 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	Getting repository Structure-> Rep ID: 6 Base: 0 Target: -1 
----6/21/2007 3:46:38 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	TreeManager: cache matches repository revision and folder security hasn't changed.  Returning cached tree, revID 10993 
----6/21/2007 3:46:38 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	VaultServiceAPI::GetRepositoryTreeDelta() UserID:2 RepID:6 Base:0 Target:10993  Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff. 
----6/21/2007 3:46:38 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	VaultServiceAPI::PrepareTreeDeltaForTransport() nNumDeltaNodes:1026 Base:0 Target:10993 
----6/21/2007 3:46:38 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	GetRepositoryStructure returned: Success 
----6/21/2007 3:46:38 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	VaultFileDownload starting 
----6/21/2007 3:46:38 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	GetLatest wrote 0 bytes to the Response Stream 
----6/21/2007 3:46:40 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	Ending download process 
----6/21/2007 3:46:40 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	EndDownloadProcess returned:  Success 
----6/21/2007 3:46:41 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	GetUserEmailOptions returned Success 
----6/21/2007 3:46:42 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	TreeManager: cache matches repository revision and folder security hasn't changed.  Returning cached tree, revID 10993 
----6/21/2007 3:46:42 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	ListWatchers returned Success 
----6/21/2007 3:46:43 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	ListCloakedObjects returned: Success 
----6/21/2007 3:46:43 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	GetRepositoryOptions returned: Success 
----6/21/2007 3:46:45 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	Getting repository Structure-> Rep ID: 6 Base: 10992 Target: -1 
----6/21/2007 3:46:45 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	TreeManager: cache matches repository revision and folder security hasn't changed.  Returning cached tree, revID 10993 
----6/21/2007 3:46:45 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	VaultServiceAPI::GetRepositoryTreeDelta() UserID:2 RepID:6 Base:10992 Target:10993  Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff. 
----6/21/2007 3:46:45 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	VaultServiceAPI::PrepareTreeDeltaForTransport() nNumDeltaNodes:1026 Base:0 Target:10993 
----6/21/2007 3:46:45 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	GetRepositoryStructure returned: Success 
----6/21/2007 3:46:45 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	VaultFileDownload starting 
----6/21/2007 3:46:45 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	GetLatest wrote 0 bytes to the Response Stream 
----6/21/2007 3:46:46 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	Ending download process 
----6/21/2007 3:46:46 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	EndDownloadProcess returned:  Success 
----6/21/2007 3:46:47 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	Getting repository Structure-> Rep ID: 6 Base: 0 Target: -1 
----6/21/2007 3:46:47 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	TreeManager: cache matches repository revision and folder security hasn't changed.  Returning cached tree, revID 10993 
----6/21/2007 3:46:47 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	VaultServiceAPI::GetRepositoryTreeDelta() UserID:2 RepID:6 Base:0 Target:10993  Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff. 
----6/21/2007 3:46:47 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	VaultServiceAPI::PrepareTreeDeltaForTransport() nNumDeltaNodes:1026 Base:0 Target:10993 
----6/21/2007 3:46:47 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	GetRepositoryStructure returned: Success 
----6/21/2007 3:46:47 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	VaultFileDownload starting 
----6/21/2007 3:46:47 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	GetLatest wrote 0 bytes to the Response Stream 
----6/21/2007 3:46:49 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	Ending download process 
----6/21/2007 3:46:49 PM     cisco--10.10.10.51(10.10.10.51)--SSL Disabled	EndDownloadProcess returned:  Success 
[/b]

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Thu Jun 21, 2007 2:51 pm

Actually, what you've already provided gives me a pretty good idea what's happening. Would you be willing to send me the solution file (just the sln) for the solution in question? This should give me enough info to reproduce the issue. If so, you can email it ian at sourcegear dot com.

Also, I assume you're running Fortress 1.0.1, can you confirm that for me?
Ian Olsen
SourceGear

cisco.hdz
Posts: 28
Joined: Fri Sep 08, 2006 10:30 am

Post by cisco.hdz » Thu Jun 21, 2007 3:15 pm

ian

The problem went away when i cleared the client cache files but i will send you the .sln file in case it helps any. Maybe i just did a bandaid to the problem.

Cisco

cisco.hdz
Posts: 28
Joined: Fri Sep 08, 2006 10:30 am

Post by cisco.hdz » Thu Jun 21, 2007 3:17 pm

ian_sg wrote:Actually, what you've already provided gives me a pretty good idea what's happening. Would you be willing to send me the solution file (just the sln) for the solution in question? This should give me enough info to reproduce the issue. If so, you can email it ian at sourcegear dot com.

Also, I assume you're running Fortress 1.0.1, can you confirm that for me?
on and yes.. i'm running 1.0.1 but where do i e-mail you the file? i don't see an attachment option... :?

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Thu Jun 21, 2007 3:18 pm

Email it to ian at sourcegear dot com. Thanks!
Ian Olsen
SourceGear

Post Reply