CounterSoft Community Server

Welcome to CounterSoft Community Server Sign in | Join | Help
Home Forums

Scheduler: application event error

Last post 07-03-2008, 8:54 AM by lomi. 7 replies.
Sort Posts:
  •  07-01-2008, 10:58 AM

    Scheduler: application event error

    What this application event of scheduler ?

    Tipo evento: Errore
    Origine evento: CounterSoft Gemini Scheduler
    Categoria evento: Nessuno
    ID evento: 0
    Data:  01/07/2008
    Ora:  11:47:38
    Utente:  N/D
    Computer: SCC01
    Descrizione:
    System.Web.Services - Il contenuto della risposta rilevato dal client è di tipo 'text/html; charset=utf-8', invece del previsto 'text/xml'.
    Richiesta non riuscita con messaggio di errore:
    --
    <html>
        <head>
            <title>Exception of type 'System.OutOfMemoryException' was thrown.</title>
            <style>
             body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
             p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
             b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
             H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
             H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
             pre {font-family:"Lucida Console";font-size: .9em}
             .marker {font-weight: bold; color: black;text-decoration: none;}
             .version {color: gray;}
             .error {margin-bottom: 10px;}
             .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
            </style>
        </head>

        <body bgcolor="white">

                <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>

                <h2> <i>Exception of type 'System.OutOfMemoryException' was thrown.</i> </h2></span>

                <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

                <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

                <br><br>

                <b> Exception Details: </b>System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.<br><br>

                <b>Source Error:</b> <br><br>

                <table width=100% bgcolor="#ffffcc">
                   <tr>
                      <td>
                          <code>

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>

                      </td>
                   </tr>
                </table>

                <br>

                <b>Stack Trace:</b> <br><br>

                <table width=100% bgcolor="#ffffcc">
                   <tr>
                      <td>
                          <code><pre>

    [OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
       System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity) +34
       System.Convert.ToBase64String(Byte[] inArray, Int32 offset, Int32 length, Base64FormattingOptions options) +144
       System.Convert.ToBase64String(Byte[] inArray) +24
       Microsoft.Web.Services3.Mime.XopNodeData.GetString() +69
       Microsoft.Web.Services3.Mime.XopContentsNode.get_Data() +27
       System.Xml.XmlText.WriteTo(XmlWriter w) +10
       Microsoft.Web.Services3.Mime.XopContentsNode.WriteTo(XmlWriter w) +78
       System.Xml.XmlElement.WriteContentTo(XmlWriter w) +26
       System.Xml.XmlElement.WriteTo(XmlWriter w) +152
       System.Xml.XmlElement.WriteContentTo(XmlWriter w) +26
       System.Xml.XmlElement.WriteTo(XmlWriter w) +152
       System.Xml.XmlElement.WriteContentTo(XmlWriter w) +26
       System.Xml.XmlElement.WriteTo(XmlWriter w) +152
       System.Xml.XmlElement.WriteContentTo(XmlWriter w) +26
       System.Xml.XmlElement.WriteTo(XmlWriter w) +152
       System.Xml.XmlElement.WriteContentTo(XmlWriter w) +26
       System.Xml.XmlElement.WriteTo(XmlWriter w) +152
       System.Xml.XmlElement.WriteContentTo(XmlWriter w) +26
       System.Xml.XmlElement.WriteTo(XmlWriter w) +152
       System.Xml.XmlElement.WriteContentTo(XmlWriter w) +26
       System.Xml.XmlElement.WriteTo(XmlWriter w) +152
       System.Xml.XmlDocument.Save(XmlWriter w) +212
       Microsoft.Web.Services3.SoapEnvelope.Save(Stream outStream) +108
       Microsoft.Web.Services3.WseProtocol.WriteEnvelopeToStream(SoapEnvelope envelope, SoapServerMessage message) +250
       Microsoft.Web.Services3.WseProtocol.ProcessResponseEnvelope(Object sender, EventArgs e) +117
       Microsoft.Web.Services3.Xml.XmlWrappingWriter.Finish() +46
       Microsoft.Web.Services3.Xml.XmlWrappingWriter.Flush() +35
       System.Web.Services.Protocols.SoapServerProtocol.WriteReturns(Object[] returnValues, Stream outputStream) +1134
       System.Web.Services.Protocols.WebServiceHandler.WriteReturns(Object[] returnValues) +169
       System.Web.Services.Protocols.WebServiceHandler.Invoke() +200
       System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest() +479
       System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context) +4
       System.Web.Script.Services.HandlerWrapper.ProcessRequest(HttpContext context) +10
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
    </pre></code>

                      </td>
                   </tr>
                </table>

                <br>

                <hr width=100% size=1 color=silver>

                <b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

                </font>

        </body>
    </html>
    <!--
    [OutOfMemoryException]: Exception of type 'System.OutOfMemoryException' was thrown.
       at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)
       at System.Convert.ToBase64String(Byte[] inArray, Int32 offset, Int32 length, Base64FormattingOptions options)
       at System.Convert.ToBase64String(Byte[] inArray)
       at Microsoft.Web.Services3.Mime.XopNodeData.GetString()
       at Microsoft.Web.Services3.Mime.XopContentsNode.get_Data()
       at System.Xml.XmlText.WriteTo(XmlWriter w)
       at Microsoft.Web.Services3.Mime.XopContentsNode.WriteTo(XmlWriter w)
       at System.Xml.XmlElement.WriteContentTo(XmlWriter w)
       at System.Xml.XmlElement.WriteTo(XmlWriter w)
       at System.Xml.XmlElement.WriteContentTo(XmlWriter w)
       at System.Xml.XmlElement.WriteTo(XmlWriter w)
       at System.Xml.XmlElement.WriteContentTo(XmlWriter w)
       at System.Xml.XmlElement.WriteTo(XmlWriter w)
       at System.Xml.XmlElement.WriteContentTo(XmlWriter w)
       at System.Xml.XmlElement.WriteTo(XmlWriter w)
       at System.Xml.XmlElement.WriteContentTo(XmlWriter w)
       at System.Xml.XmlElement.WriteTo(XmlWriter w)
       at System.Xml.XmlElement.WriteContentTo(XmlWriter w)
       at System.Xml.XmlElement.WriteTo(XmlWriter w)
       at System.Xml.XmlElement.WriteContentTo(XmlWriter w)
       at System.Xml.XmlElement.WriteTo(XmlWriter w)
       at System.Xml.XmlDocument.Save(XmlWriter w)
       at Microsoft.Web.Services3.SoapEnvelope.Save(Stream outStream)
       at Microsoft.Web.Services3.WseProtocol.WriteEnvelopeToStream(SoapEnvelope envelope, SoapServerMessage message)
       at Microsoft.Web.Services3.WseProtocol.ProcessResponseEnvelope(Object sender, EventArgs e)
       at Microsoft.Web.Services3.Xml.XmlWrappingWriter.Finish()
       at Microsoft.Web.Services3.Xml.XmlWrappingWriter.Flush()
       at System.Web.Services.Protocols.SoapServerProtocol.WriteReturns(Object[] returnValues, Stream outputStream)
       at System.Web.Services.Protocols.WebServiceHandler.WriteReturns(Object[] returnValues)
       at System.Web.Services.Protocols.WebServiceHandler.Invoke()
       at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
       at System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)
       at System.Web.Script.Services.ScriptHandlerFactory.HandlerWrapper.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    -->
    --. -    in System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       in System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       in IssueServices.GetIssueComments(Int32 projectID, Int32 issueID)
       in CounterSoft.Gemini.Scheduler.EmailAlertsProcess.ProcessIssueAlerts()


    I'm this: .
  •  07-01-2008, 11:06 AM

    Re: Scheduler: application event error

    Please restart the scheduler service, it should fix the issue.

    We are working on a fix for this.

  •  07-01-2008, 11:23 AM

    Re: Scheduler: application event error

    Yes, I had already done.

    The error persist.


    I'm this: .
  •  07-01-2008, 7:20 PM

    Re: Scheduler: application event error

    Please check the issue id (in the gemini_issuealerts table), does it contain a lot of comments or text?
  •  07-02-2008, 8:55 AM

    Re: Scheduler: application event error

    commentid 7871 of our db (the third comment of issueid 46857)

    See this email for download infos:

    From: LOMI Luigi
    Sent: martedì 24 giugno 2008 14.58
    To: 'CounterSoft Support'
    Subject: RE: for thread: 7425

    Thanx


    I'm this: .
  •  07-02-2008, 9:51 PM

    Re: Scheduler: application event error

    Ok, thank you. The issue is the size of the attachments.

    There is no fix at the moment, you will have to delete the record for the issue in the gemini_issuealerts table.

    http://gemini.countersoft.com/Default.aspx?p=2&i=1767

  •  07-02-2008, 10:11 PM

    Re: Scheduler: application event error

    Note that we do not get the exception on our system. It might be that your web server does not have as much resources as ours.
  •  07-03-2008, 8:54 AM

    Re: Scheduler: application event error

    Yes, I had already deleted the row.

    Thanx to new webmethod.

    The resource on my server are ok.
    I presume a memory leak of scheduler; but this is another problem.
    In this moment the scheluder process use 300MB of RAM !!!


    I'm this: .
View as RSS news feed in XML