Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2011

Error Occurred When Publishing File But Client Was Not Notified

    XMLWordPrintable

Details

    Description

      In ModeShape Tools I published a pom.xml file. The IRestClient.publish method returned an OK status. However in the server console I noticed the below exception. Did the sequencing of the file actually completely work?

      08:49:00,442 ERROR [org.modeshape.jcr.SequencingRunner] (modeshape-sequencer-8-thread-3) The 'xml-sequencer' sequencer of repository 'artifacts' had an error while processing '/files/Test/pom.xml/jcr:content/jcr:data' in workspace 'default' and generating output '/derived/xml/Test': javax.jcr.NamespaceException: There is no namespace with URI "http://maven.apache.org/POM/4.0.0"
      	at org.modeshape.sequencer.xml.XmlSequencerHandler.startElement(XmlSequencerHandler.java:491)
      	at org.apache.xerces.parsers.AbstractSAXParser.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.AbstractSAXParser.parse(Unknown Source)
      	at __redirected.__XMLReaderFactory.parse(__XMLReaderFactory.java:183) [jboss-modules.jar:1.2.0.CR1-redhat-1]
      	at org.modeshape.sequencer.xml.XmlSequencer.execute(XmlSequencer.java:133)
      	at org.modeshape.jcr.SequencingRunner.run(SequencingRunner.java:224) [modeshape-jcr-3.4.0.Final.jar:3.4.0.Final]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [classes.jar:1.6.0_51]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [classes.jar:1.6.0_51]
      	at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_51]
      Caused by: javax.jcr.NamespaceException: There is no namespace with URI "http://maven.apache.org/POM/4.0.0"
      	at org.modeshape.jcr.JcrNamespaceRegistry.getPrefix(JcrNamespaceRegistry.java:152) [modeshape-jcr-3.4.0.Final.jar:3.4.0.Final]
      	at org.modeshape.jcr.JcrSession.getNamespacePrefix(JcrSession.java:1546) [modeshape-jcr-3.4.0.Final.jar:3.4.0.Final]
      	at org.modeshape.sequencer.xml.XmlSequencerHandler.createAttributeName(XmlSequencerHandler.java:500)
      	at org.modeshape.sequencer.xml.XmlSequencerHandler.startElement(XmlSequencerHandler.java:463)
      

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            dflorian@redhat.com Daniel Florian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: