[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>
<br> <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>
<br>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:
<blockquote> 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]</blockquote>
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
<p>Any help would be GREATLY appreciated!!
<br>-eric
<pre>--
----
Eric Plaster \
Universal Talkware Corp Senior Software \
Engineer (612)843-6711 \
plaster@talkware.net \
<a href="http://www.talkware.net">http://www.talkware.net</a></pre>
<pre WRAP>
<hr WIDTH="90%" SIZE=4><?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<window
id="theWindow"
title="test window"
xmlns:html="<a \
href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>" \
xmlns="<a \
href="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul</a>"
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>
</pre>
</blockquote>
<pre>--
----
Eric Plaster \
Universal Talkware Corp Senior Software \
Engineer (612)843-6711 \
plaster@talkware.net \
<A HREF="http://www.talkware.net">http://www.talkware.net</A></pre> </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