We have CPS 12.0.10 Application and today when we trying to logging and it comes with an error message and we can't login.
Error is like this :-
The System has encountered an error.
Error message = Error occured in class CMBCHub, method Init
Failed Initializing the .Net controls: Object reference not set to an instance of an object : UserAndSessionMgr::Init.
Additional error details are written to error log.
Thanks
What does it says about user in the error?
Is this on 1 workstation or all?
If it is all, restart your jboss service on the server, wait 10 minutes, then try again.
I try with the same steps but it remain same
Ok, so i can only guess that it has lost connection to your domain controller for security. Please attempt the following:
Go to ServerSetup > Advanced Setup Options > Utilities > Security
In the setup screen, make sure Active Directory is selected, if that is what you are using, and make sure the domain name is correct. Next input the administrator information and verify the account. If all passes, then click on finish. This should update JBoss for you. You can the attempt to try again.
I have seen where if you are having DNS issues, that CPS can not find the AD server.
To resolve that, add the IP addresses into server setup for your DC's.
I did but the problem is still same
We saw this error on a single PC once and updating the java version and rebuilding the user's window's profile was what corrected it for us.
What IE version are you on? Did your windows have any recent updates? Our office discovered Microsoft Windows Update (KB 3172605) also causes a communication failure between CPS and the Jboss Service layer. So we had to uninstall that update, along with KB 3161608 & KB 3161606.
Is this all of your clients or just one? Check to see if windows update KB3179949 is installed. This is the update for .net 4.6.1 which is not compatible with CPS.
I just wanted to update this thread to note another possible reason this can happen. Our SQL transaction log had filled the partition it was housed on. After backing up the log and shrinking it our JBOSS came back up without a restart. Hope this helps.
Just another update as I came across this thread while trying to resolve the same error.
Essentially, what I found was that the JBOSS server stopped communicating with SQL over on the SQL server. Pinging worked both ways and services were running. Issue resolved by restarting both JBOSS and SQL servers, then restarting JBOSS service (had I restarted SQL server BEFORE restarting JBOSS server, I wouldn't have had to restart the JBOSS service). Anyhow, once JBOSS rebuilt enough, I was able to launch CPS.