Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2097

Stack in log when XMLCamelRoutesValidator is triggered on empty xml files

XMLWordPrintable

      !ENTRY org.fusesource.ide.camel.model.service.core 4 0 2016-09-12 09:25:39.148
      09:25:39 !MESSAGE Error loading Camel XML file from /home/jenkins/workspace/SwitchYard-Tools-pullrequest/eclipse/tests/org.switchyard.tools.ui.tests/target/work/data/wiring-validation-tests/src/main/resources/META-INF/beans.xml
      09:25:39 !STACK 0
      09:25:39 org.xml.sax.SAXParseException; Premature end of file.
      09:25:39 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      09:25:39 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      09:25:39 	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
      09:25:39 	at org.fusesource.ide.camel.model.service.core.io.CamelIOHandler.loadCamelModel(CamelIOHandler.java:107)
      09:25:39 	at org.fusesource.ide.camel.model.service.core.io.CamelIOHandler.loadCamelModel(CamelIOHandler.java:71)
      09:25:39 	at org.fusesource.ide.camel.validation.xml.XMLCamelRoutesValidator.loadCamelFile(XMLCamelRoutesValidator.java:65)
      09:25:39 	at org.fusesource.ide.camel.validation.xml.XMLCamelRoutesValidator.validate(XMLCamelRoutesValidator.java:50)
      09:25:39 	at org.eclipse.wst.validation.Validator$V2.validate(Validator.java:1158)
      09:25:39 	at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:704)
      09:25:39 	at org.eclipse.wst.validation.internal.ValManager$1.visit(ValManager.java:665)
      09:25:39 	at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:783)
      09:25:39 	at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:669)
      09:25:39 	at org.eclipse.wst.validation.internal.ValBuilderJob$Visitor.visit(ValBuilderJob.java:299)
      09:25:39 	at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:120)
      09:25:39 	at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:84)
      09:25:39 	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
      09:25:39 	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      09:25:39 	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      09:25:39 	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      09:25:39 	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      09:25:39 	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      09:25:39 	at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:129)
      09:25:39 	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
      09:25:39 	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:52)
      09:25:39 	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:117)
      09:25:39 	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:105)
      09:25:39 	at org.eclipse.wst.validation.internal.ValBuilderJob.fullBuild(ValBuilderJob.java:219)
      09:25:39 	at org.eclipse.wst.validation.internal.ValBuilderJob.run(ValBuilderJob.java:178)
      09:25:39 	at org.eclipse.wst.validation.internal.ValBuilderJob.runInWorkspace(ValBuilderJob.java:126)
      09:25:39 	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
      09:25:39 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      

              apupier@redhat.com Aurélien Pupier
              apupier@redhat.com Aurélien Pupier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: