• lotus.domino.NotesException

    By Kenji Sugimoto 1 decade ago

    One of three PC does not work well.

    I have tested clenotes on 3 PCs.

    1. IBM ThinkPad X200i, 3GB Memory, Windows XP SP3, Notes 8.5.1 FP5 SHF40, Java 1.6.0_20

    2. IBM xServer x235, 4GB Memory, Windows XP SP3, Notes 8.5.1 FP1 SHF20, Java 1.6.0

    3. IBM ThinkPad Z60t, 1GB Memory, Windows XP SP3, Notes 8.5.1 FP1 SHF20, Jave 1.6.0

    No.1 and 2 are works fine.

    But no.3 has error as following messages.
    C:\CLENotes-4.2.1>clenotes list
    Command Line Email Client for Lotus Notes v4.2.1
    Copyright (C) 2002, 2012 by IBM Corporation.
    Licensed under the Apache License v2.0.

    Exception in thread "Thread-5" Traceback (innermost last):
      (no code object) at line 0
            at lotus.domino.local.DbDirectory.NopenMailDatabase(Native Method)
            at lotus.domino.local.DbDirectory.openMailDatabase(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)

    lotus.domino.NotesException: NotesException: ユ。、・X(W~[・  <- gabage characters

    I set PATH for Notes according to installation guide. and expanded Notes.jar file in lib directory of CLENOTES.

    What is missing to do?

    Would you please advice me.  

    Thank you and best regards.   

    Kenji Sugimoto

    • Local mail database?

      By Sami Salkosuo 1 decade ago

      The exception says that you try to open local mail database so the first thing that comes to mind is that does the PC 3 have local mail database? Have you replicated mail database?

       

      • location didn't have server info. added it. but...

        By Kenji Sugimoto 1 decade ago

        Thank you for advice.

        I don't have local replica file.  but it was good advice for me.

        I have checked preference of notes and I have found missing server info in location.

        I have updated server location in it.

        If I entered clenotes cmd directly at command prompt, it was no problem.

        but other error message were issued if started clenotes from other program.

        Exception in thread "Thread-5" Traceback (innermost last):

          (no code object) at line 0
                at lotus.domino.local.Session.NCreateSessionWithFullAccess(Native Method)
                at lotus.domino.local.Session.createSessionWithFullAccess(Unknown Source)
                at lotus.domino.NotesFactory.createSessionWithFullAccess(Unknown Source)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
                at java.lang.reflect.Method.invoke(Method.java:611)

        lotus.domino.NotesException: NotesException: ムケ・ノLUD~Y('ⅣⅣ団WO啗fO`UD)

        I know this is my PC's setup problem.  But I can't find where is wrong.

        Would you please advice again.

        Thank you and best regards.

        • Password when calling from other program?

          By Sami Salkosuo 1 decade ago

          Do you have password set as option when you call clenotes from other program (for example: clenotes --password=yournotespwd today)?

           

          • Yes,it has.

            By Kenji Sugimoto 1 decade ago

            Yes, it has --password parameter. and the others work fine the same program.

            Only this PC has error. So, I confused.

            The following output are echo on mode of CLENOTES.cmd. (--password and --to data are overlaid.)

            C:\CLENotes-4.2.1>set CWD=C:\CLENotes-4.2.1\

            C:\CLENotes-4.2.1>set JYTHON_HOME=C:\CLENotes-4.2.1\

            C:\CLENotes-4.2.1>set LIB_DIR=C:\CLENotes-4.2.1\/lib

            C:\CLENotes-4.2.1>java -cp C:\CLENotes-4.2.1\/lib -jar C:\CLENotes-4.2.1\/lib/jython.jar -Djython.home=C:\CLENotes-4.2.1\  -Dpython.path=C:\CLENotes-4.2.1\/lib;
            C:\CLENotes-4.2.1\/ext C:\CLENotes-4.2.1\/lib/clenotes/clenotes.py  --noheader --password=xxxxxx send --to="myname@domain" --cc="" --bcc="" --subject="Health Check Mail" --file-body="C:\PMRCR\BODYFILE.HLT"
            Exception in thread "Thread-5" Traceback (innermost last):
              (no code object) at line 0
                    at lotus.domino.local.Session.NCreateSessionWithFullAccess(Native Method)
                    at lotus.domino.local.Session.createSessionWithFullAccess(Unknown Source)
                    at lotus.domino.NotesFactory.createSessionWithFullAccess(Unknown Source)

                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
                    at java.lang.reflect.Method.invoke(Method.java:611)

            lotus.domino.NotesException: NotesException: ムケ・ノLUD~Y('ⅣⅣ団WO啗fO`UD)

            C:\CLENotes-4.2.1>pause

            I re-installed Windows XP and Notes. but same error. 

            Thank you.

          • This was my mistake.

            By Kenji Sugimoto 1 decade ago

            Thank you for support.

            Previously, I said my password was correct. It was wrong. My hidden password file had wrong.

            I was very embarrased.

            Thank you, again.        Kenji