Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net.sf.saxon.trans.XPathException: A sequence of more than one item is not allowed as the @select attribute of xsl:sort (@classname="cn.com.ebidding.ess.review.analysis.service.impl.AnalysisServiceThread", @classname="java.lang.Exception") at net.sf.saxon.expr.Expression.typeError(Expression.java:1464) #51

Closed
jy01323647 opened this issue Sep 15, 2020 · 0 comments

Comments

@jy01323647
Copy link

Product Infos
SpotBugs: 4.0.6
IntelliJ SpotBugs plugin: 1.2.3
IDEA: IntelliJ IDEA 2020.2.1
IDEA-Build: IU-202.6948.69, August 25, 2020
JRE: 11.0.8+10-b944.31 x86_64
JVM: OpenJDK 64-Bit Server VM JetBrains s.r.o.

null
java.lang.RuntimeException: net.sf.saxon.trans.XPathException: A sequence of more than one item is not allowed as the @select attribute of xsl:sort (@classname="cn.com.ebidding.ess.review.analysis.service.impl.AnalysisServiceThread", @classname="java.lang.Exception")
at org.jetbrains.plugins.spotbugs.common.util.ErrorUtil.toUnchecked(ErrorUtil.java:48)
at org.jetbrains.plugins.spotbugs.actions.ExportBugCollection$1.run(ExportBugCollection.java:152)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:935)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:442)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:235)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:235)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: net.sf.saxon.trans.XPathException: A sequence of more than one item is not allowed as the @select attribute of xsl:sort (@classname="cn.com.ebidding.ess.review.analysis.service.impl.AnalysisServiceThread", @classname="java.lang.Exception")
at net.sf.saxon.expr.Expression.typeError(Expression.java:1464)
at net.sf.saxon.expr.SingletonAtomizer.evaluateItem(SingletonAtomizer.java:221)
at net.sf.saxon.expr.SingletonAtomizer.evaluateItem(SingletonAtomizer.java:31)
at net.sf.saxon.expr.sort.SortExpression.evaluateSortKey(SortExpression.java:394)
at net.sf.saxon.expr.sort.SortedIterator.buildArray(SortedIterator.java:215)
at net.sf.saxon.expr.sort.SortedIterator.doSort(SortedIterator.java:231)
at net.sf.saxon.expr.sort.SortedIterator.next(SortedIterator.java:148)
at net.sf.saxon.om.FocusTrackingIterator.next(FocusTrackingIterator.java:73)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:455)
at net.sf.saxon.expr.instruct.ApplyTemplates.apply(ApplyTemplates.java:300)
at net.sf.saxon.expr.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:255)
at net.sf.saxon.expr.instruct.Choose.processLeavingTail(Choose.java:896)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:735)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:132)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:352)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:299)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:735)
at net.sf.saxon.expr.instruct.NamedTemplate.expand(NamedTemplate.java:243)
at net.sf.saxon.expr.instruct.CallTemplate.process(CallTemplate.java:353)
at net.sf.saxon.expr.LetExpression.process(LetExpression.java:608)
at net.sf.saxon.expr.instruct.ForEach.lambda$processLeavingTail$0(ForEach.java:484)
at net.sf.saxon.om.SequenceIterator.forEachOrFail(SequenceIterator.java:128)
at net.sf.saxon.expr.instruct.ForEach.processLeavingTail(ForEach.java:484)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:735)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:132)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:352)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:299)
at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:721)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:735)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:132)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:352)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:299)
at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:352)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:532)
at net.sf.saxon.trans.XsltController.applyTemplates(XsltController.java:747)
at net.sf.saxon.s9api.AbstractXsltTransformer.applyTemplatesToSource(AbstractXsltTransformer.java:347)
at net.sf.saxon.s9api.XsltTransformer.transform(XsltTransformer.java:349)
at net.sf.saxon.jaxp.TransformerImpl.transform(TransformerImpl.java:71)
at org.jetbrains.plugins.spotbugs.actions.ExportBugCollection.exportHtml(ExportBugCollection.java:210)
at org.jetbrains.plugins.spotbugs.actions.ExportBugCollection.exportImpl(ExportBugCollection.java:175)
at org.jetbrains.plugins.spotbugs.actions.ExportBugCollection.access$000(ExportBugCollection.java:50)
at org.jetbrains.plugins.spotbugs.actions.ExportBugCollection$1.run(ExportBugCollection.java:142)
... 17 more

@jqyp jqyp closed this as completed in 3117cb9 Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant