index out of bounds caused by Java ES.

Some of our solaris 10 machines are getting the following error appearing in /var/adm/messages when smpatch analyze is run

May 29 16:49:55 messaging2 root: [ID 702911 user.error] => com.sun.patchpro.mod

el.PatchProModel@ec8784 <=java.lang.StringIndexOutOfBoundsException: String inde

x out of range: -1

followed by a bunch more java errors but I believe thats the important one.

I struck this error a few months ago and was told that it was a known interaction with java ES.

Last time I hit it, I was able to uninstall all the java ES software since that was a test system. Which did resolve this issue.

However, this time the error is hitting production Sun Messaging systems. So uninstalling is not an option.

I'm hoping a more elegant solution to the problem is known by now.

The machine is up to date with Java ES required patches.

And I ran a recommended patch set through in case it was missing something obvious.

[993 byte] By [robert.cohen] at [2007-11-26 7:33:25]
# 1
There was a bug filed for this behaviour, but it is now closed, fixed.Could you post the output from the following command so we can see which version of Update Manager you are running?# pkginfo -l SUNWupdatemgru SUNWupdatemgrr | egrep 'PKGINST|VERSION'
ForumModerator at 2007-7-6 19:30:28 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2
messaging1# pkginfo -l SUNWupdatemgru SUNWupdatemgrr | egrep 'PKGINST|VERSION'PKGINST: SUNWupdatemgrrVERSION: 0.1,REV=2005.05.20.10.51PKGINST: SUNWupdatemgruVERSION: 0.1,REV=2005.05.20.10.51
robertcohen at 2007-7-6 19:30:28 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3
Is this on a fresh Solaris install?The workaround listed on the bug I mentioned previously ( 6251825 ) is to install a patch (any patch will do) and Update Manager should then work.
ForumModerator at 2007-7-6 19:30:28 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4

No not even vaguely fresh, its been in operation for quite some time

and patched many times.

Suddenly all the machines with sun messenger installed are exhibiting the same problem.

And some of them hadn't been patched particularly recently. So it doesnt appear to have been caused by a patch installation.

I can only guess that something in the patch database that update manager downloads has changed.

I thought it might have been related to patch versions on the local patch proxy.

But I get the same symptom when going direct to sun.

robertcohen at 2007-7-6 19:30:28 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5
Looks like applying the latest Sun Messenger patch 118207-51 resolves this.Of course its not always convenient to patch sun messenger just to fix a update manager bug..
robertcohen at 2007-7-6 19:30:28 > top of Java-index,Administration Tools,Sun Update Connection-System...