bugGNU Octave - Bugs: bug #36311, NoSuchMethodException: questdlg,...

 
 

bug #36311: NoSuchMethodException: questdlg, errordlg, helpdlg, inputdlg, warndlg

Submitted by:  NitraM <nitram>
Submitted on:  Thu 26 Apr 2012 08:26:30 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: Octave ForgeAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.6.1Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 02 Oct 2012 06:54:22 AM UTC, comment #3:

(Some info just to be sure that this bug report is complete:

Last July ago I've updated the dialog functions in the Java package in Octave-Forge svn to accept cell string arrays for the first arg (MESSAGE) => fixed in Java pkg v. 1.2.9)

Philip Nienhuis <philipnienhuis>
Project Member
Thu 26 Apr 2012 07:54:00 PM UTC, comment #2:

(Sorry for posting here, I'll keep it short)

Nitram,

questdlg's arguments are fed directly to Java methods, and Java doesn't know how to handle Octave cell data types.
So, questdlg doesn't accept cell arguments. What makes you think that you can substitute cellstr arrays where plain text strings are to be expected?
What do you expect/hope to get as output?

I'd agree that perhaps more rigid input validation is needed for the Java ui functions.

Philip Nienhuis <philipnienhuis>
Project Member
Thu 26 Apr 2012 12:11:55 PM UTC, comment #1:

This bug tracker is limited to Octave's core functions.

The problem reported is for the java package on Octave Forge.

The proper bug tracker for that is below.

http://sourceforge.net/tracker/?group_id=2888&atid=102888

I'd transplant the bug, but I don't see how to add Nitra so that he is cc'd

Ben Abbott <bpabbott>
Project Member
Thu 26 Apr 2012 08:26:30 AM UTC, original submission:

Hello,

I found the next bug:

This is working fine:

But if there is a cell specified instead of a char[], there is a Java Exception.

Thanks,
Nitram

NitraM <nitram>

 

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

Attach File(s):
   
   
Comment:
   

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 rik5 (Updated the item)
  • -unavailable- added by philipnienhuis (Posted a comment)
  • -unavailable- added by bpabbott (Posted a comment)
  • -unavailable- added by nitram (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 02 Oct 2012 04:34:12 AM UTCrik5StatusInvalid=>Octave Forge
      Open/ClosedOpen=>Closed
    Thu 26 Apr 2012 12:11:55 PM UTCbpabbottStatusNone=>Invalid

    Back to the top


    Powered by Savane 3.1-cleanup1