Looks like it might be a more serious problem, but likely related to connection issues (that is manifesting itself as a NullPointerException). Likely the server changed.

These kinds of changes shouldn't take down the test cases.

I'll have a look into it shortly.

Cheers,

Richard

Martin Desruisseaux wrote:
The following test fails on my machine with Maven 1:

    org.geotools.data.wms.test.WMS1_0_0_OnlineTest

However, if seems to success in the nightly builds. Does anyone know if this failure is just a connection problem or something more serious? Stack trace attached.

    Martin.


------------------------------------------------------------------------

Testsuite: org.geotools.data.wms.test.WMS1_0_0_OnlineTest
Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 5,047 sec

------------- Standard Error -----------------
23:59:59 ATTENTION - null
0:00:00 ATTENTION - Line 37 Col 24
java.lang.NullPointerException
        at org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:230)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
        at 
org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(Unknown Source)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown 
Source)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
        at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
        at 
org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
        at 
org.geotools.data.wms.response.GetCapabilitiesResponse.<init>(GetCapabilitiesResponse.java:28)
        at 
org.geotools.data.wms.WebMapServer.internalIssueRequest(WebMapServer.java:350)
        at 
org.geotools.data.wms.WebMapServer.issueRequest(WebMapServer.java:369)
        at 
org.geotools.data.wms.WebMapServer.negotiateVersion(WebMapServer.java:174)
        at org.geotools.data.wms.WebMapServer.<init>(WebMapServer.java:100)
        at 
org.geotools.data.wms.test.WMS1_0_0_OnlineTest$CustomWMS.<init>(WMS1_0_0_OnlineTest.java:287)
        at 
org.geotools.data.wms.test.WMS1_0_0_OnlineTest.testCreateGetMapRequest(WMS1_0_0_OnlineTest.java:155)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at 
org.geotools.data.wms.test.ServerTestCase.runTest(ServerTestCase.java:75)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at 
org.geotools.data.wms.test.ServerTestCase.runBare(ServerTestCase.java:59)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
        at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
------------- ---------------- ---------------
Testcase: 
testCreateGetMapRequest(org.geotools.data.wms.test.WMS1_0_0_OnlineTest):      
Caused an ERROR
null
java.lang.NullPointerException
        at org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:230)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
        at 
org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(Unknown Source)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown 
Source)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
        at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
        at 
org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
        at 
org.geotools.data.wms.response.GetCapabilitiesResponse.<init>(GetCapabilitiesResponse.java:28)
        at 
org.geotools.data.wms.WebMapServer.internalIssueRequest(WebMapServer.java:350)
        at 
org.geotools.data.wms.WebMapServer.issueRequest(WebMapServer.java:369)
        at 
org.geotools.data.wms.WebMapServer.negotiateVersion(WebMapServer.java:174)
        at org.geotools.data.wms.WebMapServer.<init>(WebMapServer.java:100)
        at 
org.geotools.data.wms.test.WMS1_0_0_OnlineTest$CustomWMS.<init>(WMS1_0_0_OnlineTest.java:287)
        at 
org.geotools.data.wms.test.WMS1_0_0_OnlineTest.testCreateGetMapRequest(WMS1_0_0_OnlineTest.java:155)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at 
org.geotools.data.wms.test.ServerTestCase.runTest(ServerTestCase.java:75)
        at 
org.geotools.data.wms.test.ServerTestCase.runBare(ServerTestCase.java:59)





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to