• Exception thrown! when sending report

    By Thierry BARRAULT 1 decade ago

    Hello.

    DD task complete well but is not able to send email report.

    I get error Exception thrown!.

    I have control 2 times and parameters in NOTES.INI are OK (I used the same on other servers)



    DominoDefrag_FTIndex=1

    DominoDefrag_SummaryEmailAddress=FR-LGS-Repository-Defrag@legrandelectric.com

    DominoDefrag_SummaryEmailFrom=FR-LGS-Repository-Defrag@legrandelectric.com

    DominoDefrag_Compact=1



    Extract from LOG of server :



    25/02/2010 02:52:54 DominoDefrag: wiremoldnab.ft Directory does not exist

    25/02/2010 02:52:54 DominoDefrag: Total databases to be processed -> 963

    25/02/2010 02:52:54 DominoDefrag: Total databases defragged -> 225

    25/02/2010 02:52:54 DominoDefrag: Total databases partially defragged -> 115

    25/02/2010 02:52:54 DominoDefrag: Total databases already defragged -> 623

    25/02/2010 02:52:54 DominoDefrag: Total databases below start point -> 0

    25/02/2010 02:52:54 DominoDefrag: Total databases with not enough disk space to defrag -> 0

    25/02/2010 02:52:54 DominoDefrag: Total databases with no access to defrag -> 0

    25/02/2010 02:52:54 DominoDefrag: Total databases compacted before defrag -> 0

    25/02/2010 02:52:54 DominoDefrag: Total full-text indexes defragged -> 8

    25/02/2010 02:52:54 DominoDefrag: Total full-text indexes partially defragged -> 0

    25/02/2010 02:52:54 DominoDefrag: Total full-text indexes already defragged -> 137

    25/02/2010 02:52:54 DominoDefrag: Total full-text indexes below start point -> 0

    25/02/2010 02:52:54 DominoDefrag: Total full-text indexes with not enough disk space to defrag -> 0

    25/02/2010 02:52:54 DominoDefrag: Main -> Exception thrown! Error: Null string passed to function

    • Can't reproduce error

      By Andrew Luder 1 decade ago

      Set my Notes INI with

      DominoDefrag_SummaryEmailAddress=FR-LGS-Repository-Defrag@legrandelectric.com

      DominoDefrag_SummaryEmailFrom=FR-LGS-Repository-Defrag@legrandelectric.com



      And works below….. You don't happen to have another instance of DominoDefrag_SummaryEmailFrom= in your Notes INI



      > load dominodefrag mail -c

      25/02/2010 09:02:59 PM DominoDefrag: v2.2 (14 Feb 2010)

      25/02/2010 09:02:59 PM DominoDefrag: Initializing…

      25/02/2010 09:02:59 PM DominoDefrag: Running on Windows 5.2.3790.Service Pack 2

      25/02/2010 09:02:59 PM DominoDefrag: Running on Domino 368

      25/02/2010 09:02:59 PM DominoDefrag: Using contig.exe 1.55

      25/02/2010 09:02:59 PM DominoDefrag: 32bit version running on 32bit platform

      25/02/2010 09:02:59 PM DominoDefrag: Directory -> mail

      25/02/2010 09:02:59 PM DominoDefrag: Process Full Text Index -> Off

      25/02/2010 09:02:59 PM DominoDefrag: DominoDefrag_MinuteInterval parameter not found. Tas

      k will only run once

      25/02/2010 09:02:59 PM DominoDefrag: Run Time -> 3

      25/02/2010 09:02:59 PM DominoDefrag: DominoDefrag_StartPoint not found. Defaulting to 2

      25/02/2010 09:02:59 PM DominoDefrag: Verbose Logging -> On

      25/02/2010 09:02:59 PM DominoDefrag: Compact Database Before Defrag -> On

      25/02/2010 09:02:59 PM DominoDefrag: Compact Database Options -> -c

      25/02/2010 09:02:59 PM DominoDefrag: Summary Email Address -> FR-LGS-Repository-Defrag@le

      grandelectric.com

      25/02/2010 09:02:59 PM DominoDefrag: Summary Email From -> FR-LGS-Repository-Defrag@legra

      ndelectric.com

      25/02/2010 09:02:59 PM DominoDefrag: Transaction Log -> Off

      25/02/2010 09:02:59 PM DominoDefrag: DAOS -> Off

      25/02/2010 09:02:59 PM DominoDefrag: Initialization complete

      25/02/2010 09:03:00 PM DominoDefrag: mail\wadminis.nsf Started Compact

      25/02/2010 09:03:15 PM DominoDefrag: mail\wadminis.nsf Completed Compact. increased by 51

      2K bytes (4%)

      25/02/2010 09:03:15 PM DominoDefrag: mail\wadminis.nsf Started Defrag

      25/02/2010 09:03:22 PM DominoDefrag: mail\wadminis.nsf File Size -> 12582912 bytes

      25/02/2010 09:03:22 PM DominoDefrag: mail\wadminis.nsf Before Fragments -> 50

      25/02/2010 09:03:22 PM DominoDefrag: mail\wadminis.nsf After Fragments -> 1

      25/02/2010 09:03:22 PM DominoDefrag: mail\wadminis.nsf Completed Defrag

      25/02/2010 09:03:22 PM DominoDefrag: Total databases to be processed -> 1

      25/02/2010 09:03:22 PM DominoDefrag: Total databases defragged -> 1

      25/02/2010 09:03:22 PM DominoDefrag: Total databases partially defragged -> 0

      25/02/2010 09:03:22 PM DominoDefrag: Total databases already defragged -> 0

      25/02/2010 09:03:22 PM DominoDefrag: Total databases below start point -> 0

      25/02/2010 09:03:22 PM DominoDefrag: Total databases with not enough disk space to defrag

      -> 0

      25/02/2010 09:03:22 PM DominoDefrag: Total databases with no access to defrag -> 0

      25/02/2010 09:03:22 PM DominoDefrag: Total databases compacted before defrag -> 1

      25/02/2010 09:03:22 PM DominoDefrag: Termination complete

      25/02/2010 09:03:22 PM No route found to domain legrandelectric.com. Check Server, Conne

      ction and Domain documents in Domino Directory.

      >

      • NOTES.INI checked

        By Thierry BARRAULT 1 decade ago

        Hello.

        I have checked NOTES.INI : instance of parameters are unique.

        Today, I try something : open NOTES.INI from a server where DD complete without error and cut/paste the 4 config lines to my faulty server.

        I will have to wait Saturday for the next execution of DD.

        I will update with the results on Monday.

        • By Stephan Gee 1 decade ago

          Having the same problem here.



          It only happens on Windows 2008 64 Bit with Domino 8.5.1 FP1 64 Bit.



          07.03.2010 09:00:30 DominoDefrag: v2.2 (14 Feb 2010)

          07.03.2010 09:00:30 DominoDefrag: Initializing…

          07.03.2010 09:00:30 DominoDefrag: Running on Windows 6.0.6002.Service Pack 2

          07.03.2010 09:00:30 DominoDefrag: Running on Domino 368

          07.03.2010 09:00:30 DominoDefrag: Using contig.exe 1.55

          07.03.2010 09:00:30 DominoDefrag: 64bit version running on 64bit platform

          07.03.2010 09:00:30 DominoDefrag: DominoDefrag_Directory parameter not found. Defaulting to data directory

          07.03.2010 09:00:30 DominoDefrag: Directory -> d:\notes\data

          07.03.2010 09:00:30 DominoDefrag: Process Full Text Index -> On

          07.03.2010 09:00:30 DominoDefrag: DominoDefrag_MinuteInterval parameter not found. Task will only run once

          07.03.2010 09:00:30 DominoDefrag: Run Time -> 1260

          07.03.2010 09:00:30 DominoDefrag: Start Point -> 3

          07.03.2010 09:00:30 DominoDefrag: Verbose Logging -> Off

          07.03.2010 09:00:30 DominoDefrag: Compact Database Before Defrag -> Off

          07.03.2010 09:00:30 DominoDefrag: Summary Email Address -> DefragAdmin

          07.03.2010 09:00:30 DominoDefrag: Transaction Log -> Off

          07.03.2010 09:00:30 DominoDefrag: DAOS -> Off

          07.03.2010 09:00:30 DominoDefrag: Initialization complete



          Greets

          Stephan

          • Will change code slightly to try to fix

            By Andrew Luder 1 decade ago

            Thanks Stefan. Getting a bit frustrated with this bug as I can't reproduce it on my Windows 2008 64bit R851FP1 server. So in version 2.3 I'm going to use the following new code to see if this fixes this intermitent bug….



            if(!Receiver.IsNull())

            {

            db1.CreateDocument(&amp;maildoc); <br/>
            if(!From.IsNull())<br/>
            {<br/>
            msgtext.SetValue(From);<br/>
            }<br/>
             ...........................................<br/>
             ...........................................
            
          • Will change code slightly to try to fix

            By Andrew Luder 1 decade ago

            Thanks Stefan. Getting a bit frustrated with this bug as I can't reproduce it on my Windows 2008 64bit R851FP1 server. So in version 2.3 I'm going to use the following new code to see if this fixes this intermitent bug….



            if(!Receiver.IsNull())

            {

            db1.CreateDocument(&amp;maildoc); <br/>
            if(!From.IsNull())<br/>
            {<br/>
            msgtext.SetValue(From);<br/>
            }<br/>
             ...........................................<br/>
             ...........................................
            
            • if i can help you

              By Stephan Gee 1 decade ago

              Hello Andrew,



              if i can help you with some analysis data (if you can tell me how to get it ;) ) Btw some servers send the mail but when i connect to the server there is the appcrash window.



              This is what windows tells me:

              Problemsignatur:

              Problemereignisname: APPCRASH

              Anwendungsname: dominodefrag.EXE

              Anwendungsversion: 0.0.0.0

              Anwendungszeitstempel: 4b77bf2e

              Fehlermodulname: StackHash_eaf0

              Fehlermodulversion: 6.0.6002.18005

              Fehlermodulzeitstempel: 49e0421d

              Ausnahmecode: c0000374

              Ausnahmeoffset: 00000000000aef37

              Betriebsystemversion: 6.0.6002.2.2.0.272.7

              Gebietsschema-ID: 1031

              Zusatzinformation 1: eaf0

              Zusatzinformation 2: e1c8a9c3debc73f8dd9fb031dcabbeba

              Zusatzinformation 3: bd60

              Zusatzinformation 4: aa043654591272e9e15b324a1e53c789





              Greets

              Stephan

              • thanks for the info - identified 64bit bug

                By Andrew Luder 1 decade ago

                Hi Stephan,

                using your AppCrash.exe info I managed to replicate the 64bit crash bug. Working to fix it now for version 2.3.



                Thanks for your help.

        • Origin of error Found

          By Thierry BARRAULT 1 decade ago

          Hello.

          After some days, I have find the origin of problem : no line MAILSERVER= in NOTES.INI.



          In fact, this server is an older one and is still in R5.0.11 !! We have some difficults to push appliccations on newer release servers.

          I have add the line and DD run well. But a know bug in R5 make the line disappear, and the workaround doesn't apply.



          May be a pre-control during initialization of DD can be useful ?

          thank's for all the efforts.

          • Will check for NOTES.INI MAILSERVER

            By Andrew Luder 1 decade ago

            Hi Thierry,

            no worries. Will check for existance of Mailserver Notes INI value in version 2.3



            Regards