incubator-hise-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafal Rusin (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HISE-23) Saxon evaluation error inside job
Date Wed, 03 Feb 2010 15:29:27 GMT

     [ https://issues.apache.org/jira/browse/HISE-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rafal Rusin resolved HISE-23.
-----------------------------

    Resolution: Fixed

There was problem with multiple Saxon versions. 
I removed saxon jar embedded dependency and used bundle from SMX4 trunk (http://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/saxon-9.1.0.8)
org.apache.servicemix.bundles.saxon-9.1.0.8_1-SNAPSHOT.jar

It contains saxon-xpath, which is required by HISE. 

> Saxon evaluation error inside job
> ---------------------------------
>
>                 Key: HISE-23
>                 URL: https://issues.apache.org/jira/browse/HISE-23
>             Project: HISE
>          Issue Type: Bug
>          Components: OSGi
>         Environment: apache-servicemix-4.1.0-psc-01-00RC1 (FUSE)
>            Reporter: Rafal Rusin
>            Assignee: Rafal Rusin
>             Fix For: 0.2.0
>
>
> After running test cases on SMX4, I got following error:
> 10:48:20,243 | WARN  | pool-5-thread-1  | HISEScheduler                    | e.engine.HISEScheduler$CheckJobs
  87 | Job execution failed {action=deadline, details=startDeadline2;START, id=366, task=258}
> java.lang.RuntimeException: timer job failed
>         at org.apache.hise.engine.HISEEngineImpl.executeJob(HISEEngineImpl.java:160)
>         at org.apache.hise.engine.HISEScheduler$CheckJobs$2.doInTransaction(HISEScheduler.java:79)
>         at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
>         at org.apache.hise.engine.HISEScheduler$CheckJobs.run(HISEScheduler.java:71)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
>         at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:146)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:170)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.hise.engine.HISEEngineImpl.executeJob(HISEEngineImpl.java:158)
>         ... 12 more
> Caused by: java.lang.RuntimeException: net.sf.saxon.trans.XPathException: Required item
type of first operand of '/' is node(); supplied value has item type java:org.w3c.dom.Node
>         at org.apache.hise.utils.XQueryEvaluator.evaluateExpression(XQueryEvaluator.java:142)
>         at org.apache.hise.runtime.TaskEvaluator.evaluateToParts(TaskEvaluator.java:208)
>         at org.apache.hise.runtime.DeadlineController.deadlineCrossed(DeadlineController.java:107)
>         at org.apache.hise.runtime.Task.deadlineJobAction(Task.java:571)
>         ... 16 more
> Caused by: net.sf.saxon.trans.XPathException: Required item type of first operand of
'/' is node(); supplied value has item type java:org.w3c.dom.Node
>         at net.sf.saxon.expr.TypeChecker.staticTypeCheck(TypeChecker.java:305)
>         at net.sf.saxon.expr.SlashExpression.typeCheck(SlashExpression.java:167)
>         at net.sf.saxon.expr.ExpressionVisitor.typeCheck(ExpressionVisitor.java:181)
>         at net.sf.saxon.expr.SlashExpression.typeCheck(SlashExpression.java:161)
>         at net.sf.saxon.expr.ExpressionVisitor.typeCheck(ExpressionVisitor.java:181)
>         at net.sf.saxon.expr.SlashExpression.typeCheck(SlashExpression.java:161)
>         at net.sf.saxon.expr.ExpressionVisitor.typeCheck(ExpressionVisitor.java:181)
>         at net.sf.saxon.expr.SlashExpression.typeCheck(SlashExpression.java:161)
>         at net.sf.saxon.expr.ExpressionVisitor.typeCheck(ExpressionVisitor.java:181)
>         at net.sf.saxon.instruct.ParentNodeConstructor.typeCheck(ParentNodeConstructor.java:165)
>         at net.sf.saxon.expr.ExpressionVisitor.typeCheck(ExpressionVisitor.java:181)
>         at net.sf.saxon.instruct.Block.typeCheck(Block.java:447)
>         at net.sf.saxon.expr.ExpressionVisitor.typeCheck(ExpressionVisitor.java:181)
>         at net.sf.saxon.instruct.ParentNodeConstructor.typeCheck(ParentNodeConstructor.java:165)
>         at net.sf.saxon.expr.ExpressionVisitor.typeCheck(ExpressionVisitor.java:181)
>         at net.sf.saxon.query.XQueryExpression.<init>(XQueryExpression.java:72)
>         at net.sf.saxon.query.QueryParser.makeXQueryExpression(QueryParser.java:121)
>         at net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:343)
>         at org.apache.hise.utils.XQueryEvaluator.evaluateExpression(XQueryEvaluator.java:107)
>         ... 19 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message