Project

Profile

Help

Bug #5782 » stacktrace_classcastexception.txt

Rene Schulze, 2022-12-23 10:55

 
java.lang.ClassCastException: class com.saxonica.ee.schema.sdoc.SimpleTypeDefinition cannot be cast to class net.sf.saxon.type.AtomicType (com.saxonica.ee.schema.sdoc.SimpleTypeDefinition and net.sf.saxon.type.AtomicType are in unnamed module of loader 'app')
at net.sf.saxon.expr.parser.XPathParser.getPlainType(XPathParser.java:1557) ~[saxon-ee-11.4.jar:?]
at net.sf.saxon.expr.parser.XPathParser.getPlainType(XPathParser.java:1508) ~[saxon-ee-11.4.jar:?]
at net.sf.saxon.expr.parser.XPathParser.parseSimpleItemType(XPathParser.java:1752) ~[saxon-ee-11.4.jar:?]
at net.sf.saxon.expr.parser.XPathParser.parseItemType(XPathParser.java:1743) ~[saxon-ee-11.4.jar:?]
at net.sf.saxon.expr.parser.XPathParser.parseSequenceType(XPathParser.java:1694) ~[saxon-ee-11.4.jar:?]
at net.sf.saxon.query.XQueryParser.parseLetClause(XQueryParser.java:2552) ~[saxon-ee-11.4.jar:?]
at net.sf.saxon.query.XQueryParser.parseFLWORExpression(XQueryParser.java:2269) ~[saxon-ee-11.4.jar:?]
at net.sf.saxon.expr.parser.XPathParser.parseExprSingle(XPathParser.java:751) ~[saxon-ee-11.4.jar:?]
at net.sf.saxon.expr.parser.XPathParser.parseExpression(XPathParser.java:679) ~[saxon-ee-11.4.jar:?]
at net.sf.saxon.query.XQueryParser.parseQuery(XQueryParser.java:379) ~[saxon-ee-11.4.jar:?]
at net.sf.saxon.query.XQueryParser.makeXQueryExpression(XQueryParser.java:177) ~[saxon-ee-11.4.jar:?]
at net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:562) ~[saxon-ee-11.4.jar:?]
(1-1/2)