Forums Read-only archive

Error: java.lang.NullPointerException

5 posts · Brekeke SIP Server Forum

seohangal Original post
1. Brekeke Product Name and Version: Brekeke SIP Server, Version 3.17.1.5, Advanced

2. Java version: 16

3. OS type and the version: Windows Server 2016

4. UA (phone), gateway or other hardware/software involved:

5. Your problem: the SIP server suddenly reports errors, "Error: java.lang.NullPointerException: Cannot read field "method" because "<local1
4>.other.ifstat" is null".
Laurie
Does the same issue happen even if you restart the SIP Server?
seohangal
After I restarted the SIP server, I stopped running it for commercial purpose.
When I tested a single call in an idle state, it worked well without any error.
What I can tell is the errors(603 errors at all calls) were occurred under heavy CPU usage(50%), network traffic(200Mbps).
I will test again under heavy load at daytime.
Laurie
Update Windows and Java.
Java 16 is not LTS release so use Java 17 instead.
seohangal
No more errors after rebooting the SIP server.
I have four advanced SIP servers and they have run perfectly except for this case.
Thank you for quick reply and the nice product!