Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

01.04.OWS.GetCapabilities-Exceptions.5 - xpath #1

Closed
bermud opened this issue Jul 17, 2014 · 2 comments
Closed

01.04.OWS.GetCapabilities-Exceptions.5 - xpath #1

bermud opened this issue Jul 17, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@bermud
Copy link
Contributor

bermud commented Jul 17, 2014

Runing one test 01.04.OWS.GetCapabilities-Exceptions generates this error:

Fatal Error: Error in call to extension function {public synchronized void com.occamlab.te.TECore.callTest(net.sf.saxon.expr.XPathContext,java.lang.String,java.lang.String,net.sf.saxon.om.NodeInfo,java.lang.String) throws java.lang.Exception}: Exception in extension function java.lang.NullPointerException; SystemID: file:/Users/lbermudez/teamengine/TE_BASE/work/_Users_lbermudez_teamengine_TE_BASE_scripts_sos_2.0.0_ctl_SOS_ETS.xml/sos$Main.test; Line#: 2760; Column#: -1

Jul 17, 2014 12:27:46 PM com.occamlab.te.TECore executeTest
SEVERE: Error in call to extension function {public synchronized void com.occamlab.te.TECore.callTest(net.sf.saxon.expr.XPathContext,java.lang.String,java.lang.String,net.sf.saxon.om.NodeInfo,java.lang.String) throws java.lang.Exception}: Exception in extension function java.lang.NullPointerException
; SystemID: file:/Users/lbermudez/teamengine/TE_BASE/work/_Users_lbermudez_teamengine_TE_BASE_scripts_sos_2.0.0_ctl_SOS_ETS.xml/sos$Main.test; Line#: 2760; Column#: -1

net.sf.saxon.trans.XPathException: Error in call to extension function {public synchronized void com.occamlab.te.TECore.callTest(net.sf.saxon.expr.XPathContext,java.lang.String,java.lang.String,net.sf.saxon.om.NodeInfo,java.lang.String) throws java.lang.Exception}: Exception in extension function java.lang.NullPointerException

@rjmartell
Copy link

I was unable to reproduce this. When I chose "Run selected tests" and the "01.OWS Main" group, the only failing test I saw is ows-OWS.GetCapabilities-AcceptFormats.1:

FAILURE: Unexpected content type for response entity (Request: application/xml, Response: application/soap+xml;charset=UTF-8).

It looks like the script doesn’t recognize a SOAP response as an XML entity. No exceptions appeared in the teamengine log file.

sos-2 0-results

@rockygis
Copy link
Contributor

Test name : owsTests:ows-OWS.GetCapabilities-AcceptFormats.1

ctl:assertion

  The response to a GetCapabilities request containing an AcceptFormats

  parameter specifying a supported format must include a response entity

  that corresponds to the requested media type.

/ctl:assertion

The request acceptFormats : application/xml (Come from Capabilities).

The response content-type : application/soap+xml;charset=UTF-8

So the result is fail.


Tsung-Yen Lee (Rocky)
assistant software engineer
GIS Research Center, Feng-Chia University Taiwan
[描述: joinFB]http://www.facebook.com/GIS.FCU

From: rjmartell [mailto:notifications@github.com]
Sent: Saturday, July 19, 2014 2:01 AM
To: opengeospatial/ets-sos20
Cc: 宗岩 Rocky
Subject: Re: [ets-sos20] 01.04.OWS.GetCapabilities-Exceptions.5 - xpath (#1)

I was unable to reproduce this. When I chose "Run selected tests" and the "01.OWS Main" group, the only failing test I saw is ows-OWS.GetCapabilities-AcceptFormats.1:

FAILURE: Unexpected content type for response entity (Request: application/xml, Response: application/soap+xml;charset=UTF-8).

It looks like the script doesn’t recognize a SOAP response as an XML entity. No exceptions appeared in the teamengine log file.

[影像被寄件者移除。 sos-2 0-results]https://cloud.githubusercontent.com/assets/1653506/3629893/51f8f058-0ea5-11e4-98b5-d556f7bc1354.png


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-49461266.

-----Disclaimer-----
本郵件含有逢甲大學地理資訊系統研究中心機密資訊、或受法律保護之資料,唯有原發信人指定之收信人得閱讀或使用本郵件之內容。如您並非被指定之收信人,請立即將本郵件及所有附件予以刪除;請勿揭露、儲存或使用本郵件之任何資訊,並請您立即告知原發信人rocky@gis.tw本郵件的傳遞錯誤。謝謝您的合作。
This e-mail transmission and any attachments contain information from Geographic Information Systems Research Center of Feng Chia University. The information is confidential and/or privileged and intended to be solely for the use of the individuals or entity named in this e-mail transmission. If you are not the intended recipient, be aware that any disclosure, saving or use of the contents of this e-mail transmission and attachments is strictly prohibited. If you have received this email transmission in error, please notify us immediately, and delete the e-mail and attachments. We greatly appreciate your cooperation.
GIS RESEARCH CENTER, FCU http://www.gis.tw .Tel: 886-4-24516669

@rockygis rockygis closed this as completed Oct 8, 2015
@epicureanism epicureanism modified the milestones: 1.14, 1.13 Oct 28, 2015
@bermud bermud modified the milestones: 1.14, 1.12 Oct 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants