Solved

Notes client is crashing on multiple machines

Posted on 2011-02-23
10
1,624 Views
Last Modified: 2013-12-18
Starting yesterday morning, we have had several users report that their Notes client is crashing.  The crash only occurs while using email, but the indications are a bit varied.  Some clients lock up as soon as an email is opened, some only when going to print.  Some clients only crash when opening a MIME memo; others crash for both RICHTEXT and MIME.  Some clients only crash when trying to attach or save a file attachment.  Sometimes an error message is displayed, and sometimes not.  But, for each individual client, the crash is reproducible 100% of the time.

When an error message is displayed, it is always like this one:  "_JVM_GetMethodIxLocalsCount@12 could not be located in the dynamic link library jvm.dll."  The name of the method sometimes differs, but it is always jvm.dll.  All of the error-log-X.xml files are empty (0 bytes), and none of the the nsd_XXXXX.log files include any FATAL info.

All of the clients so far are running 8.5.2 FP1, and the strange thing is that nothing has changed in our Notes/Domino environment.

We were able to fix some clients by removing all Java except 6 (found 3, 4, 5, and 6 on some machines), but some clients were stubborn and would continue to crash until we removed all stand alone Java.  In most cases we were able to re-install Java 6u16 and the crashes stopped - so we thought it was a problem with the current Java build 6u24.  But we have many users with 6u24 that have no problems at all.

So, in a nutshell, everything seems to point to a Java conflict.  Completely removing Java from the machine always fixes the issue, but that is not a solution.  Sometimes we can re-install Java and Notes is fine, but not always.  I have also tried disabling the embedded MIME browser with no luck.

Also: I inspected the jvm.dll files on my machine and found no reference to "_JVM_GetMethodIxLocalsCount" in any jvm.dll.  Then, I inspected the jvm.dll file that is packaged with 6u24, and it is there!  So, my client does not exhibit the bug, and I don't have the 'missing' methods on my machine.

So, any ideas?  Any help will be greatly appreciated!
0
Comment
Question by:Bill-Hanson
  • 4
  • 2
  • 2
  • +1
10 Comments
 
LVL 19

Assisted Solution

by:Rob Hutchinson
Rob Hutchinson earned 166 total points
ID: 34963053
I know on our network, they went straight to FP2, but not sure if this is the reason.

In addition to this, we also make sure the clients are running Java 6u20.

One thing you can also try without upgrading to FP2 ( exit Notes first) is try renaming the workspace folder under C:\Notes\Data then let this folder be automatically created when the user goes back into Notes( takes a few extra minutes for Notes to create this folder when going back in).

One important thing though before renaming this folder, is to do a manual backup of the user's sametime contacts and emoticons as I think renaming the workspace folder resets the Sametime user info.
0
 
LVL 22

Author Comment

by:Bill-Hanson
ID: 34963878
Thanks for responding - this one is strange!

RE: "they went straight to FP2"
Do you mean 8.5.1 FP2?  We're on 8.5.2 FP1.  As far as I know 8.5.2 FP2 does not come out until next month.

RE: "we also make sure the clients are running Java 6u20"
Thanks! I down-graded one client to Java 6u20 today and will monitor for change.  One of the strange things we've seen is that we can downgrade to 6u16 and everything works for a day or two, then the bug eventually creeps back in.

RE: "renaming the workspace"
We tried this on several machines - no luck.  We even tried removing workspace then running 'Repair Installation' from add/remove programs - still no luck.

Thanks again, but this one is tricky.  I wonder why Notes works fine when no JVM is installed, but when we install one it crashes.  Very strange!
0
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 167 total points
ID: 34964103
Logically speaking, it must be an automatic upgrade of either Windows or Java. Maybe it's the good ol' installation sequence again. You could try to reinstall Notes on a system, and see if that helps.

$0.02 ...
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 22

Author Comment

by:Bill-Hanson
ID: 34964259
Thanks Sjef, that is the only thing that makes sense, and that's where we are looking.  But if that's the case, I would expect a-lot of chatter in groups and forums like this.  We can't be the only organization experienceing this.  Also, why does Notes run fine without any stand alone JVM installed, but fails when one is installed?  There must be a bug in the Notes code that is loading the wrong JVM when there is more than one to choose from.  But if that's the case, why did the bug suddenly show up on Tuesday - we've been running 8.5.2 for months.  It must be a combination of two things: a bug in Notes that did not manifest itself until an update was delivered to Windows or Java.

That said, I just found this SPR:
MMIL89GBZ2 - A crash caused by an incoming MIME mail meassage with an attachment that has a very large filename has been fixed.
http://www-10.lotus.com/ldd/r5fixlist.nsf/5c087391999d06e7852569280062619d/d231854669b7f3da852577ec0081b2b5?OpenDocument

Interesting since only incomming MIME mail with attachments seem to be affected.  I previously mentioned that RICHTEXT email also causes the crash, but I am now ruling that out (unrelated issue).

Thanks again for your help!
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 34966287
Is there a log in those affected systems of the upgrades that were installed? MS upgrades are stored somewhere, I don't know about Java updates. They used to install separately (on XP), but that was recently changed. I have 1.6.0_22, and I didn't upgrade. Instead, I downloaded and installed a complete version. In any case, I don't have FP1 here, and also no problems.

Good luck!
0
 
LVL 22

Assisted Solution

by:mbonaci
mbonaci earned 167 total points
ID: 34968457
If removing standalone JREs always fixes the problem, have you thought about doing that and setting the JAVA_HOME to be the JRE that comes with Lotus?
0
 
LVL 22

Author Comment

by:Bill-Hanson
ID: 34970572
No, I did not think of setting JAVA_HOME.  I wrote a boot-strapper that changes the environment then starts notes.exe.

My launcher is not hard coded, but in effect here's what happens...

%PATH% = "C:\Program Files (x86)\IBM\Lotus\Notes\jvm\bin;C:\Program Files (x86)\IBM\Lotus\Notes;%PATH%"

%CLASSPATH% = "C:\Program Files (x86)\IBM\Lotus\Notes\jvm\bin"

We are just about to test this.  I'll also try forcing %JAVA_HOME%.
0
 
LVL 19

Expert Comment

by:Rob Hutchinson
ID: 34975913
Found something I had never noticied before on the 8.5x client under File > Security > User Security:
Under the lefthand menu option called, "What Others Do", there's two sections for "Using Applets" and for "Using JavaScript".

I wonder if changing some of these settings might help prevent the Notes clients from crashing?
0
 
LVL 22

Expert Comment

by:mbonaci
ID: 34977730
Hmm, I really don't see how applet and JS security could have something to do with this.
BTW those ECL settings are not new in 8.5, they exist from the beginning of time :)
0
 
LVL 22

Author Closing Comment

by:Bill-Hanson
ID: 34980788
Thank you all, I've finally found the problem.  Here's the culprit...

UseLSX "*javacon"

...in Database Script.

There was no code actually using LS2J.  Just including the use statement in the module was enough to cause some Notes clients major problems.  Since this code was in our company's home page, all clients were subjected to it, but only about 10% had problems.

Of course, when I first heard that users were having problems, I went right into the PostOpen event and commented out the new line of code that was using LS2J, but I neglected to remove the use statement.  So, this whole time I was saying "It's not my code" when actually, it was.  I feel like such a moron, but hey, I tested the code on several clients with no errors, so I thought that the bugs in LS2J had been ironed out -- I was wrong.

We still have a handful of clients (about 1%) that crash when trying to print a MIME email, but setting the "Disable embedded browser for MIME mail" preference fixes that.

Thanks again for all your help!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question