Spectrum: ERROR [ServiceGateway] Gateway exception: java.lang.NullPointerException


Custom application is making call to Spectrum and these errors are seen in the wrapper log:

INFO   | jvm 1    | ERROR [ServiceGateway] Gateway exception: java.lang.NullPointerException
INFO   | jvm 1    | com.g1.dcg.server.ServiceGatewayException: java.lang.NullPointerException
INFO   | jvm 1    | at com.g1.dcg.server.service.LocalMessageProcessor.process(
INFO   | jvm 1    | at com.g1.dcg.server.service.ServiceRouter.process(
INFO   | jvm 1    | at com.g1.dcg.server.DefaultGateway.process_aroundBody0(
INFO   | jvm 1    |  at com.g1.dcg.server.DefaultGateway$
INFO   | jvm 1    | at org.aspectj.runtime.reflect.JoinPointImpl.proceed(


These errors happen when attemps are made to invoke a service such Universal Addressing Module Validate Address before it has been deployed on the server.


UPDATED: March 27, 2017
Monitor the wrapper.log file to ensure the Spectrum server has started before opening it to client applications. This line in the wrapper indicates that the Spectrum server has started:

INFO   | jvm 1    | INFO  [Server] Pitney Bowes Spectrum(TM) Technology Platform (Version 7.0 7.0-Translated-519) Started
Environment Details
Product Feature: Installation / Upgrade

Operating System: Windows 2008

Version: 7,8,9