Consultor Eletrônico



Kbase 47719: NullPointerException occurs when sending messages that will be used by XML Trans Service
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Solution ID: P17719

FACT(s) (Environment):

SonicXQ

SYMPTOM(s):

NullPointerException occurs when sending messages that will be used by XML Trans Service

The full exception is as follows :


[03/01/15 17:14:59] ID=XQContainer (warning) Message sent to RME
outside ExO QoS
of service. Message may be redelivered if the container fails
immediately.
[03/01/15 17:14:59] ID=XQContainer (critical) Exception calling service
ClientLi
nksFromGwbToXor.S_FromGwbToXor: message rejected
[03/01/15 17:14:59] ID=XQContainer (critical)
java.lang.NullPointerException
at com.sonicsw.xq.service.common.SAXEngine.xform(:179)
at com.sonicsw.xq.service.xform.nd.kH_(:644)
at com.sonicsw.xq.service.xform.nd.aG_(:519)
at com.sonicsw.xq.service.xform.nd.processRules(:383)
at com.sonicsw.xq.service.xform.TransformationService.service
(:144)
at com.sonicsw.xqimpl.service.ServiceMessageHandler.bP_(:171)
at
com.sonicsw.xqimpl.service.ServiceMessageHandler.handleMessage(:115)
at com.sonicsw.xqimpl.service.XQDispatcher.onMessage(:196)
at
com.sonicsw.xqimpl.endpoint.EndpointContextContainer.onMessage(:68)
at com.sonicsw.xqimpl.endpoint.kh.onMessage(:334)
at progress.message.jimpl.Session.EPB_(Unknown Source)
at progress.message.jimpl.QueueSession.run(Unknown Source)
at progress.message.jimpl.fw.run(Unknown Source)
com.sonicsw.xq.XQServiceException:
at com.sonicsw.xq.service.common.SAXEngine.xform(:183)
at com.sonicsw.xq.service.xform.nd.kH_(:644)
at com.sonicsw.xq.service.xform.nd.aG_(:519)
at com.sonicsw.xq.service.xform.nd.processRules(:383)
at com.sonicsw.xq.service.xform.TransformationService.service
(:144)
at com.sonicsw.xqimpl.service.ServiceMessageHandler.bP_(:171)
at
com.sonicsw.xqimpl.service.ServiceMessageHandler.handleMessage(:115)
at com.sonicsw.xqimpl.service.XQDispatcher.onMessage(:196)
at
com.sonicsw.xqimpl.endpoint.EndpointContextContainer.onMessage(:68)
at com.sonicsw.xqimpl.endpoint.kh.onMessage(:334)
at progress.message.jimpl.Session.EPB_(Unknown Source)
at progress.message.jimpl.QueueSession.run(Unknown Source)
at progress.message.jimpl.fw.run(Unknown Source)

CAUSE:

This problem usually caused by configurations that are missing

FIX:

Follow the SonicXQ Documentation on what are required for using XML Transformation Service and the steps to follow to succeed using it.

Example, if ressource is not defined, the above exception can occur