[JW Lua] Crash of Finale with an empty FCTextExpressionDef

Jan Angermüller jan at angermueller.com
Thu Mar 30 20:47:22 CEST 2017


Jari,

I noticed that this simple code crashes Finale:
local textexprdef=finale.FCTextExpressionDef()
textexprdef:Load(1000)  --load non-existing text expression
textexprdef:CreateTextString()

Of course, it's the developer's fault to not check textexprdef for nil,
but a crash of Finale is not what I would expect to happen.

Best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20170330/2848c312/attachment.html>


More information about the JWLua mailing list