NetXMS Support Forum

English Support => General Support => Topic started by: VSS on May 18, 2017, 12:28:43 PM

Title: Java Subagent plugin relative path
Post by: VSS on May 18, 2017, 12:28:43 PM
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?
Title: Re: Java Subagent plugin relative path
Post by: Victor Kirhenshtein on May 30, 2017, 11:40:52 PM
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
Title: Re: Java Subagent plugin relative path
Post by: VSS on June 01, 2017, 10:05:40 AM
Hello,

Thank you! If you will post the link to the registered bug we can help to test it.
Title: Re: Java Subagent plugin relative path
Post by: Victor Kirhenshtein on June 28, 2017, 05:52:02 PM
Hi,

fixed in release 2.1

Best regards,
Victor
Title: Re: Java Subagent plugin relative path
Post by: VSS on June 29, 2017, 01:23:49 PM
Thanks!