[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-rdf
Subject:    Re: rdf exception
From:       Eric Plaster <plaster () urbanrage ! com>
Date:       2001-03-09 17:27:07
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


 http://bugzilla.mozilla.org/show_bug.cgi?id=71438

If anyone wants to follow this one.
-eric

Eric Plaster wrote:

>
> I'm running into a problem with my app.  If I create the rdf file from
> my app and initialize it I can add and remove nodes all day.  If I
> leave a node in the root seq when I exit, on restart, everything will
> work correctly (I can add and remove nodes from the root seq).  The
> problem comes when I delete all the nodes from the root seq, exit and
> restart.  When I try to add a node it gives me the following error:
>
>       line 0: uncaught exception: [Exception... "Component
>      returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED)
>      [nsIRDFContainer.AppendElement]"  nsresult: "0x8000ffff
>      (NS_ERROR_UNEXPECTED)"  location: "JS frame ::
>      chrome://navigator/content/test.js :: test_Add :: line 67"
>      data: no]
>
> I wrote up a test case.  Just put the test.js, test.xul, and file.js
> in you chrome/comm/content/navigator/ dir and fire it up like
> ./mozilla -chrome chrome://navigator/content/test.xul
>
> Any help would be GREATLY appreciated!!
> -eric
>
> --
> ----
> Eric Plaster                    Universal Talkware Corp
> Senior Software Engineer        (612)843-6711
> plaster@talkware.net            http://www.talkware.net
>
>
>
>    ----------------------------------------------------------------
> <?xml version="1.0"?>
>
> <?xml-stylesheet href="chrome://global/skin/global.css"
> type="text/css"?>
>
> <window
>     id="theWindow"
>     title="test window"
>     xmlns:html="http://www.w3.org/1999/xhtml"
>     xmlns="
> http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>     orient="vertical"
>     onload="test_Startup();"
>     height="140"
>     width="140"
>     >
>
>   <script language="javascript"
> src="chrome://navigator/content/test.js"/>
>   <script src="chrome://navigator/content/file.js"/>
>
>   <button value="done" oncommand="window.close();"/>
>   <button value="add" oncommand="test_Add();"/>
>   <button value="delete" oncommand="test_Delete();"/>
> </window>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
--
----
Eric Plaster                    Universal Talkware Corp
Senior Software Engineer        (612)843-6711
plaster@talkware.net            http://www.talkware.net



[Attachment #5 (text/html)]

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
&nbsp;
<br>&nbsp;<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=71438">http://bugzilla.mozilla.org/show_bug.cgi?id=71438</a>
 <p>If anyone wants to follow this one.
<br>-eric
<p>Eric Plaster wrote:
<blockquote TYPE=CITE>&nbsp;
<br>I'm running into a problem with my app.&nbsp; If I create the rdf file
from my app and initialize it I can add and remove nodes all day.&nbsp;
If I leave a node in the root seq when I exit, on restart, everything will
work correctly (I can add and remove nodes from the root seq).&nbsp; The
problem comes when I delete all the nodes from the root seq, exit and restart.&nbsp;
When I try to add a node it gives me the following error:
<blockquote>&nbsp;line 0: uncaught exception: [Exception... "Component
returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) \
                [nsIRDFContainer.AppendElement]"&nbsp;
nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"&nbsp; location: "JS frame
> > chrome://navigator/content/test.js :: test_Add :: line 67"&nbsp; data:
no]</blockquote>
I wrote up a test case.&nbsp; Just put the test.js, test.xul, and file.js
in you chrome/comm/content/navigator/ dir and fire it up like ./mozilla
-chrome chrome://navigator/content/test.xul
<p>Any help would be GREATLY appreciated!!
<br>-eric
<pre>--&nbsp;
----
Eric Plaster&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Universal Talkware Corp Senior Software \
Engineer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (612)843-6711 \
plaster@talkware.net&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
<a href="http://www.talkware.net">http://www.talkware.net</a></pre> &nbsp;
<pre WRAP>
<hr WIDTH="90%" SIZE=4>&lt;?xml version="1.0"?>&nbsp;

&lt;?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>

&lt;window
&nbsp;&nbsp;&nbsp; id="theWindow"
&nbsp;&nbsp;&nbsp; title="test window"
&nbsp;&nbsp;&nbsp; xmlns:html="<a \
href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>" \
&nbsp;&nbsp;&nbsp; xmlns="<a \
href="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul</a>"
 &nbsp;&nbsp;&nbsp; orient="vertical"
&nbsp;&nbsp;&nbsp; onload="test_Startup();"
&nbsp;&nbsp;&nbsp; height="140"
&nbsp;&nbsp;&nbsp; width="140"
&nbsp;&nbsp;&nbsp; >&nbsp;

&nbsp; &lt;script language="javascript" src="chrome://navigator/content/test.js"/>
&nbsp; &lt;script src="chrome://navigator/content/file.js"/>

&nbsp; &lt;button value="done" oncommand="window.close();"/>
&nbsp; &lt;button value="add" oncommand="test_Add();"/>
&nbsp; &lt;button value="delete" oncommand="test_Delete();"/>
&lt;/window>





























</pre>
</blockquote>

<pre>--&nbsp;
----
Eric Plaster&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Universal Talkware Corp Senior Software \
Engineer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (612)843-6711 \
plaster@talkware.net&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
<A HREF="http://www.talkware.net">http://www.talkware.net</A></pre> &nbsp;</html>


["smime.p7s" (application/x-pkcs7-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic