Java Subagent plugin relative path

Started by VSS, May 18, 2017, 12:28:43 PM

Previous topic - Next topic

VSS

Hello!

Try to investigate how to set relative path in agent configuration file for Java subagent plugin.

If I set the full path, for example: c:\temp\CustomAgent.jar all is working fine, but can not understand how to specify a relative to NetXms agent installation path. Tried a lot of variants, but plugin did not load (error on log file: Error processing jar file CustomAgent.jar: java.lang.NullPointerException: null).

Please, help to clarify, how to set relative path in for Java subagent plugin?

Victor Kirhenshtein

Hi,

it seems to be a bug (at least it should not end up in NPE). I'll register it as a bug.

Best regards,
Victor

VSS

Hello,

Thank you! If you will post the link to the registered bug we can help to test it.

Victor Kirhenshtein

Hi,

fixed in release 2.1

Best regards,
Victor