With updating to EC(OS X 10.11) I get problems now.
Even this simple handler makes a problem:
property NSMutableArray : class "NSMutableArray"
property vDataSource:{}
property vTableView: missing value
on awakeFromNib()
mainWindow's makeFirstResponder_(maxPunkteFeld)
set vDataSource to NSMutableArray's alloc()'s init()
set theData to {{untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"6", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"5-", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"5", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"5+", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"4-", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"4", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"4+", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"3-", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"3", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"3+", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"2-", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"2", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"2+", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"1-", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"1", spanne:""}, {untereGrenze:"", bis:"-", obereGrenze:"", dieNote:"1+", spanne:""}}
--log theData -- it logs well
vDataSource's addObjectsFromArray_(theData)
-- formatiereZahlen("0")
vTableView's reloadData()
end awakeFromNib
errormessage:
2015-10-02 19:35:45.126 Notenverteilung[486:45390] *** -[AppDelegate awakeFromNib]: unable to set argument -1 - the AppleScript value (null) could not be coerced to type q. (error -10000)
What’s on now there? Any idea?
Heiner