You're right. I didn't run the samples one last time! I was able to
recreate a NPE (which I can easily fix) with 6-sqllib-instantdb. The real
problem seems to be that the variable "table" always evaluates to null. I'm
have not yet had a chance to look at that code to really know what is going
on. If you have any idea, please let me know. I have to run now, but I will
continue on this tomorrow.

Thanks,
Myriam


                                                                                       
      
                    John Gentilin                                                      
      
                    <johnglinux@eyecatch       To:     Xalan Mailing List              
      
                    ing.com>                    <[EMAIL PROTECTED]>             
      
                    Sent by:                   cc:     (bcc: Myriam Midy/CAM/Lotus)    
      
                    [EMAIL PROTECTED]       Subject:     Extension Errors with new 
build  
                    tching.com                                                         
      
                                                                                       
      
                                                                                       
      
                    08/14/01 04:43 PM                                                  
      
                    Please respond to                                                  
      
                    xalan-dev                                                          
      
                                                                                       
      
                                                                                       
      




It seems that any extension function a DTM will fail with the catch all
"Unknown Error in XPath" attached is a copy of the stack trace. Any of
the SQL Extension Tests should be able to exercise the error.

John G



; SystemID: file:///home/gentijo/jbproject/Xalan/mkay-headeronly.xsl;
Line#: 26; Column#: 66
javax.xml.transform.TransformerException: Unknown error in XPath
 at org.apache.xpath.XPath.execute(XPath.java, Compiled Code)
 at org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java,
Compiled Code)
 at org.apache.xalan.templates.ElemVariable.execute(ElemVariable.java,
Compiled Code)
 at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2182)


 at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2008)


 at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)


 at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:638)


 at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1088)


 at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)


 at org.apache.xalan.xslt.Process.main(Process.java:865)
---------
java.lang.NullPointerException:
 at
org.apache.xpath.axes.ChildTestIterator.setRoot(ChildTestIterator.java:286)

 at
org.apache.xpath.axes.OneStepIterator.setRoot(OneStepIterator.java:77)
 at org.apache.xpath.objects.XObjectFactory.create(XObjectFactory.java,
Compiled Code)
 at org.apache.xpath.objects.XObject.create(XObject.java, Compiled Code)

 at
org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java,
Compiled Code)
 at org.apache.xpath.XPath.execute(XPath.java, Compiled Code)
 at org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java,
Compiled Code)
 at org.apache.xalan.templates.ElemVariable.execute(ElemVariable.java,
Compiled Code)
 at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2182)


 at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2008)


 at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)


 at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:638)


 at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1088)


 at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)


 at org.apache.xalan.xslt.Process.main(Process.java:865)





Reply via email to