[ http://nagoya.apache.org/jira/browse/XALANJ-1575?page=history ]

Henry Zongaro updated XALANJ-1575:
----------------------------------

      Assign To:     (was: Xalan Developers Mailing List)
           type: Improvement  (was: Bug)
    Description: 
I am getting following exception while doing transformation using xalan2.4.1
I tried using xalan2.5.1 as well, then I got meaningful error message, again I 
rectify that error, again when i run with 2.5.1, I got the same NullPOinter 
exception as with 2.4.1.

Please let me know how we can come over this, as we are in a critical phase in 
our project.

java.lang.NullPointerException
        at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.addNode(DOM2DTM.java:246)
        at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.<init>(DOM2DTM.java:162)
        at org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.jav
a:291)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:658)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1129)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1107)

I tried to print line number using SourceLocator, but it is not printing 
anything.
So i don't know the source of this exception.

I tried using PrintTraceListener,addTraceListener(ptl) also, but couldn't get 
anything.

Regards,
Anoop Singh

  was:
I am getting following exception while doing transformation using xalan2.4.1
I tried using xalan2.5.1 as well, then I got meaningful error message, again I 
rectify that error, again when i run with 2.5.1, I got the same NullPOinter 
exception as with 2.4.1.

Please let me know how we can come over this, as we are in a critical phase in 
our project.

java.lang.NullPointerException
        at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.addNode(DOM2DTM.java:246)
        at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.<init>(DOM2DTM.java:162)
        at org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.jav
a:291)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:658)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1129)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1107)

I tried to print line number using SourceLocator, but it is not printing 
anything.
So i don't know the source of this exception.

I tried using PrintTraceListener,addTraceListener(ptl) also, but couldn't get 
anything.

Regards,
Anoop Singh

    Environment: 
Operating System: Windows NT/2K
Platform: PC

  was:
Operating System: Windows NT/2K
Platform: PC

       Priority: Minor
    Bugzilla Id:   (was: 20882)

> Null Pointer in DOM2DTM.addNode
> -------------------------------
>
>          Key: XALANJ-1575
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1575
>      Project: XalanJ2
>         Type: Improvement
>   Components: DTM
>     Versions: 2.4
>  Environment: Operating System: Windows NT/2K
> Platform: PC
>     Reporter: Anoop Singh
>     Priority: Minor
>  Attachments: patch_bug_20882.txt, transformation.log, update.xml, update.xsl
>
> I am getting following exception while doing transformation using xalan2.4.1
> I tried using xalan2.5.1 as well, then I got meaningful error message, again 
> I 
> rectify that error, again when i run with 2.5.1, I got the same NullPOinter 
> exception as with 2.4.1.
> Please let me know how we can come over this, as we are in a critical phase 
> in 
> our project.
> java.lang.NullPointerException
>         at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.addNode(DOM2DTM.java:246)
>         at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.<init>(DOM2DTM.java:162)
>         at 
> org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.jav
> a:291)
>         at 
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
> l.java:658)
>         at 
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
> l.java:1129)
>         at 
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
> l.java:1107)
> I tried to print line number using SourceLocator, but it is not printing 
> anything.
> So i don't know the source of this exception.
> I tried using PrintTraceListener,addTraceListener(ptl) also, but couldn't get 
> anything.
> Regards,
> Anoop Singh

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to