Forums > Java

max/msp runtime error

March 5, 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??


March 5, 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


Viewing 2 posts - 1 through 2 (of 2 total)