Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




UsersService.GetUsers throws Exception

api

Our system suddenly stopped working when we call the UsersService.GetUsers method. The exception message is:

Unexpected end of file parsing Name. line 1, position 1469976.
   on System.Xml.XmlTextReaderImpl.Throw(Exception e)
   on System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   on System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String arg)
   on System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
   on System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
   on System.Xml.XmlTextReaderImpl.ParseEndElement()
   on System.Xml.XmlTextReaderImpl.ParseElementContent()
   on System.Xml.XmlTextReaderImpl.Read()
   on System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   on System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   on System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   on System.Xml.XmlDocument.Load(XmlReader reader)
   on System.Xml.XmlDocument.Load(Stream inStream)
   on CounterSoft.Gemini.Commons.Rest.Serializer.ConvertToObject[T](Stream stream)
   on CounterSoft.Gemini.WebServices.BaseService.GetObjectFromResponse[T](Stream stream, Int64 length)
   on CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType)
   on CounterSoft.Gemini.WebServices.UsersService.GetUsers(EntityLoadPattern loadPattern)

We're using CounterSoft.Gemini.Commons (4.0.1.3038) and CounterSoft.Gemini.WebServices (4.0.1.3038) libraries.

This is the command that throws the Exception:

UserEN[] users = this.serviceManager.UsersService.GetUsers(GeminiConstant.EntityLoadPattern.Full);

Could you help us please?

atorres
· 50
atorres
Replies (2)
helpful
0
not helpful

Do other methods work ok? Are you a Gemini admin? How long does it take to fail?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Suddenly and without that we do something, now all is back to normal. Yesterday, the execution time for UsersService.GetUsers(GeminiConstant.EntityLoadPattern.Full) was 20 minutes. Today it take 2 minutes. This is puzzling.


atorres
· 50
atorres