Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

SigarException with "Invalid argument" in Sigar.getProcArgs

$
0
0
Once in a blue moon we get a failure like this:

Caused by: org.hyperic.sigar.SigarException: Invalid argument
    at org.hyperic.sigar.Sigar.getProcArgs(Native Method)


Any idea why it could fail? Maybe the process is not available anymore, but in this case a SigarProcessNotFoundException(or some other exception) will be preferred to be able to distinguish between failures.

I remember I saw other methods failing with this message but I'm not 100% positive.

Thank you,
Adrian Tarau.

Viewing all articles
Browse latest Browse all 52618

Trending Articles