You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Christoph Oehler <co...@iiic.ethz.ch> on 2000/05/30 09:44:04 UTC

Re: WELCOME to xalan-dev@xml.apache.org

Hi

We're using Cocoon 1.7.2, Sun XML Parser 2 and Xalan 1.0.1. We're getting
several unreproducable errors:

First one:

java.util.EmptyStackException
	at java.util.Stack.peek(Unknown Source)
	at java.lang.Exception.(Unknown Source)
	at java.lang.RuntimeException.(Unknown Source)
	at java.util.EmptyStackException.(Unknown Source)
	at java.util.Stack.peek(Unknown Source)
	at java.util.Stack.pop(Unknown Source)
	at
org.apache.xalan.xslt.XSLTEngineImpl$ResultTreeHandler.endElement(XSLTEngine
Impl.java, Compiled Code)
	at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
	at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
	at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
	at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
	at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
	at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
	at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement
.java, Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.processLocatedNode(ElemTemplateEle
ment.java, Compiled Code)
	at
org.apache.xalan.xpath.SimpleNodeLocator.findChildren(SimpleNodeLocator.java
, Compiled Code)
	at org.apache.xalan.xpath.SimpleNodeLocator.step(SimpleNodeLocator.java,
Compiled Code)
	at
org.apache.xalan.xpath.SimpleNodeLocator.locationPath(SimpleNodeLocator.java
, Compiled Code)
	at org.apache.xalan.xpath.XPath.locationPath(XPath.java, Compiled Code)
	at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
	at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
	at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemp
lateElement.java, Compiled Code)
	at
org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java,
Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
	at org.apache.xalan.xslt.ElemChoose.execute(ElemChoose.java, Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
	at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
	at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement
.java, Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.processLocatedNode(ElemTemplateEle
ment.java, Compiled Code)
	at
org.apache.xalan.xpath.SimpleNodeLocator.findChildren(SimpleNodeLocator.java
, Compiled Code)
	at org.apache.xalan.xpath.SimpleNodeLocator.step(SimpleNodeLocator.java,
Compiled Code)
	at
org.apache.xalan.xpath.SimpleNodeLocator.locationPath(SimpleNodeLocator.java
, Compiled Code)
	at org.apache.xalan.xpath.XPath.locationPath(XPath.java, Compiled Code)
	at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
	at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
	at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemp
lateElement.java, Compiled Code)
	at
org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java,
Compiled Code)
	at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
	at org.apache.xalan.xslt.ElemTemplate.execute(ElemTemplate.java, Compiled
Code)
	at org.apache.xalan.xslt.StylesheetRoot.process(StylesheetRoot.java,
Compiled Code)
	at org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java,
Compiled Code)
	at
org.apache.cocoon.transformer.XalanTransformer.transform(XalanTransformer.ja
va, Compiled Code)
	at
org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.java,
Compiled Code)
	at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
	at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
	at com.livesoftware.jrun.JRun.runServlet(JRun.java, Compiled Code)
	at com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java,
Compiled Code)
	at
com.livesoftware.jrun.JRunGeneric.handleProxyConnection(JRunGeneric.java,
Compiled Code)
	at
com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JR
unProxyServiceHandler.java, Compiled Code)
	at
com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.ja
va, Compiled Code)

----------------------

Second one: we checked .. the variable titleelem is defined.

Error found handling the request.
pattern = '/root/language/*[local-name(.)=$titleelem]'
VariableReference given for variable out of context or without definition!
Name = titleelem
   at org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1630)
   at org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1594)
   at org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java,
Compiled Code)
   at
org.apache.cocoon.transformer.XalanTransformer.transform(XalanTransformer.ja
va, Compiled Code)
   at
org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.java,
Compiled Code)
   at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
   at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
   at com.livesoftware.jrun.JRun.runServlet(JRun.java, Compiled Code)
   at com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java,
Compiled Code)
   at
com.livesoftware.jrun.JRunGeneric.handleProxyConnection(JRunGeneric.java,
Compiled Code)
   at
com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JR
unProxyServiceHandler.java, Compiled Code)
   at
com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.ja
va, Compiled Code)
---------
pattern = '/root/language/*[local-name(.)=$titleelem]'
VariableReference given for variable out of context or without definition!
Name = titleelem
   at org.apache.xalan.xpath.XPath.error(XPath.java:1562)
   at org.apache.xalan.xpath.XPath.variable(XPath.java, Compiled Code)
   at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
   at org.apache.xalan.xpath.XPath.equals(XPath.java, Compiled Code)
   at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
   at org.apache.xalan.xpath.XPath.predicate(XPath.java, Compiled Code)
   at
org.apache.xalan.xpath.SimpleNodeLocator.predicates(SimpleNodeLocator.java,
Compiled Code)
   at org.apache.xalan.xpath.SimpleNodeLocator.step(SimpleNodeLocator.java,
Compiled Code)
   at org.apache.xalan.xpath.SimpleNodeLocator.step(SimpleNodeLocator.java,
Compiled Code)
   at org.apache.xalan.xpath.SimpleNodeLocator.step(SimpleNodeLocator.java,
Compiled Code)
   at org.apache.xalan.xpath.SimpleNodeLocator.step(SimpleNodeLocator.java,
Compiled Code)
   at
org.apache.xalan.xpath.SimpleNodeLocator.locationPath(SimpleNodeLocator.java
, Compiled Code)
   at org.apache.xalan.xpath.XPath.locationPath(XPath.java, Compiled Code)
   at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
   at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
   at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
   at org.apache.xalan.xslt.ElemValueOf.execute(ElemValueOf.java, Compiled
Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
   at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
   at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
   at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
   at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
   at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
   at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
   at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
   at org.apache.xalan.xslt.ElemChoose.execute(ElemChoose.java, Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
   at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
   at org.apache.xalan.xslt.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement
..java, Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.processLocatedNode(ElemTemplateEle
ment.java, Compiled Code)
   at
org.apache.xalan.xpath.SimpleNodeLocator.findChildren(SimpleNodeLocator.java
, Compiled Code)
   at org.apache.xalan.xpath.SimpleNodeLocator.step(SimpleNodeLocator.java,
Compiled Code)
   at
org.apache.xalan.xpath.SimpleNodeLocator.locationPath(SimpleNodeLocator.java
, Compiled Code)
   at org.apache.xalan.xpath.XPath.locationPath(XPath.java, Compiled Code)
   at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
   at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
   at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemp
lateElement.java, Compiled Code)
   at
org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java,
Compiled Code)
   at
org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElemen
t.java, Compiled Code)
   at org.apache.xalan.xslt.ElemTemplate.execute(ElemTemplate.java, Compiled
Code)
   at org.apache.xalan.xslt.StylesheetRoot.process(StylesheetRoot.java,
Compiled Code)
   at org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java,
Compiled Code)
   at
org.apache.cocoon.transformer.XalanTransformer.transform(XalanTransformer.ja
va, Compiled Code)
   at
org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.java,
Compiled Code)
   at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
   at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
   at com.livesoftware.jrun.JRun.runServlet(JRun.java, Compiled Code)
   at com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java,
Compiled Code)
   at
com.livesoftware.jrun.JRunGeneric.handleProxyConnection(JRunGeneric.java,
Compiled Code)
   at
com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JR
unProxyServiceHandler.java, Compiled Code)
   at
com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.ja
va, Compiled Code)


Any suggestion are very welcomed!!

Thanks
Christoph