You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Dr. Java (JIRA)" <xa...@xml.apache.org> on 2007/08/17 20:26:30 UTC

[jira] Created: (XALANJ-2395) NullPointerException calling reset() on TransformerIdentityImpl

NullPointerException calling reset() on TransformerIdentityImpl
---------------------------------------------------------------

                 Key: XALANJ-2395
                 URL: https://issues.apache.org/jira/browse/XALANJ-2395
             Project: XalanJ2
          Issue Type: Bug
          Components: JAXP
    Affects Versions: 2.7
            Reporter: Dr. Java


Calling reset() on a Transformer created using TransformerFactory.newInstance() give a NullPointerException.

java.lang.NullPointerException
	at org.apache.xalan.transformer.TransformerIdentityImpl.reset(TransformerIdentityImpl.java:167)
        .....

Xalan reports its Version.getVersion() as: XSLT4J Java 2.7.6


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


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Assigned: (XALANJ-2395) NullPointerException calling reset() on TransformerIdentityImpl

Posted by "Kevin Cormier (JIRA)" <xa...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XALANJ-2395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Cormier reassigned XALANJ-2395:
-------------------------------------

    Assignee: Kevin Cormier

> NullPointerException calling reset() on TransformerIdentityImpl
> ---------------------------------------------------------------
>
>                 Key: XALANJ-2395
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2395
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: JAXP
>    Affects Versions: 2.7
>            Reporter: Dr. Java
>            Assignee: Kevin Cormier
>
> Calling reset() on a Transformer created using TransformerFactory.newInstance() give a NullPointerException.
> java.lang.NullPointerException
> 	at org.apache.xalan.transformer.TransformerIdentityImpl.reset(TransformerIdentityImpl.java:167)
>         .....
> Xalan reports its Version.getVersion() as: XSLT4J Java 2.7.6

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


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Commented: (XALANJ-2395) NullPointerException calling reset() on TransformerIdentityImpl

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XALANJ-2395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527346 ] 

Brian Minchau commented on XALANJ-2395:
---------------------------------------

I reviewed Kevin's first patch and suggested that it use the existing clearParamters() method (which does the necessary check against null before doing reset().

I reviewed Kevin's second, revised patch and approve it.  Go ahead and commit it Kevin.

Dr. Java:  "Xalan" never reports its as XSLT4J Java 2.7.6. You are using IBM's version, based on Apache Xalan, but with some other changes. IBM's product reports "XSLT4J Java ...", whereas Apache Xalan would report its version as "Xalan Java  ..." (have a look at the source at http://svn.apache.org/viewvc/xalan/java/trunk/src/org/apache/xalan/Version.java?view=markup )

That said, thanks for finding this problem which also exists in the Apache codebase.
- Brian Minchau

> NullPointerException calling reset() on TransformerIdentityImpl
> ---------------------------------------------------------------
>
>                 Key: XALANJ-2395
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2395
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: JAXP
>    Affects Versions: 2.7
>            Reporter: Dr. Java
>            Assignee: Kevin Cormier
>         Attachments: XALANJ-2395-revised.patch, XALANJ-2395.patch
>
>
> Calling reset() on a Transformer created using TransformerFactory.newInstance() give a NullPointerException.
> java.lang.NullPointerException
> 	at org.apache.xalan.transformer.TransformerIdentityImpl.reset(TransformerIdentityImpl.java:167)
>         .....
> Xalan reports its Version.getVersion() as: XSLT4J Java 2.7.6

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


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Resolved: (XALANJ-2395) NullPointerException calling reset() on TransformerIdentityImpl

Posted by "Kevin Cormier (JIRA)" <xa...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XALANJ-2395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Cormier resolved XALANJ-2395.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: The Latest Development Code

> NullPointerException calling reset() on TransformerIdentityImpl
> ---------------------------------------------------------------
>
>                 Key: XALANJ-2395
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2395
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: JAXP
>    Affects Versions: 2.7
>            Reporter: Dr. Java
>            Assignee: Kevin Cormier
>             Fix For: The Latest Development Code
>
>         Attachments: XALANJ-2395-revised.patch, XALANJ-2395.patch
>
>
> Calling reset() on a Transformer created using TransformerFactory.newInstance() give a NullPointerException.
> java.lang.NullPointerException
> 	at org.apache.xalan.transformer.TransformerIdentityImpl.reset(TransformerIdentityImpl.java:167)
>         .....
> Xalan reports its Version.getVersion() as: XSLT4J Java 2.7.6

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


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Issue Comment Edited: (XALANJ-2395) NullPointerException calling reset() on TransformerIdentityImpl

Posted by "Dr. Java (JIRA)" <xa...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XALANJ-2395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552699 ] 

dr_java edited comment on XALANJ-2395 at 12/18/07 2:46 AM:
------------------------------------------------------------

Fixed in latest release of XALAN. Not fixed in IBM Version, overriding of JARs necessary.

      was (Author: dr_java):
    Fixed in latest release.
  
> NullPointerException calling reset() on TransformerIdentityImpl
> ---------------------------------------------------------------
>
>                 Key: XALANJ-2395
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2395
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: JAXP
>    Affects Versions: 2.7
>            Reporter: Dr. Java
>            Assignee: Kevin Cormier
>             Fix For: 2.7.1
>
>         Attachments: XALANJ-2395-revised.patch, XALANJ-2395.patch
>
>
> Calling reset() on a Transformer created using TransformerFactory.newInstance() give a NullPointerException.
> java.lang.NullPointerException
> 	at org.apache.xalan.transformer.TransformerIdentityImpl.reset(TransformerIdentityImpl.java:167)
>         .....
> Xalan reports its Version.getVersion() as: XSLT4J Java 2.7.6

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


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Commented: (XALANJ-2395) NullPointerException calling reset() on TransformerIdentityImpl

Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XALANJ-2395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520628 ] 

Henry Zongaro commented on XALANJ-2395:
---------------------------------------

That version number indicates you're using the version of Xalan-Java that IBM includes in its JDK or that ships directly with some of its products.  Please report the problem through IBM's official support channels to have this problem fixed.

The problem is also reproducible with Xalan-J Interpretive, so this is still a valid bug report.

> NullPointerException calling reset() on TransformerIdentityImpl
> ---------------------------------------------------------------
>
>                 Key: XALANJ-2395
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2395
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: JAXP
>    Affects Versions: 2.7
>            Reporter: Dr. Java
>
> Calling reset() on a Transformer created using TransformerFactory.newInstance() give a NullPointerException.
> java.lang.NullPointerException
> 	at org.apache.xalan.transformer.TransformerIdentityImpl.reset(TransformerIdentityImpl.java:167)
>         .....
> Xalan reports its Version.getVersion() as: XSLT4J Java 2.7.6

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


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Closed: (XALANJ-2395) NullPointerException calling reset() on TransformerIdentityImpl

Posted by "Dr. Java (JIRA)" <xa...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XALANJ-2395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dr. Java closed XALANJ-2395.
----------------------------


Fixed in latest release.

> NullPointerException calling reset() on TransformerIdentityImpl
> ---------------------------------------------------------------
>
>                 Key: XALANJ-2395
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2395
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: JAXP
>    Affects Versions: 2.7
>            Reporter: Dr. Java
>            Assignee: Kevin Cormier
>             Fix For: 2.7.1
>
>         Attachments: XALANJ-2395-revised.patch, XALANJ-2395.patch
>
>
> Calling reset() on a Transformer created using TransformerFactory.newInstance() give a NullPointerException.
> java.lang.NullPointerException
> 	at org.apache.xalan.transformer.TransformerIdentityImpl.reset(TransformerIdentityImpl.java:167)
>         .....
> Xalan reports its Version.getVersion() as: XSLT4J Java 2.7.6

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


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org