Gateway Crashes in com.vordel.jaxprovider.libxml.XPathExpressionImpl.evaluate (Doc ID 1918064.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.

Symptoms

Oracle API Gateway 11.1.2.2.0.

The Gateway without the fix for 17776121 can crash in
com.vordel.jaxprovider.libxml.XPathExpressionImpl.evaluate

calling into xml libraries such as libvxml2.so.2 or libxmljaxp.so.

The Gateway instance can be successfully restarted after the crash.


Example stack traces from hs_err log files:

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libvxml2.so.2+0xfbe42] vordel_xmlPatternMaxDepth+0x12

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J com.vordel.jaxprovider.libxml.XPathExpressionImpl.evaluate(Ljava/lang/Object;Ljavax/xml/namespace/QName;)Ljava/lang/Object;
J com.vordel.circuit.attribute.AttributeExtractXPathProcessor.invoke(Lcom/vordel/circuit/Circuit;Lcom/vordel/circuit/Message;)Z
J com.vordel.circuit.InvocationEngine.invokeFilter(Lcom/vordel/circuit/Circuit;Lcom/vordel/circuit/MessageProcessor;Lcom/vordel/circuit/Message;Lcom/vordel/circuit/MessageProcessor;Ljava/lang/Object;)Z
J com.vordel.circuit.InvocationEngine.invokeCircuit(Lcom/vordel/circuit/Circuit;Ljava/lang/Object;Lcom/vordel/circuit/Message;)Z
J com.vordel.circuit.CircuitDelegateProcessor.invoke(Lcom/vordel/circuit/Circuit;Lcom/vordel/circuit/Message;)Z
J com.vordel.circuit.InvocationEngine.invokeFilter(Lcom/vordel/circuit/Circuit;Lcom/vordel/circuit/MessageProcessor;Lcom/vordel/circuit/Message;Lcom/vordel/circuit/MessageProcessor;Ljava/lang/Object;)Z
J com.vordel.circuit.InvocationEngine.invokeCircuit(Lcom/vordel/circuit/Circuit;Ljava/lang/Object;Lcom/vordel/circuit/Message;)Z
J com.vordel.circuit.InvocationEngine.processMessage(Lcom/vordel/circuit/InvocationContext;Lcom/vordel/circuit/Message;)I
J com.vordel.dwe.http.HTTPPlugin.invokeDispose(Lcom/vordel/dwe/http/HTTPProtocol;Lcom/vordel/dwe/http/HTTPProtocol;Lcom/vordel/dwe/http/ServerTransaction;Lcom/vordel/dwe/CorrelationID;Lcom/vordel/circuit/Message;)V
J com.vordel.dwe.http.HTTPPlugin.invoke(Lcom/vordel/dwe/http/HTTPProtocol;Lcom/vordel/dwe/http/HTTPProtocol;Lcom/vordel/dwe/http/ServerTransaction;Lcom/vordel/dwe/CorrelationID;Lcom/vordel/circuit/Message;)V
v ~StubRoutines::call_stub 

 

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [libvxml2.so.2+0x8e320]  xmlXPathNodeCollectAndTest+0x1a0
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    J com.vordel.jaxprovider.libxml.XPathExpressionImpl.evaluate(Ljava/lang/Object;Ljavax/xml/namespace/QName;)Ljava/lang/Object;
    J com.vordel.circuit.attribute.AttributeExtractXPathProcessor.invoke(Lcom/vordel/circuit/Circuit;Lcom/vordel/circuit/Message;)Z
    J com.vordel.circuit.InvocationEngine.invokeCircuit(Lcom/vordel/circuit/Circuit;Ljava/lang/Object;Lcom/vordel/circuit/Message;)Z
    J com.vordel.dwe.http.HTTPPlugin.processRequest(Lcom/vordel/circuit/Message;Lcom/vordel/circuit/MessageProcessor;)V

 

Stack: [0x00000000449fc000,0x0000000044afd000],  sp=0x0000000044af6e80,  free space=1003k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libxmljaxp.so+0x266e2]  Java_com_vordel_jaxprovider_libxml_XPathExpressionImpl_evaluate+0x72
J  com.vordel.jaxprovider.libxml.XPathExpressionImpl.evaluate(Ljava/lang/Object;Ljavax/xml/namespace/QName;)Ljava/lang/Object;

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J  com.vordel.jaxprovider.libxml.XPathExpressionImpl.evaluate(Ljava/lang/Object;Ljavax/xml/namespace/QName;)Ljava/lang/Object;
J  com.vordel.common.xml.XPathExecutor.getNodes(Lorg/w3c/dom/Node;)Ljava/util/List;
j  com.vordel.circuit.conversion.RemoveXMLNodeProcessor.invoke(Lcom/vordel/circuit/Circuit;Lcom/vordel/circuit/Message;)Z+43
J  com.vordel.circuit.InvocationEngine.invokeCircuit(Lcom/vordel/circuit/Circuit;Ljava/lang/Object;Lcom/vordel/circuit/Message;)Z
J  com.vordel.circuit.CircuitDelegateProcessor.invoke(Lcom/vordel/circuit/Circuit;Lcom/vordel/circuit/Message;)Z

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms