Attempting to execute a Finalbuilder Server WebService throws an exception


Hello,

I'm running FinalBuilder Server v7.0.0.292 and can no longer access the web-services as they now throw an exception every time we access them.

They were previously working until I had to restart the machine because Finalbuilder Server refused to start any builds (and I could not bring the build service back up after stopping it).

Finalbuilder Server seems to be running fine but when I access the web services I get the following error message:

System.Runtime.Serialization.SerializationException: Type 'System.ServiceModel.ExceptionDetail' in Assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.

Server stack trace: 
   at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type)
   at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)
   at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()
   at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)
   at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
   at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
   at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.SerializeResponse(IServerResponseChannelSinkStack sinkStack, IMessage msg, ITransportHeaders& headers, Stream& stream)
   at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at VSoftTechnologies.FinalBuilderServer.Remoting.IFBServerManager.GetProjectCollection(String authenticationToken, IProjectFilter Filter)
   at VSoftTechnologies.FinalBuilderServer.Web.Services.FinalBuilderServer.GetProjectNames(String authenticationToken)

We are using the web-services to populate our custom dashboard (using the 'GetProjects' webservice method).

Thanks.

Simon. K


Hi Simon

Have a look in the windows eventlog, there must be something else happening, I don;t think this is the real exception. Has anything changed on your machine?


Hi Vincent,

The exceptions definitely real and I can reproduce it through a browser talking directly to the webservices (through Services/Finalbuilderserver.asmx).

Upon further testing I found that if I leave the authentication token blank then it works. This is the opposite of what I had found before resetting the machine (and our dashboard had been working for over a week passing a non-null authentication token). So, yeah, wierd! (and kind of annoying).

Thanks,

Simon. K