You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by "Preston Carman (JIRA)" <ji...@apache.org> on 2012/10/02 22:45:08 UTC
[jira] [Commented] (VXQUERY-80) SAXConnectHandler does not support
XML Processing Instruction
[ https://issues.apache.org/jira/browse/VXQUERY-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468053#comment-13468053 ]
Preston Carman commented on VXQUERY-80:
---------------------------------------
I get the following error when loading one of the weather xml files.
Exception in thread "main" edu.uci.ics.hyracks.api.exceptions.HyracksException: Job Failed
at edu.uci.ics.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:183)
at edu.uci.ics.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:42)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: edu.uci.ics.hyracks.api.exceptions.HyracksException: Exception caught by thread: edu.uci.ics.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor:TAID:TID:ANID:ODID:1:0:0:2:0
edu.uci.ics.hyracks.api.exceptions.HyracksDataException: edu.uci.ics.hyracks.algebricks.common.exceptions.AlgebricksException: org.apache.vxquery.exceptions.SystemException: FODC0002: Error retrieving resource "null".
at edu.uci.ics.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.produceTuple(AssignRuntimeFactory.java:126)
at edu.uci.ics.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.nextFrame(AssignRuntimeFactory.java:112)
at edu.uci.ics.hyracks.dataflow.common.comm.util.FrameUtils.flushFrame(FrameUtils.java:38)
at edu.uci.ics.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.open(EmptyTupleSourceRuntimeFactory.java:55)
at edu.uci.ics.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:104)
at edu.uci.ics.hyracks.control.nc.Task.run(Task.java:231)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: edu.uci.ics.hyracks.algebricks.common.exceptions.AlgebricksException: org.apache.vxquery.exceptions.SystemException: FODC0002: Error retrieving resource "null".
at org.apache.vxquery.runtime.functions.base.AbstractTaggedValueArgumentScalarEvaluator.evaluate(AbstractTaggedValueArgumentScalarEvaluator.java:48)
at edu.uci.ics.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.produceTuple(AssignRuntimeFactory.java:124)
... 8 more
Caused by: org.apache.vxquery.exceptions.SystemException: FODC0002: Error retrieving resource "null".
at org.apache.vxquery.xmlparser.XMLParser.parseInputSource(XMLParser.java:37)
at org.apache.vxquery.runtime.functions.util.FunctionHelper.readInDocFromString(FunctionHelper.java:779)
at org.apache.vxquery.runtime.functions.node.FnCollectionScalarEvaluatorFactory$1.evaluate(FnCollectionScalarEvaluatorFactory.java:85)
at org.apache.vxquery.runtime.functions.base.AbstractTaggedValueArgumentScalarEvaluator.evaluate(AbstractTaggedValueArgumentScalarEvaluator.java:46)
... 9 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(ArrayList.java:324)
at org.apache.vxquery.xmlparser.SAXContentHandler.peekENBStackTop(SAXContentHandler.java:317)
at org.apache.vxquery.xmlparser.SAXContentHandler.processingInstruction(SAXContentHandler.java:136)
at org.apache.xerces.parsers.AbstractSAXParser.processingInstruction(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.processingInstruction(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanPIData(Unknown Source)
at org.apache.xerces.impl.XMLScanner.scanPI(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.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.AbstractSAXParser.parse(Unknown Source)
at org.apache.vxquery.xmlparser.XMLParser.parseInputSource(XMLParser.java:34)
... 12 more
at edu.uci.ics.hyracks.control.cc.scheduler.JobScheduler.notifyTaskFailure(JobScheduler.java:614)
at edu.uci.ics.hyracks.control.cc.work.TaskFailureWork.performEvent(TaskFailureWork.java:36)
at edu.uci.ics.hyracks.control.cc.work.AbstractTaskLifecycleWork.run(AbstractTaskLifecycleWork.java:66)
at edu.uci.ics.hyracks.control.common.work.WorkQueue$WorkerThread.run(WorkQueue.java:115)
Prestons-MacBook-Pro:vxquery prestoncarman$ vi /tmp/weather/
> SAXConnectHandler does not support XML Processing Instruction
> -------------------------------------------------------------
>
> Key: VXQUERY-80
> URL: https://issues.apache.org/jira/browse/VXQUERY-80
> Project: VXQuery
> Issue Type: Bug
> Reporter: Preston Carman
> Assignee: Preston Carman
> Attachments: KRAL.xml
>
>
> The current implementation of processingInstruction(String target, String data) on line 125 does not support this type of tag. Any XML document will fail with a comment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira