Fortress GUI Client exception on folder properties

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

Moderator: SourceGear

Post Reply
BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Fortress GUI Client exception on folder properties

Post by BigBrett » Mon Mar 10, 2008 7:43 am

With reference to the topic http://support.sourcegear.com/viewtopic.php?t=9797, which seems to be ignored now, I am getting an exception in the GUI Client (Fortress Client 1.1.0.16216) when trying to view the properties for some folders.

The GUI client throws an exception with the error message "Hour, Minute, and Second parameters describe an un-representable DateTime.".

The log data for this exception is as follows:

Code: Select all

06/03/2008 3:56:16 PM <generic>: [<No Name>:3220] VaultGUIClient, Version=1.1.0.16216, Culture=neutral, PublicKeyToken=null 
06/03/2008 3:56:32 PM <generic>: [GUIClientWorkerThread:1292]  [System.ArgumentOutOfRangeException: Hour, Minute, and Second parameters describe an un-representable DateTime. 
   at System.DateTime.TimeToTicks(Int32 hour, Int32 minute, Int32 second) 
   at VaultLib.VaultDateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minutes, Int32 seconds) 
   at VaultClientOperationsLib.ClientInstance.GetFolderVersionTxComment(String strPath) 
   at VaultClientOperationsLib.ClientInstance.GetFolderProperties(String strPath, Int64 nFolderVerID) 
   at VaultClientPresentationLib.GUIClientInstance.FolderProperties(VaultClientFolder folder) 
   at VaultClientPresentationLib.GUIClientInstance.Properties(RepositoryExplorerSelection selection) 
   at VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand command, GUIClientThreadCommandResult& outputResult)]Hour, Minute, and Second parameters describe an un-representable DateTime. 
   at System.DateTime.TimeToTicks(Int32 hour, Int32 minute, Int32 second) 
   at VaultLib.VaultDateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minutes, Int32 seconds) 
   at VaultClientOperationsLib.ClientInstance.GetFolderVersionTxComment(String strPath) 
   at VaultClientOperationsLib.ClientInstance.GetFolderProperties(String strPath, Int64 nFolderVerID) 
   at VaultClientPresentationLib.GUIClientInstance.FolderProperties(VaultClientFolder folder) 
   at VaultClientPresentationLib.GUIClientInstance.Properties(RepositoryExplorerSelection selection) 
   at VaultClientPresentationLib.GUIClientThread.ProcessCommand(GUIClientThreadCommand command, GUIClientThreadCommandResult& outputResult) 

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Mar 10, 2008 10:52 am

Is there anything in the Vault server log that corresponds to this error?
Linda Bauer
SourceGear
Technical Support Manager

BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Post by BigBrett » Mon Mar 10, 2008 11:10 pm

There is nothing shown in the server log about this problem although there was a problem logged about 10 minutes earlier.

The relevant log extract is as follows:

Code: Select all

----3/6/2008 3:44:05 PM      dev2--DEV2-PCC(10.10.15.42)--SSL Disabled	System.Data.SqlClient.SqlException: Invalid column name 'repid'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
   at VaultServiceSQL.VaultSqlSCC.ObliterateFSObject(VaultSqlConn conn, Int64 deletionid, Int64 folderID, Int64 objid, Boolean reallyObliterate, Char separator, VaultStringColl& ObliteratedObjects, ArrayList& branchConflictArray)    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
   at VaultServiceSQL.VaultSqlSCC.ObliterateFSObject(VaultSqlConn conn, Int64 deletionid, Int64 folderID, Int64 objid, Boolean reallyObliterate, Char separator, VaultStringColl& ObliteratedObjects, ArrayList& branchConflictArray)
----3/6/2008 3:55:15 PM      dev2--DEV2-PCC(10.10.15.42)--SSL Disabled	Logout 
----3/6/2008 3:56:11 PM      dev2--DEV2-PCC(10.10.15.42)--SSL Disabled	Login 
----3/6/2008 3:57:20 PM      dev2--DEV2-PCC(10.10.15.42)--SSL Disabled	Logout 

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue Mar 11, 2008 9:14 pm

Can you view properties from a different machine? Is this machine or user specific?
Linda Bauer
SourceGear
Technical Support Manager

BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Post by BigBrett » Tue Mar 11, 2008 11:16 pm

The same problem occurs on multiple machines (various users) and there is no problem evident in the server log.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Wed Mar 12, 2008 8:30 am

This is a known bug. The problem involves a new datetime being created. If the seconds on the Tx are 59, the original code causes an overflow condition.

This had been fixed for Vautl 4.1.1, due out later this month.
Linda Bauer
SourceGear
Technical Support Manager

BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Post by BigBrett » Wed Mar 12, 2008 8:37 am

Thanks for the info.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Wed Mar 12, 2008 8:42 am

You're welcome. :)
Linda Bauer
SourceGear
Technical Support Manager

Post Reply