You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "bhaskar bhagawati (JIRA)" <xe...@xml.apache.org> on 2007/04/01 15:12:32 UTC
[jira] Created: (XERCESC-1691) Sometimes DOMBuilder::parseURI()
function returns null.
Sometimes DOMBuilder::parseURI() function returns null.
--------------------------------------------------------
Key: XERCESC-1691
URL: https://issues.apache.org/jira/browse/XERCESC-1691
Project: Xerces-C++
Issue Type: Bug
Affects Versions: 2.7.0
Environment: Microsoft Windows xp professional/version 20002/ SP2, Visual studio 2005 SP1, Pantium 4 processor, 504MB RAM
Reporter: bhaskar bhagawati
Fix For: 2.7.0
I read to and write from an xml file repeatedly from different threads. For reading and writing I use DOMBuilder::parseURI function, DOMWriter::writeNode function and LocalFileFormatTarget class object. I have used ACE_Thread_Mutex in my program, so that if one thread is reading or writing to the xml file, no other thread can read or write to the file. Sometimes parseURI function returns null. And also sometimes my program crashes while creating LocalFileFormatTarget class object.
--
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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Resolved: (XERCESC-1691) Sometimes DOMBuilder::parseURI()
function returns null.
Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alberto Massari resolved XERCESC-1691.
--------------------------------------
Resolution: Incomplete
Fix Version/s: (was: 2.7.0)
> Sometimes DOMBuilder::parseURI() function returns null.
> --------------------------------------------------------
>
> Key: XERCESC-1691
> URL: https://issues.apache.org/jira/browse/XERCESC-1691
> Project: Xerces-C++
> Issue Type: Bug
> Affects Versions: 2.7.0
> Environment: Microsoft Windows xp professional/version 20002/ SP2, Visual studio 2005 SP1, Pantium 4 processor, 504MB RAM
> Reporter: bhaskar bhagawati
>
> I read to and write from an xml file repeatedly from different threads. For reading and writing I use DOMBuilder::parseURI function, DOMWriter::writeNode function and LocalFileFormatTarget class object. I have used ACE_Thread_Mutex in my program, so that if one thread is reading or writing to the xml file, no other thread can read or write to the file. Sometimes parseURI function returns null. And also sometimes my program crashes while creating LocalFileFormatTarget class object.
--
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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Commented: (XERCESC-1691) Sometimes DOMBuilder::parseURI()
function returns null.
Posted by "Jesse Pelton (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486009 ]
Jesse Pelton commented on XERCESC-1691:
---------------------------------------
Note also that there's a helpful mailing list. You're more likely to get assistance with this sort of problem there, and perhaps you will discover that the bug is in fact in your code.
Alberto's comments regarding the information you should provide is valid in any case.
> Sometimes DOMBuilder::parseURI() function returns null.
> --------------------------------------------------------
>
> Key: XERCESC-1691
> URL: https://issues.apache.org/jira/browse/XERCESC-1691
> Project: Xerces-C++
> Issue Type: Bug
> Affects Versions: 2.7.0
> Environment: Microsoft Windows xp professional/version 20002/ SP2, Visual studio 2005 SP1, Pantium 4 processor, 504MB RAM
> Reporter: bhaskar bhagawati
> Fix For: 2.7.0
>
>
> I read to and write from an xml file repeatedly from different threads. For reading and writing I use DOMBuilder::parseURI function, DOMWriter::writeNode function and LocalFileFormatTarget class object. I have used ACE_Thread_Mutex in my program, so that if one thread is reading or writing to the xml file, no other thread can read or write to the file. Sometimes parseURI function returns null. And also sometimes my program crashes while creating LocalFileFormatTarget class object.
--
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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Commented: (XERCESC-1691) Sometimes DOMBuilder::parseURI()
function returns null.
Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485953 ]
Alberto Massari commented on XERCESC-1691:
------------------------------------------
Please complete the bug report; as it stands now, it's going to be closed as incomplete/not reproducible.
Either add your complete source code, or debug your code to find out what are the threads doing when the unexpected behavior occurs.
Alberto
> Sometimes DOMBuilder::parseURI() function returns null.
> --------------------------------------------------------
>
> Key: XERCESC-1691
> URL: https://issues.apache.org/jira/browse/XERCESC-1691
> Project: Xerces-C++
> Issue Type: Bug
> Affects Versions: 2.7.0
> Environment: Microsoft Windows xp professional/version 20002/ SP2, Visual studio 2005 SP1, Pantium 4 processor, 504MB RAM
> Reporter: bhaskar bhagawati
> Fix For: 2.7.0
>
>
> I read to and write from an xml file repeatedly from different threads. For reading and writing I use DOMBuilder::parseURI function, DOMWriter::writeNode function and LocalFileFormatTarget class object. I have used ACE_Thread_Mutex in my program, so that if one thread is reading or writing to the xml file, no other thread can read or write to the file. Sometimes parseURI function returns null. And also sometimes my program crashes while creating LocalFileFormatTarget class object.
--
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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org