method reconstructlist bug?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

method reconstructlist bug?

Jason Martin
In Rexx.nrx in

method reconstructlist(input=Rexx,ruleset=Rexx "",sublist=Rexx 0) static

Generated Java

        if (ruleset.OpEqS(null, $04))
            if ((input.exists(netrexx.lang.Rexx.toRexx("sl-rules"))).toboolean())
                rules = input.getnode(netrexx.lang.Rexx.toRexx("sl-rules")).leaf;
            else
                ;
        else if ((ruleset.exists(netrexx.lang.Rexx.toRexx("sl-elements"))).OpNot(null))
            rules = getrules(ruleset);
        else
            rules = ruleset;
        flags = getflags(rules);

With the NOP in the Rexx code can rules fall through and be NULL


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: method reconstructlist bug?

Jason Martin
kill.nrx

mylist="causes java.lang.NullPointerException"
Rexx.reconstructlist(mylist)


running it results in

Exception in thread "main" java.lang.NullPointerException
        at netrexx.lang.Rexx.getflags(Rexx.nrx:2781)
        at netrexx.lang.Rexx.reconstructlist(Rexx.nrx:2633)
        at netrexx.lang.Rexx.reconstructlist(Rexx.nrx:2628)
        at kill.main(kill.nrx:12)



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: method reconstructlist bug?

George Hovey-2
Jason,

My Chrome Browser suspects you of being an imposter:

" This message may not have been sent by: [hidden email]  Learn more  Report phishing"

The "Learn more" is here:



On Wed, Apr 18, 2018 at 3:44 PM, Jason Martin <[hidden email]> wrote:
kill.nrx

mylist="causes java.lang.NullPointerException"
Rexx.reconstructlist(mylist)


running it results in

Exception in thread "main" java.lang.NullPointerException
        at netrexx.lang.Rexx.getflags(Rexx.nrx:2781)
        at netrexx.lang.Rexx.reconstructlist(Rexx.nrx:2633)
        at netrexx.lang.Rexx.reconstructlist(Rexx.nrx:2628)
        at kill.main(kill.nrx:12)



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/





--
"Life isn't one damn thing after another -- it's the same damn thing over and over."
  -- Edna St Vincent Millay

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: method reconstructlist bug?

Jason Martin
I guess he gets mad because I don't load his java-script 9 out 10 times.
Slows my OpenIndiana 32-bit Firefox down for no real benefit.
It's a shame It does not TRUST its own mail server.
Could not find Chrome for Solaris.

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/