Task #5783 (closed)
Opened 13 years ago
Closed 13 years ago
Bug: XML parsing leads to HTTP calls
Reported by: | jamoore | Owned by: | ajpatterson |
---|---|---|---|
Priority: | major | Milestone: | OMERO-Beta4.3.1 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | jburel, cxallan |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-07-07 (1) |
Description
Is this known? Is there anything we can do about it?
"TestNGInvoker-testDowngradeTo200802ImageNoMetadata()" prio=5 tid=10c857800 nid=0x10e3ab000 runnable [10e3a8000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read1(BufferedInputStream.java:258) at java.io.BufferedInputStream.read(BufferedInputStream.java:317) - locked <7cb1c1300> (a java.io.BufferedInputStream) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195) - locked <7cb1b70e8> (a sun.net.www.protocol.http.HttpURLConnection) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source) at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source) at org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(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.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208) at integration.AbstractTest.parseFile(AbstractTest.java:900) at integration.schema.SchemaCurrent_TO_2008_02_Test.testDowngradeTo200802ImageNoMetadata(SchemaCurrent_TO_2008_02_Test.java:329)
Change History (7)
comment:1 Changed 13 years ago by jmoore
comment:2 Changed 13 years ago by jmoore
- Milestone changed from OMERO-Beta4.3 to OMERO-Beta4.3.1
Moving to 4.3.1 for handling
comment:3 Changed 13 years ago by ajpatterson
Need to change this to use a more complicated method of building the Schema object used by the parser. The new Schema is created from an array of input streams for each of the required Schema files so it does not need to access the web. All of these streams will need to be created from files placed as resources in the specification jar.
comment:4 Changed 13 years ago by ajpatterson
- Status changed from new to accepted
comment:5 Changed 13 years ago by ajpatterson
- Remaining Time set to 0.75
comment:6 Changed 13 years ago by Andrew J Patterson <workonly@…>
(In [1f32603abbe12cbbe58e3d30e9aa60a46f587a11/ome.git] on branch develop) Test using multi-resource XSD see #5783, #4377
comment:7 Changed 13 years ago by Andrew J Patterson <workonly@…>
- Remaining Time changed from 0.75 to 0
- Resolution set to fixed
- Status changed from accepted to closed
(In [cca700ada5a6e877198ea186b900c0e6063cb6ba/ome.git] on branch develop) Adding custom schema location resolver Fix #5783
Note: this can also lead to test failures: