octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #48795] javaMethod(instance method, classname,


From: Ernst Reissner
Subject: [Octave-bug-tracker] [bug #48795] javaMethod(instance method, classname, ...) leads to NullPointerException
Date: Mon, 15 Aug 2016 22:05:12 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

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

                 Summary: javaMethod(instance method, classname,...) leads to
NullPointerException
                 Project: GNU Octave
            Submitted by: ernstreissner
            Submitted on: Mon 15 Aug 2016 10:05:09 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

javaMethod has two flavors: 
- javaMethod(name, object,...) for member methods 
- javaMethod(name, classname,...) for class methods. 

When mixed up, i.e. javaMethod(name, classname,...), 
where name specifies a member method, 
the result is a NullPointerException 
but should be a  NoSuchMethodException. 


Try 

javaMethod('returnNull','eu.simuline.octave.OctaveInterfaceTester')
 with the java class attached. 



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 15 Aug 2016 10:05:09 PM GMT  Name: OctaveInterfaceTester.java  Size:
4kB   By: ernstreissner

<http://savannah.gnu.org/bugs/download.php?file_id=38226>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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