<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Fatal JMP16 bug in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/512886#M74031</link>
    <description>&lt;P&gt;Thanks for finding this. I was able to replicate this and I have submitted the report to JMP support for investigate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;
&lt;P&gt;JMP Product Management.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2022 11:28:19 GMT</pubDate>
    <dc:creator>Daniel_Valente</dc:creator>
    <dc:date>2022-06-23T11:28:19Z</dc:date>
    <item>
      <title>Fatal JMP16 bug</title>
      <link>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/512713#M74022</link>
      <description>&lt;P&gt;This isn't a question, just brining awareness to an issue that I recently noticed within my scripts since moving to JMP16 -- namely, I'd assume that &lt;CODE class=" language-jsl"&gt;Is Namespace( ... )&lt;/CODE&gt; would not return a truthy value for a deleted namespace, but it does in JMP16.2 (but not in JMP14.3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because of this, the following script crashes JMP16.2:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ns = New Namespace();
ns:ns = New Namespace();
ns:ns &amp;lt;&amp;lt; Delete Namespace();
Show( Is Namespace( ns:ns ) );
If( Is Namespace( ns:ns ),
	ns:ns:__item__ = 4;
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I've needed to modify my scripts to the equivalent of this to get around the issue:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ns = New Namespace();
ns:ns = New Namespace();
ns:ns &amp;lt;&amp;lt; Delete Namespace();
Show( Is Namespace( ns:ns ) );
If( Is Namespace( ns:ns ) &amp;amp; !Is Missing( ns:ns &amp;lt;&amp;lt; Get Name ),
	ns:ns:__item__ = 4;
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 17:02:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/512713#M74022</guid>
      <dc:creator>ErraticAttack</dc:creator>
      <dc:date>2023-06-09T17:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal JMP16 bug</title>
      <link>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/512740#M74025</link>
      <description>&lt;P&gt;Has this been reported to the JMP Support folks?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 01:06:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/512740#M74025</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-06-23T01:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal JMP16 bug</title>
      <link>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/512755#M74026</link>
      <description>&lt;P&gt;Yeah, I reported it today as well.&amp;nbsp; I'll post here any updates -- but I assume that the team is probably aware of the issue already.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 01:41:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/512755#M74026</guid>
      <dc:creator>ErraticAttack</dc:creator>
      <dc:date>2022-06-23T01:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal JMP16 bug</title>
      <link>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/512830#M74027</link>
      <description>&lt;P&gt;Namespace Exists() seems to return 0 for deleted namespace.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 05:15:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/512830#M74027</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-06-23T05:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal JMP16 bug</title>
      <link>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/512869#M74030</link>
      <description>&lt;P&gt;Nice catch! Hope it isn't too late for the next 17 beta.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 10:41:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/512869#M74030</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-06-23T10:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal JMP16 bug</title>
      <link>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/512886#M74031</link>
      <description>&lt;P&gt;Thanks for finding this. I was able to replicate this and I have submitted the report to JMP support for investigate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;
&lt;P&gt;JMP Product Management.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 11:28:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/512886#M74031</guid>
      <dc:creator>Daniel_Valente</dc:creator>
      <dc:date>2022-06-23T11:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal JMP16 bug</title>
      <link>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/513029#M74047</link>
      <description>&lt;P&gt;Thanks very much for this information. A JMP developer has investigated and logged the issues you found so that they can be corrected in a future release!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 15:24:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/513029#M74047</guid>
      <dc:creator>shannon_conners</dc:creator>
      <dc:date>2022-06-23T15:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal JMP16 bug</title>
      <link>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/513215#M74068</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;, it does for a bare namespace, but not when giving a scoped namespace as this shows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ns = New Namespace();
ns:ns = New Namespace();
ns:ns &amp;lt;&amp;lt; Delete Namespace();
Show( Is Namespace( ns:ns ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jun 2022 18:36:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/513215#M74068</guid>
      <dc:creator>ErraticAttack</dc:creator>
      <dc:date>2022-06-23T18:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal JMP16 bug</title>
      <link>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/513239#M74071</link>
      <description>&lt;P&gt;I meant Namespace Exists() which seems to differ from Is Namespace (or maybe I'm missing something here)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
Clear Log();
Delete Namespaces();
ns = New Namespace();
ns:ns = New Namespace();
Show(Namespace Exists(ns:ns), Is Namespace(ns:ns));
ns:ns &amp;lt;&amp;lt; Delete Namespace();
Show(Namespace Exists(ns:ns), Is Namespace(ns:ns));
/*Namespace Exists(ns:ns) = 1;
Is Namespace(ns:ns) = 1;
Namespace Exists(ns:ns) = 0;
Is Namespace(ns:ns) = 1;*/&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jun 2022 19:08:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/513239#M74071</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-06-23T19:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal JMP16 bug</title>
      <link>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/513312#M74081</link>
      <description>&lt;P&gt;Haha, I didn't read your post very carefully!&amp;nbsp; You're right that this does seem to work, but I have a vague feeling that I didn't use this method for some reason in my code, although I cannot remember why right now.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 21:52:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/513312#M74081</guid>
      <dc:creator>ErraticAttack</dc:creator>
      <dc:date>2022-06-23T21:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal JMP16 bug</title>
      <link>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/513317#M74082</link>
      <description>&lt;P&gt;Actually I just remembered why -- &lt;CODE class=" language-jsl"&gt;Namespace Exists&lt;/CODE&gt; will look at the value of the variable and tell you whether the value can represent a namespace, whereas &lt;CODE class=" language-jsl"&gt;Is Namespace&lt;/CODE&gt; should tell whether the variable is directly a namespace or namespace reference:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because of this, this code fails:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ns = New Namespace( "test ns" );
ns:item = "variable";
ns name = "test ns";
If( Namespace Exists( ns name ),
	Show( ns name:item )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Whereas this doesn't:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ns = New Namespace( "test ns" );
ns:item = "variable";
ns name = "test ns";
If( Is Namespace( ns name ),
	Show( ns name:item )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jun 2022 22:00:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/513317#M74082</guid>
      <dc:creator>ErraticAttack</dc:creator>
      <dc:date>2022-06-23T22:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal JMP16 bug</title>
      <link>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/702702#M88708</link>
      <description>&lt;P&gt;any update here?&lt;BR /&gt;sounds like a candidate for&amp;nbsp;&lt;LI-MESSAGE title="Tiny Traps in Jmp and JSL" uid="702685" url="https://community.jmp.com/t5/Discussions/Tiny-Traps-in-Jmp-and-JSL/m-p/702685#U702685" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp; ...&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2023 13:26:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fatal-JMP16-bug/m-p/702702#M88708</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-11-25T13:26:31Z</dc:date>
    </item>
  </channel>
</rss>

