logo       
Google Custom Search

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

[jira] Issue Comment Edited: (XERCESJ-1261) NullPointerException in org.xml: msg#00003

Subject: [jira] Issue Comment Edited: (XERCESJ-1261) NullPointerException in org.xml.sax.ext.Attributes2Impl#addAttribute
    [ 
https://issues.apache.org/jira/browse/XERCESJ-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517315
 ] 

Michael Glavassevich edited comment on XERCESJ-1261 at 8/2/07 9:38 AM:
-----------------------------------------------------------------------

All of xml-apis.jar (SAX, DOM, JAXP) come from XML Commons, so you've reported 
this against the wrong project.  I have no way of transferring it over there 
since XML Commons uses Bugzilla, however this is most likely a duplicate of: 
http://issues.apache.org/bugzilla/show_bug.cgi?id=38316.


 was:
All of xml-apis.jar (SAX, DOM, JAXP) come from XML Commons, so you've reported 
this against the project.  I have no way of transferring it over there since 
XML Commons uses Bugzilla, however this is most likely a duplicate of: 
http://issues.apache.org/bugzilla/show_bug.cgi?id=38316.

> NullPointerException in org.xml.sax.ext.Attributes2Impl#addAttribute
> --------------------------------------------------------------------
>
>                 Key: XERCESJ-1261
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1261
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: SAX
>    Affects Versions: 2.9.0
>         Environment: Any
>            Reporter: Pepijn Van Eeckhoudt
>
> The following code generates a NullPointerException
> new org.xml.sax.ext.Attributes2Impl().addAttribute("","","","","");
> This is caused by the check of getLength against specified.length. After the 
> constructor is called the specified and declared arrays are null. Adding a 
> null check would resolve this problem.

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



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>