[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException: ..." errors |
Date: |
Thu, 1 Jun 2017 05:20:43 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux i686 on x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 |
Follow-up Comment #1, bug #51152 (project octave):
Further bisecting reveals that cset 551fa3879615 ("improve compatibility and
simplify evaluation of index expressions") is the culprit.
A little easier way to reproduce (still needs an external Java jar):
For jopendocument (.ods):
javaaddpath ("</full/path/to/jopendocument.jar>")
jopendoc = "org.jopendocument.dom.spreadsheet.SpreadSheet";
## Create an empty 2 x 2 default TableModel template
tmodel= javaObject ("javax.swing.table.DefaultTableModel", 2, 2);
wb = javaMethod ("createEmpty", jopendoc, tmodel);
## Show nr. of sheets
wb.getSheetCount ()
## Offending statement
wb.getSheet (1)
....which gives.....
>> sh = wb.getSheet (1)
error: [java] java.lang.NoSuchFieldException: getSheet
....while.....
>> methods (wb)
Methods for class org.jopendocument.dom.spreadsheet.SpreadSheet:
:
org.jopendocument.dom.spreadsheet.Sheet getSheet(java.lang.String, boolean)
throws java.util.NoSuchElementException
org.jopendocument.dom.spreadsheet.Sheet getSheet(int)
:
:
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51152>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException: ..." errors, Philip Nienhuis, 2017/06/01
- [Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException: ..." errors,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException: ..." errors, Philip Nienhuis, 2017/06/01
- [Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException: ..." errors, Philip Nienhuis, 2017/06/09
- [Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException: ..." errors, Philip Nienhuis, 2017/06/09
- [Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException: ..." errors, Mike Miller, 2017/06/12
- [Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException: ..." errors, Mike Miller, 2017/06/21
- [Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException: ..." errors, John W. Eaton, 2017/06/21
- [Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException: ..." errors, Mike Miller, 2017/06/21
- [Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException: ..." errors, Philip Nienhuis, 2017/06/21
- [Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException: ..." errors, Mike Miller, 2017/06/21
- [Octave-bug-tracker] [bug #51152] "[java] java.lang.NoSuchFieldException: ..." errors, Philip Nienhuis, 2017/06/21