javax.xml.transform.TransformerException: Expected ,, but found: s at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:649) at org.apache.xpath.compiler.XPathParser.consumeExpected(XPathParser.java:567) at org.apache.xpath.compiler.XPathParser.FunctionCall(XPathParser.java:1530)

Apereo Issues | Brad Johnson | 1 decade ago
  1. 0

    I did a search for "what's" (with no double quotes) and got the following exception in the error channel: org.jasig.portal.PortalException: Expected ,, but found: s at org.jasig.portal.layout.channels.CContentSubscriber.analyzeParameters(CContentSubscriber.java:299) at org.jasig.portal.layout.channels.CContentSubscriber.renderXML(CContentSubscriber.java:345) at org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:528) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) --------------- Here is the exception that was logged to stdout: javax.xml.transform.TransformerException: Expected ,, but found: s at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:649) at org.apache.xpath.compiler.XPathParser.consumeExpected(XPathParser.java:567) at org.apache.xpath.compiler.XPathParser.FunctionCall(XPathParser.java:1530) at org.apache.xpath.compiler.XPathParser.PrimaryExpr(XPathParser.java:1435) at org.apache.xpath.compiler.XPathParser.FilterExpr(XPathParser.java:1334) at org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1267) at org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1225) at org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1131) at org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1052) at org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:994) at org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:919) at org.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:859) at org.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:823) at org.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:796) at org.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:779) at org.apache.xpath.compiler.XPathParser.PredicateExpr(XPathParser.java:1951) at org.apache.xpath.compiler.XPathParser.Predicate(XPathParser.java:1933) at org.apache.xpath.compiler.XPathParser.Step(XPathParser.java:1713) at org.apache.xpath.compiler.XPathParser.RelativeLocationPath(XPathParser.java:1613) at org.apache.xpath.compiler.XPathParser.LocationPath(XPathParser.java:1584) at org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1306) at org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1225) at org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1131) at org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1052) at org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:994) at org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:919) at org.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:859) at org.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:823) at org.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:796) at org.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:779) at org.apache.xpath.compiler.XPathParser.initXPath(XPathParser.java:172) at org.apache.xpath.XPath.<init>(XPath.java:202) at org.apache.xpath.XPathAPI.eval(XPathAPI.java:279) at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:211) at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:191) at org.jasig.portal.layout.channels.CContentSubscriber.analyzeParameters(CContentSubscriber.java:224) at org.jasig.portal.layout.channels.CContentSubscriber.renderXML(CContentSubscriber.java:345) at org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:528) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) --------------- analyzeParameters() has a catch that prints the exception stack trace to stdout. This should be at least logged to the log and not stdout. Also, the catch should be changed to only catch and wrap only TransformerException. There is no point wraping runtime exceptions in a channel because the framework will wrap them for you.

    Apereo Issues | 1 decade ago | Brad Johnson
    javax.xml.transform.TransformerException: Expected ,, but found: s at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:649) at org.apache.xpath.compiler.XPathParser.consumeExpected(XPathParser.java:567) at org.apache.xpath.compiler.XPathParser.FunctionCall(XPathParser.java:1530)
  2. 0

    I did a search for "what's" (with no double quotes) and got the following exception in the error channel: org.jasig.portal.PortalException: Expected ,, but found: s at org.jasig.portal.layout.channels.CContentSubscriber.analyzeParameters(CContentSubscriber.java:299) at org.jasig.portal.layout.channels.CContentSubscriber.renderXML(CContentSubscriber.java:345) at org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:528) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) --------------- Here is the exception that was logged to stdout: javax.xml.transform.TransformerException: Expected ,, but found: s at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:649) at org.apache.xpath.compiler.XPathParser.consumeExpected(XPathParser.java:567) at org.apache.xpath.compiler.XPathParser.FunctionCall(XPathParser.java:1530) at org.apache.xpath.compiler.XPathParser.PrimaryExpr(XPathParser.java:1435) at org.apache.xpath.compiler.XPathParser.FilterExpr(XPathParser.java:1334) at org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1267) at org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1225) at org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1131) at org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1052) at org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:994) at org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:919) at org.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:859) at org.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:823) at org.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:796) at org.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:779) at org.apache.xpath.compiler.XPathParser.PredicateExpr(XPathParser.java:1951) at org.apache.xpath.compiler.XPathParser.Predicate(XPathParser.java:1933) at org.apache.xpath.compiler.XPathParser.Step(XPathParser.java:1713) at org.apache.xpath.compiler.XPathParser.RelativeLocationPath(XPathParser.java:1613) at org.apache.xpath.compiler.XPathParser.LocationPath(XPathParser.java:1584) at org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1306) at org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1225) at org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1131) at org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1052) at org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:994) at org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:919) at org.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:859) at org.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:823) at org.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:796) at org.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:779) at org.apache.xpath.compiler.XPathParser.initXPath(XPathParser.java:172) at org.apache.xpath.XPath.<init>(XPath.java:202) at org.apache.xpath.XPathAPI.eval(XPathAPI.java:279) at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:211) at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:191) at org.jasig.portal.layout.channels.CContentSubscriber.analyzeParameters(CContentSubscriber.java:224) at org.jasig.portal.layout.channels.CContentSubscriber.renderXML(CContentSubscriber.java:345) at org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:528) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) --------------- analyzeParameters() has a catch that prints the exception stack trace to stdout. This should be at least logged to the log and not stdout. Also, the catch should be changed to only catch and wrap only TransformerException. There is no point wraping runtime exceptions in a channel because the framework will wrap them for you.

    Apereo Issues | 1 decade ago | Brad Johnson
    javax.xml.transform.TransformerException: Expected ,, but found: s at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:649) at org.apache.xpath.compiler.XPathParser.consumeExpected(XPathParser.java:567) at org.apache.xpath.compiler.XPathParser.FunctionCall(XPathParser.java:1530)
  3. 0

    "//" Compatiblity across Xalan 2.3 and 2.7

    xml-xalan-j-users | 1 decade ago | Hariprasath Manivannan
    javax.xml.transform.TransformerException: A location step was expected following the '/' or '//' token. at org.apache.xpath.compiler.XPathParser.error (XPathParser.java:608)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    using single quotes in string for xslt document() function

    Stack Overflow | 3 years ago | Srini Kandula
    javax.xml.transform.TransformerException: Expected ,, but found: David 15:59:12,166 ERROR [STDERR] at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:938)
  6. 0

    Problem while sending HL7 ACK to HL7 external system

    Oracle Community | 7 years ago | 843830
    javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: HL7ENC-E0027: Element: MSH.11 must occur at least 1 time(s)] ERREUR : 'HL7ENC-E0027: Element: MSH.11 must occur at least 1 time(s)' HL7BC-E0209: Failed to process the message exchange with ID 68899546013632-10229-134707429439760109 and exchange pattern http://www.w3.org/2004/08/wsdl/in-only due to error: HL7BC-W0121: Unable to process message exchange 68899546013632-10229-134707429439760109, end point com.sun.jbi.hl7bc.EndpointImpl@8cce44 and operation {http://j2ee.netbeans.org/wsdl/HL7v22_Feeder_CA/HL7v22_Feeder_CA_HL7_ANY_HL7Out}hl7wsdlOperation. java.lang.Exception: HL7BC-W0121: Unable to process message exchange 68899546013632-10229-134707429439760109, end point com.sun.jbi.hl7bc.EndpointImpl@8cce44 and operation {http://j2ee.netbeans.org/wsdl/HL7v22_Feeder_CA/HL7v22_Feeder_CA_HL7_ANY_HL7Out}hl7wsdlOperation.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.xml.transform.TransformerException

      Expected ,, but found: s at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:649) at org.apache.xpath.compiler.XPathParser.consumeExpected(XPathParser.java:567) at org.apache.xpath.compiler.XPathParser.FunctionCall(XPathParser.java:1530)

      at org.apache.xpath.compiler.XPathParser.PrimaryExpr()
    2. Xalan Java
      XPathParser.PrimaryExpr
      1. org.apache.xpath.compiler.XPathParser.PrimaryExpr(XPathParser.java:1435)
      1 frame