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.




Scheduler stopped sending emails - bug report

web-app

I wanted to file this under Gemini Scheduler but it seems that it's the only project that does not have Create Issue link for regular users :) So, Gemini version 2.2.6 and Scheduler 1.7.1. Scheduler seems to hang in sending mails with following errors logged into event log, first one is warning by ASP.NET itself, and the other one is error logged by Scheduler.
----------------------------------------------------------------------------------------------
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 12/20/2007 11:40:53 AM
Event time (UTC): 12/20/2007 10:40:53 AM
Event ID: b363632bf9ae425f99e1eb96763bd6e4
Event sequence: 83
Event occurrence: 5
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT/Gemini-1-128426194408638572
    Trust level: Full
    Application Virtual Path: /Gemini
    Application Path: c:\inetpub\wwwroot\Gemini\
   
Process information:
    Process ID: 2144
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: ArgumentException
    Exception message: ' ', hexadecimal value 0x02, is an invalid character.
 
Request information:
    Request URL: http://<machine_name>/gemini/webservices/IssuesWS.asmx
    Request path: /gemini/webservices/IssuesWS.asmx
    User host address: 10.0.2.113
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 1
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.Xml.XmlConvert.VerifyCharData(String data, ExceptionType exceptionType)
   at System.Xml.DocumentXmlWriter.WriteString(String text)
   at System.Xml.XmlWellFormedWriter.WriteString(String text)
   at Microsoft.Web.Services3.Xml.XmlWrappingWriter.WriteString(String text)
   at Microsoft.Web.Services3.Xml.XmlWrappingWriter.WriteString(String text)
   at System.Web.Services.Protocols.Soap11ServerProtocolHelper.WriteFault(XmlWriter writer, SoapException soapException, HttpStatusCode statusCode)
   at System.Web.Services.Protocols.SoapServerProtocol.WriteException(Exception e, Stream outputStream)
   at System.Web.Services.Protocols.WebServiceHandler.WriteException(Exception e)
   at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
   at System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 ----------------------------------------------------------------------------------------------
System.Web.Services - The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/gemini/Error.aspx?aspxerrorpath=/gemini/webservices/IssuesWS.asmx">here</a>.</h2>
</body></html>

--. -    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at IssueServices.GetIssue(Int32 projectID, Int32 issueID)
   at CounterSoft.Gemini.Scheduler.EmailAlertsProcess.ProcessIssueAlerts()
 ----------------------------------------------------------------------------------------------

any ideas?
thanx,
LePiaf

LePiaf
· 1
LePiaf
Replies (4)
helpful
0
not helpful

Unfortunetely, this issue occurs when you have a non "standrad" character within the text of an issue (description or comment).

You will have to remove the offending issue from the issuealerts table


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

thanx, I got rid of those two messages by deleting alerts with problematic issue, but now new one appears:
-----------------------------------------------------------------------------
mscorlib - Object of type 'System.Collections.ArrayList' cannot be converted to type 'System.Collections.Generic.IList`1[CounterSoft.Gemini.Commons.IssueCommentEN]'. -    at System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
   at System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck, Boolean doCheckConsistency)
   at System.Runtime.Serialization.FormatterServices.SerializationSetValue(MemberInfo fi, Object target, Object value)
   at System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder holder, Boolean bObjectFullyComplete)
   at System.Runtime.Serialization.ObjectManager.DoNewlyRegisteredObjectFixups(ObjectHolder holder)
   at System.Runtime.Serialization.ObjectManager.RegisterObject(Object obj, Int64 objectID, SerializationInfo info, Int64 idOfContainingObj, MemberInfo member, Int32[] arrayIndex)
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.RegisterObject(Object obj, ParseRecord pr, ParseRecord objectPr, Boolean bIsString)
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseArray(ParseRecord pr)
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObject(ParseRecord pr)
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Parse(ParseRecord pr)
   at System.Runtime.Serialization.Formatters.Binary.BinaryParser.ReadArray(BinaryHeaderEnum binaryHeaderEnum)
   at System.Runtime.Serialization.Formatters.Binary.
BinaryParser.Run()
   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 CounterSoft.Gemini.Commons.GeminiHelper.GetIssueEN(Byte[] abData)
   at CounterSoft.Gemini.Scheduler.EmailAlertsProcess.ProcessIssueAlerts()
-----------------------------------------------------------------------------
any ideas now?

thanx,
LePiaf


LePiaf
· 1
LePiaf
helpful
0
not helpful

If you have had alerts in the table before upgrading to 2.2.6 then you need to remove those.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

all seems ok now, thanx for help :)

LePiaf


LePiaf
· 1
LePiaf