« SVG and Darkstar FX | Main | Project Amanda »

java.lang.AbstractMethodError and Javascript overloading problems

Anyone who gets the stupid java.lang.AbstractMethodError exception when running a Darkstar FX script (the UI falls apart) must change D2DAdapter to D2DRenderer. Partially implemented abstract classes no longer work under Rhino 1.6.

Also, if you run into Javascript method overloading problems, like float versus int etc, then the solution is explicit type casting.

function fixColor(r, g, b) {
return new Color["(int,int,int)"](r,g,b)
}



TrackBack

TrackBack URL for this entry:
http://www.installer.teppefall.com/movabletype/mt-tb.cgi/160

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

This website is all about alpha and beta software

Download non-beta software here