max/msp runtime error


    Mar 05 2006 | 9:48 pm
    Below is code I'm using for an mxj object.....
    import com.cycling74.max.*;
    public class PatcherMod extends MaxObject {
    public PatcherMod() {
    MaxPatcher a = this.getParentPatcher();
    a.newDefault(100,100,"cycle",null);
    }
    }
    and when I try to create it, I get a runtime error that says
    "pure virtual function call -r6025"
    What's going on??

    • Mar 05 2006 | 10:14 pm
      i believe newDefault might be broken and has been for a while for
      both javascript and java.
      Try newObject and see if that helps.
      topher