bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bug #39946] NullPointerException when using syntax->datum


From: anonymous
Subject: [Bug-kawa] [bug #39946] NullPointerException when using syntax->datum
Date: Wed, 04 Sep 2013 22:08:47 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?39946>

                 Summary: NullPointerException when using syntax->datum
                 Project: Kawa
            Submitted by: None
            Submitted on: Wed 04 Sep 2013 10:08:46 PM UTC
                Category: Scheme language
                Severity: 3 - Normal
              Item Group: Bad diagnostic
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Running this bit of code should provide a better error message than throwing a
NullPointerException:


#|kawa:22|# (syntax->datum (syntax (+ 1 2)))
java.lang.NullPointerException
        at kawa.lang.Quote.expand_pair(Quote.java:120)
        at kawa.lang.Quote.expand(Quote.java:340)
        at kawa.lang.Quote.expand(Quote.java:56)
        at kawa.lang.Quote.quote(Quote.java:70)
        at kawa.lib.std_syntax.syntax$To$Datum(std_syntax.scm:265)
        at atInteractiveLevel$12.run(stdin:22)
        at gnu.expr.ModuleExp.evalModule2(ModuleExp.java:309)
        at gnu.expr.ModuleExp.evalModule(ModuleExp.java:210)
        at kawa.Shell.run(Shell.java:279)
        at kawa.Shell.run(Shell.java:194)
        at kawa.Shell.run(Shell.java:175)
        at kawa.repl.main(repl.java:890)





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39946>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]