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
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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)

    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