Jump to content

Branch Explorer: Object Reference Not Set To An Instance Of An Object


Jared Bott

Recommended Posts

Twice in the last month or so I've had an issue where the Plastic client won't show me the branch explorer. When I view the branch explorer I get a message that says "Exception has been thrown by the target of an invocation. Server: plastic://localhost:8087. Object reference not set to an instance of an object." This doesn't happen for all of my repositories, but has happened to the same one each time it has occurred. The first time it occurred, I ended up deleting the local repository and workspace, and creating new ones, then resyncing with the remote repository. I would prefer to not have to do that again. I am using sqlite backends, if that helps. Today when the issue occurred, I was using Plastic without issue, then restarted my computer and Windows installed an update. All attempts to see the branch explorer afterward have resulted in the error.

I have enabled logging for the client and looked through the log for when the error occurs. Here is the section around where it happens.

Quote

2017-01-17 10:49:33,651 INFO  Serialization - Uncompressed 89999 bytes in 262606 bytes. Time: 0 ms.
2017-01-17 10:49:33,651 DEBUG BufferPool - <- Releasing with name SinkcompressionPool (4)
2017-01-17 10:49:33,655 ERROR ClientSink - Issue invoking mFormatter.DeserializeMethodResponse: Exception has been thrown by the target of an invocation.
2017-01-17 10:49:33,657 DEBUG ClientSink -    at System.RuntimeMethodHandle.SerializationInvoke(IRuntimeMethodInfo method, Object target, SerializationInfo info, StreamingContext& context)
   at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
   at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
   at System.Runtime.Serialization.ObjectManager.DoFixups()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at p4.a(Stream A_0, IMethodCallMessage A_1)
2017-01-17 10:49:33,657 DEBUG BufferPool - <- Releasing with name UncompressionPool (4)
2017-01-17 10:49:33,657 DEBUG ClientSink - plastic://localhost:8087/ItemHandler.GetReleaseDiagramInfo failed: Exception has been thrown by the target of an invocation.
2017-01-17 10:49:33,657 DEBUG ClientSink - | GetReleaseDiagramInfo | proc 62 | 20
2017-01-17 10:49:33,657 ERROR CmProxy - Error invoking method [GetReleaseDiagramInfo] [plastic://localhost:8087/ItemHandler] Exception has been thrown by the target of an invocation. Server: plastic://localhost:8087. Object reference not set to an instance of an object.
2017-01-17 10:49:35,092 ERROR plastic - Plastic SCM client version: 5.4.16.803
2017-01-17 10:49:35,092 ERROR plastic - 
Error message: Exception has been thrown by the target of an invocation. Server: plastic://localhost:8087. Object reference not set to an instance of an object.
2017-01-17 10:49:35,093 DEBUG plastic - 
StackTrace:    at an.Invoke(a A_0, oo A_1, String A_2)
   at er.Invoke(IMessage A_0)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Codice.CM.Interfaces.IItemHandler.GetReleaseDiagramInfo(RepId repId, Int64 utcStartTicks, Int64 utcEndTicks, Int32 stage)
   at lb.e.a(RepositoryInfo A_0, Int32 A_1, Int64 A_2, Int64 A_3)
   at lb.a(RepositoryInfo A_0, List`1 A_1, Int64 A_2, Int64 A_3)
   at lb.a(RepositoryInfo A_0, List`1 A_1, Int64 A_2, Int64 A_3)
   at am1.a(Int32 A_0, DateTime A_1, DateTime A_2)
   at am1.g()
   at aop.a()

Thank you.

Link to comment
Share on other sites

Hello Jared,

can you please provide me the following info?

1) The full Plastic SCM client and server debug log.

2) The Plastic SCM repository metadata file. 

cm fast-export repository_Name output_fileName.metadata --nodata

You can email it to us to support at codicesoftware dot com, please reference this thread.

3) The Plastic SCM client and server version.

 

I'll try to reproduce the problem asap.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...