NetXMS Support Forum

English Support => General Support => Topic started by: BHMick on September 07, 2022, 01:43:02 PM

Title: NetXMS - JavaLangNullPointerException - SMS Notification Channel Portech
Post by: BHMick on September 07, 2022, 01:43:02 PM
Hello,

I installed netxms 4.1.420 on Linux Ubuntu 20.04., but when I add a node, I get a message javaNullPointerException, what is the problem?
And how to set sms messages via Notification Channel, I use MV 370 Voip Gateway (Portech drivers), how to set the drivers?

Thanks, best regards.
Title: Re: NetXMS - JavaLangNullPointerException - SMS Notification Channel Portech
Post by: Victor Kirhenshtein on September 07, 2022, 08:38:49 PM
Do you get exception in web or desktop UI? Please find console log (for desktop it is in your home directory in .nxmc/data/.metadata/.log) and post it here.

Best regards,
Victor
Title: Re: NetXMS - JavaLangNullPointerException - SMS Notification Channel Portech
Post by: BHMick on September 07, 2022, 10:41:25 PM

Hello,

I installed according to the https://www.netxms.org/documentation/adminguide/installation.html guide. I'm using the web management console, as I said, when I add a node, I get a JavaLangNullPointerException. Tomcat9 and java version 11 are installed.
Is it possible that Jetty is causing the problem, how do I install it? I'll post the log here tomorrow.

I have a question about the Notification Channel.
When adding a new Channel, do I select Portech and in the field for Driver Conf enter:
host=ip address
login=name
pass=pass
mode=T

Is this enough or do I need to add something to the Configuration Server? I'm a little confused about these notifications via Channel, whether the driver is automatically started, whether it needs additional adjustment?

Thanks, best regards.
Title: Re: NetXMS - JavaLangNullPointerException - SMS Notification Channel Portech
Post by: Filipp Sudanov on September 12, 2022, 02:14:41 PM
Hi!
mode should be either PDU or TEXT, not T. 
Notification channel is activated right after you finish editing it's configuration, there is no need to do anything else. You can watch what's happening in server log, by setting debug level for specific debug tags. In Tools -> Server console issue:

debug nc.* 6
debug ncd.* 6

After you change setting of notification channel, log file should have some messages.