NullPointerException error after upgrade to V9 (m_application is null)

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
nhofkes
Posts: 94
Joined: Mon Sep 07, 2020 6:03 am
Location: Netherlands

NullPointerException error after upgrade to V9 (m_application is null)

Post by nhofkes »

After the upgrade to V9, I now get this error message after each change in the configuration (save/update/test/edit). Any idea why? How I can solve this?

Screenshot 2024-02-20 134029.png
Screenshot 2024-02-20 134029.png (15.15 KiB) Viewed 450 times
Niels
(V9.0 build 3241 - MariaDB - Windows)
nhofkes
Posts: 94
Joined: Mon Sep 07, 2020 6:03 am
Location: Netherlands

Re: NullPointerException error after upgrade to V9 (m_application is null)

Post by nhofkes »

Addition to the previous post:
As usual, after the upgrade I put back the BASServer.props file from the previous install (in my case V8.8 ). I compared that file to the default file that was included with the V9 install and found two changes. I then changed these lines in the BASServer.props file. See below old line and new line.
The issue with the NullPointerException seems to be resolved. Not sure whether there is any relationship.

Code: Select all

# OLD LINE: DirectoryServiceProvider=tcp\://dep\:61616
DirectoryServiceProvider=tcp://localhost:61616

# OLD LINE: JMS_BROKER_CONNECTOR=tcp\://dep\:61616
JMS_BROKER_CONNECTOR=tcp://localhost:61616
Niels
(V9.0 build 3241 - MariaDB - Windows)
BLOMASKY
Posts: 1473
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: NullPointerException error after upgrade to V9 (m_application is null)

Post by BLOMASKY »

The default is "localhost". Not sure how / why it got changed to //dep. I "DO" change mine all the time since I develop using the client server methodology. But then it is JUST the name of the server.. i.e. tcp://myserver:61616

Bruce
hpl123
Posts: 2599
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: NullPointerException error after upgrade to V9 (m_application is null)

Post by hpl123 »

nhofkes wrote: Tue Feb 20, 2024 2:27 pm Addition to the previous post:
As usual, after the upgrade I put back the BASServer.props file from the previous install (in my case V8.8 ). I compared that file to the default file that was included with the V9 install and found two changes. I then changed these lines in the BASServer.props file. See below old line and new line.
The issue with the NullPointerException seems to be resolved. Not sure whether there is any relationship.

Code: Select all

# OLD LINE: DirectoryServiceProvider=tcp\://dep\:61616
DirectoryServiceProvider=tcp://localhost:61616

# OLD LINE: JMS_BROKER_CONNECTOR=tcp\://dep\:61616
JMS_BROKER_CONNECTOR=tcp://localhost:61616
Things can change in these config files between versions so I usually do all changes anew in all files to avoid unexplained issues like this (and potentially also bug fixes, performance issues etc. e.g Aware might add some line, change some line here and there to change or optimize something). I learned this the hard way haha having a couple complete server meltdowns following changes I didn't "catch".
Henrik (V8 Developer Ed. - Windows)
nhofkes
Posts: 94
Joined: Mon Sep 07, 2020 6:03 am
Location: Netherlands

Re: NullPointerException error after upgrade to V9 (m_application is null)

Post by nhofkes »

Thanks Bruce and Henrik. I will change my update procedure.
Niels
(V9.0 build 3241 - MariaDB - Windows)
Post Reply