MSMTC/A severe error has occurred on the server - NullPointerException

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

Problem:

SMP/E ZONEMERGE causes null pointer exception in CSM on the SMP/E Environment Information tab trying to view details on the newly created zones:

    A severe error has occurred on the server - NullPointerException.

at com.ca.mf20.errors.BaseErrorFactory.getBaseErrorFor(BaseErrorFactory.java:166)

                at com.ca.mf20.ui.msm.csi.server.api.AbstractCsiApi.logAndGetThrowable(AbstractCsiApi.java:81)

                at com.ca.mf20.ui.msm.csi.server.api.CsiApi.getCsiZoneInfoById(CsiApi.java:365)

                at com.ca.mf20.ui.msm.csi.server.CsiSrvcImpl.getCsiZoneInfoById(CsiSrvcImpl.java:474)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)

                at java.lang.reflect.Method.invoke(Method.java:620)

                at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)

                at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:265)

                at com.ca.mf20.ui.foundation.server.servlet.MSMRemoteServiceServlet.processCall(MSMRemoteServiceServlet.java:115)

                at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:305)

Environment:

SMP/E, z/OS

Resolution:

The reason for the exception is that the new target and distribution zones are not related to each other.

To demonstrate here's and example in batch. The Global zone is okay. You need to use the two UCLIN for the target and distribution zones to related them to each other.

ADD GLOBALZONE
SREL(Z038)
OPTIONS(OPTGBL)
ZONEINDEX(
(CAIT18,hlq.CSI,TARGET)
(CAID18,hlq.CSI,DLIB)
).

SET BOUNDARY(CAIT1).
UCLIN.
ADD TARGETZONE(CAIT1)
SREL(Z038)
OPTIONS(OPTGBL)
RELATED(CAID1)
.

SET BOUNDARY(CAID1).
UCLIN.
ADD DLIBZONE(CAID1)
ACCJCLIN
SREL(Z038)
OPTIONS(OPTGBL)
RELATED(CAIT1)

Additional informational:

http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.gim1000/chpznm.htm