bugGNU Octave - Bugs: bug #53523, In javaMethod, include signature...


bug #53523: In javaMethod, include signature when method not found

Submitted by:  Adrian <adaerr>
Submitted on:  Fri 30 Mar 2018 11:01:29 AM UTC  
Category:  Octave Function Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Documentation
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  4.2.2 Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 30 Mar 2018 11:01:29 AM UTC, original submission:

When javaMethod() cannot find a method that can be matched to the parameters, it prints the message:

error: [java] java.lang.NoSuchMethodException: someMethod

This is slightly inaccurate in that it is incomplete: someMethod may well exist, but it may simply be impossible to find a signature that can be matched (via potential octave->java conversions) to the parameters of the call.

It would be less perturbing if either the error message were more explicit, or the documentation mentioned something along the lines of "A java.lang.NoSuchMethodException is thrown if either the METHODNAME is not found, or the ARGs cannot be matched to the method signature(s)".

Adrian <adaerr>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by adaerr (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-30 mtmiller Severity3 - Normal => 2 - Minor
        Item GroupFeature Request => Documentation

    Back to the top

    Powered by Savane 3.4