The Spectrum install owner cannot login to OneClick

Document ID : KB000049774
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When trying to log into OneClick the following error is seen...

"An internal web server error occurred. See the log file on the web server for details".

In the stdout.log/catalina.out log file we see the following:

java.lang.NullPointerException
at java.util.Arrays$ArrayList.(Arrays.java:3357)
at java.util.Arrays.asList(Arrays.java:3343)
atcom.aprisma.spectrum.app.web.servlet.ClientPollServlet.checkOutLicenseImpl(ClientPollServlet.java:1584)
atcom.aprisma.spectrum.app.web.servlet.ClientPollServlet.checkOutLicenseImpl(ClientPollServlet.java:1552)
atcom.aprisma.spectrum.app.web.servlet.ClientPollServlet.checkOutLicense(ClientPollServlet.java:1696)
atcom.aprisma.spectrum.app.web.servlet.ClientPollServlet.doPostImpl(ClientPollServlet.java:2788)
atcom.aprisma.spectrum.app.web.servlet.ClientPollServlet.doPost(ClientPollServlet.java:2707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
atorg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
atorg.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:482)
atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
atorg.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
atorg.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
atorg.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
atorg.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)

Solution:

The cause of this error is a populated DuplicateLlist(0x11cd5) attribute on the Spectrum User model, when no duplicate User model exists in your environment. To resolve this issue, you must send an action code 0x10103(CHECK_HOME_INTEGRITY) to the Spectrum User model that cannot log in. Doing this will clear the DuplicatList attribute, setting it to 0.0.0.0, and allow the user to log in successfully. To send the action code please do the following:

  1. Close all OneClick clients

  2. Stop the tomcat server

  3. Open a bash prompt (bash -login)

  4. Change directory (cd) to vnmsh and type ./connect to connect to CLI to the locale SpectroSERVER

  5. Run: ./show models |grep -i <spectrum user that cannot login>

    The model handle for the <spectrum user> user will be in the first column. Use that handle in the following command:

    ./update action=0x10103 mh=<model handle of the Spectrum user>

  6. Start tomcat and login.