Jump to content

Null Object errormessage when opening the Client


wvd_vegt

Recommended Posts

Hi,

I've encounter a error message a couple of times about a null object when i start the client. Below is the error log. I restarted the client and then i had no error.

Is this harmless?

2012-04-22 12:16:04,474 (null) (null) INFO  Channel - ThreadPool MaxThreads = 8
2012-04-22 12:16:04,521 (null) (null) INFO  Channel - ThreadPool MinThreads = 2
2012-04-22 12:16:05,472 (null) (null) INFO  ChannelCall - recb:   517|rect: 46|sentb:   256|sendt: 16|prt:	 842|th: 5064|dest:   0|mt:	 140|sert:  62|zip: 203|   145.20.140.48|GetFileContent
2012-04-22 12:16:35,678 (null) (null) INFO  Channel - Tcp transport error. ReceiveMessageStatus Connection closed
2012-04-22 12:16:36,037 (null) (null) INFO  Channel - conn	    0 Tcp transport error. Connection closed
2012-04-22 14:56:53,190 00000000-0000-0000-0000-000000000000 LENOVO INFO  Operations - Check connection
2012-04-22 14:56:53,521   INFO  ChannelCall - recb:   514|rect:  0|sentb:   257|sendt:  0|prt:	 795|th: 5064|dest:   0|mt:	 577|sert:  16|zip:  15|   145.20.140.48|CheckConnection
2012-04-22 14:56:56,891   INFO  ChannelCall - recb:   517|rect:  0|sentb:   256|sendt:  0|prt:	  78|th: 5064|dest:   0|mt:	  31|sert:   0|zip:   0|   145.20.140.48|GetFileContent
2012-04-22 14:57:16,074 00000000-0000-0000-0000-000000000000 LENOVO INFO  Operations - Get repository info Hottack.Net
2012-04-22 14:57:16,136 00000000-0000-0000-0000-000000000000 LENOVO INFO  Operations - Get repository info Hottack.Net
2012-04-22 14:57:16,152 00000000-0000-0000-0000-000000000000 LENOVO INFO  Operations - Get repository info Hottack.Net
2012-04-22 14:57:16,511 00000000-0000-0000-0000-000000000000 LENOVO INFO  Operations - Get repository info Hottack.Net
2012-04-22 14:57:22,482 00000000-0000-0000-0000-000000000000 LENOVO INFO  Operations - Get repository info Hottack.Net
2012-04-22 14:57:22,716 00000000-0000-0000-0000-000000000000 LENOVO INFO  Security - ACLReader reading all acls for repository 54. 6053 ms
2012-04-22 14:57:22,716 00000000-0000-0000-0000-000000000000 LENOVO ERROR Operations - OnError catching exception Object reference not set to an instance of an object.
  at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
  at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
  at Codice.CM.Data.SqlDataQueryFactory.GetOwnerQuery(ProviderName provider)
  at Codice.CM.Data.DataQueryFactory.GetOwnerQuery()
  at ayh.e(SOT A_0)
  at ayh.c(SEID A_0)
  at ayh.a(SOT A_0, SEID A_1, SEID A_2)
  at ayh.b(SOT A_0, SEID A_1, SEID A_2)
  at ayh.b(SOT A_0, SEID A_1, Permissions A_2)
  at ayh.a(SOT A_0, Permissions A_1)
  at Codice.CM.Server.SecuredRepositoryHandler.a(Int64 A_0, Permissions A_1, Boolean A_2)
  at Codice.CM.Server.SecuredRepositoryHandler.GetRepositoryInfo(String name)
  at Codice.CM.Server.TransactionInterceptor.GetRepositoryInfo(String name)
2012-04-22 14:57:22,794 00000000-0000-0000-0000-000000000000 LENOVO INFO  Security - ACLReader reading all acl entries for repository 54. 78 ms
2012-04-22 14:57:23,215 00000000-0000-0000-0000-000000000000 LENOVO INFO  Security - ACLReader reading all acl inheritance entries for repository 54. 421 ms
2012-04-22 14:57:23,231 00000000-0000-0000-0000-000000000000 LENOVO INFO  Security - ACLReader updating ACL cache for repository 54. 16 ms
2012-04-22 14:57:23,231   ERROR Codice.CM.Server.ExceptionTracerSink - Dumping in-transit exception:There has been an unexpected error "Object reference not set to an instance of an object.". For more information check the server log.
  at Codice.CM.Server.TransactionInterceptor.GetRepositoryInfo(String name)
  at Codice.CM.Server.TriggerInterceptor.GetRepositoryInfo(String name)
  at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
  at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
2012-04-22 14:57:23,402   INFO  ChannelCall - recb:   715|rect:  0|sentb:  1459|sendt:  0|prt:    7269|th: 6284|dest:   0|mt:    7083|sert: 171|zip:   0|   145.20.140.48|GetRepositoryInfo
2012-04-22 14:57:23,777 00000000-0000-0000-0000-000000000000 LENOVO INFO  UpdatePerf -   CmDataReader- Execute 281 ms. [sELECT iaclid FROM acl WHERE fidcreator = -1]
2012-04-22 14:57:23,777 00000000-0000-0000-0000-000000000000 LENOVO INFO  UpdatePerf -   CmDataReader- Execute 281 ms. [sELECT iaclid FROM acl WHERE fidcreator = -1]
2012-04-22 14:57:25,898 00000000-0000-0000-0000-000000000000 LENOVO INFO  UpdatePerf -   CmDataReader- Execute 671 ms. [sELECT fidseid, igranted, idenied FROM aclentry WHERE fidacl = @fidacl]
2012-04-22 14:57:25,930 00000000-0000-0000-0000-000000000000 LENOVO INFO  UpdatePerf -   CmDataReader- Execute 718 ms. [sELECT fidseid, igranted, idenied FROM aclentry WHERE fidacl = @fidacl]
2012-04-22 14:57:26,054   INFO  ChannelCall - recb:   715|rect:  0|sentb:   463|sendt:  0|prt:   10031|th: 5064|dest:   0|mt:    9844|sert: 140|zip:   0|   145.20.140.48|GetRepositoryInfo
2012-04-22 14:57:26,195 00000000-0000-0000-0000-000000000000 LENOVO INFO  Operations - Execute simple query for repository 54
2012-04-22 14:57:26,304   INFO  ChannelCall - recb:   715|rect:  0|sentb:   463|sendt: 47|prt:    3869|th: 2204|dest:   0|mt:    3775|sert:   0|zip:   0|   145.20.140.48|GetRepositoryInfo
2012-04-22 14:57:26,772   INFO  ChannelCall - recb:  1215|rect:  0|sentb:   597|sendt:  0|prt:	 593|th: 5224|dest:   0|mt:	 561|sert:  16|zip:   0|   145.20.140.48|ExecuteSimpleQuery
2012-04-22 14:57:28,613 (null) (null) INFO  Channel - Tcp transport error. ReceiveMessageStatus Connection closed
2012-04-22 14:57:28,613 (null) (null) INFO  Channel - conn	    1 Tcp transport error. Connection closed
2012-04-22 14:57:39,421 00000000-0000-0000-0000-000000000000 LENOVO INFO  Operations - Retrieving server instance Id
2012-04-22 14:57:39,427   INFO  ChannelCall - recb:   480|rect:  0|sentb:   334|sendt:  0|prt:	   0|th: 6452|dest:   0|mt:	   0|sert:   0|zip:   0|   145.20.140.48|GetServerInstanceId
2012-04-22 14:57:39,531 00000000-0000-0000-0000-000000000000 LENOVO INFO  Operations - Get info for branch 3 at repository ID 54
2012-04-22 14:57:39,710   INFO  ChannelCall - recb:   498|rect:  0|sentb:   547|sendt:  0|prt:	 171|th: 6128|dest:   0|mt:	 171|sert:   0|zip:   0|   145.20.140.48|GetBranchInfo
2012-04-22 14:57:55,821 (null) (null) INFO  Channel - Tcp transport error. ReceiveMessageStatus Connection closed
2012-04-22 14:57:55,821 (null) (null) INFO  Channel - conn	    4 Tcp transport error. Connection closed
2012-04-22 14:57:58,832 (null) (null) INFO  Channel - Tcp transport error. ReceiveMessageStatus Connection closed
2012-04-22 14:57:58,832 (null) (null) INFO  Channel - conn	    6 Tcp transport error. Connection closed
2012-04-22 14:58:10,942 (null) (null) INFO  Channel - Tcp transport error. ReceiveMessageStatus Connection closed
2012-04-22 14:58:10,942 (null) (null) INFO  Channel - conn	    2 Tcp transport error. Connection closed

Link to comment
Share on other sites

Hi

Just noticed that the plastic service is also running at almost 100% CPU load. I'll have to restart it.

A addition and checking of a new project into a new repo went ok before the restart.

After the restart of the plastic service the CPU load is back to 'normal' at near zero for plasticd.exe.

Version is v4.0.239.24

Link to comment
Share on other sites

Hi

The repo numbering stops at 110 but not all are active. I estimate around repo's 40-50 are active.

I do not have the development machine at hand but will have a look at the owner permissions tonight!

Am i correct the bug is in about repo 54?

INFO Operations - Get repository info Hottack.Net

2012-04-22 14:57:22,716 00000000-0000-0000-0000-000000000000 LENOVO INFO Security - ACLReader reading all acls for repository 54. 6053 ms

or is it caused by a connection error?

2012-04-22 12:16:35,678 (null) (null) INFO Channel - Tcp transport error. ReceiveMessageStatus Connection closed

2012-04-22 12:16:36,037 (null) (null) INFO Channel - conn 0 Tcp transport error. Connection closed

Link to comment
Share on other sites

If you are working fine with the report it should not be a problem, don't worry.

The "cm chkdb" command checks the integrity of the database but it's not 100% operative. The idea was to include the command in 4.1 but we ran out of time....

Link to comment
Share on other sites

I always found VSS's lengthy database re-assuring as it seemed to walk all files/revisions.

For me the VSS database integrity is a nightmare, I get it all corrupted after a few work, it was frustrating for Import/Export tasks.

I think the chkdb command it will be done in the next sprint.

Link to comment
Share on other sites

Hi

I had no major problems during the 10+ years i used VSS (that is standalone) and D7 tools tend to crash sometimes against the latest re-incarnation of VSS.

Personally I had much much more problems with CVS even without more complex operations then update/commit (I'm totally incompatible with that).

SVN is slightly better (but I do only update/commit pattern there and my only branch was a nightmare in Eclipse).

I agree integrity of VSS is a problem for certain projects but at least the check's where extensive (but what to do if they return an error was someting different).

Link to comment
Share on other sites

Hi

Checked the permissions on this repository and everything seems ok. Maybe a network hickup (i was ruinning a vpn, maybe it dropped)/

The repository count at the moment is 67 and rising (so I think now you can understand my problems with the workspaces tabs on top of the client too).

Link to comment
Share on other sites

Hi

Because I put controls and re-usable C# libraries in separate repo's, it's very easy to create a solution for a project and load the controls and libraries as additional projects (so 1 project, 1 installer project and 20+ controls/libraries in a single solution). I check-out mainly files the project but can work on my libraries as well without swapping solutions. Plastic finds it OK this way.

The point is that if I fix a bug/add functionality in a control / library, other projects are updated too and my sources stay at a single point. It's easy to do because they all live in the same VS solution and i do not have to swap solutions. Besides, it also prevents a lot of pending commits etc as the repo's are independent.

I only notice a longer delay when i start the client (it seems loading all databases takes some time). Not sure what it loads at startup besides the repositories.plastic.sdf.

Link to comment
Share on other sites

Do you find any added benefit to versioning the installer separate from the project? I've always just bundled them together in the same repository and the installer lives as another project inside the solution. My re-usable components I obviously version separately as do you, but the installer is pretty specific to that project so I bundled it together.

Link to comment
Share on other sites

Hi

I just had a separate vs project for them but they live in the same repo.

Btw I had some problems with keeping files readable in the installer project so i have to keep those files checked-out and i found it pretty hard to do with the plastiscm add-in and resorted to the standalone client for that.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...