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 FunctionSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Documentation
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: 4.2.2Operating 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 30 Mar 2018 04:32:03 PM UTCmtmillerSeverity3 - Normal=>2 - Minor
      Item GroupFeature Request=>Documentation

    Back to the top

    Powered by Savane 3.1-cleanup1