[java-dev] Question with Java externals
Siska Ádám
sadam at startvox.hu
Sat Jun 16 03:02:47 MDT 2007
- Previous message: [java-dev] Question with Java externals
- Next message: [java-dev] Embedding exisiting max objects in mxj objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Okay, so I think I found out what my problem probably was. When I removed the 'outlet' command of my code, everything worked fine. So, I think there is some buffer overrun error at outputting the file, which causes the crash. I'm sending a single String to the outlet of the object which has a size of at about 16 KB (the full parsed XML file). I also think this because if I split the string at linebreaks, and I output it line-by-line, also everything works. Can it be imagined that the Max API has a buffer overrun bug at MaxObject.outlet(int outletIdx, java.lang.String message, Atom <cid:part1.04040302.04030506 at startvox.hu>[] args)? Thank you, Adam ________________ Siska Ádám +36 (70) 207-63-85 http://apocalypse.rulez.org/~sadam Siska Ádám wrote: > Hello Everyone, > > > I'm new on this list, so maybe there was already something similar to > this problem. If that would be the case, sorry for the duplum... > > I began developing a Java extern at about two weeks ago, and > everything worked fine for a while, but since yesterday I'm getting > Max/MSP crashed when sending a message to my extern. The extern should > open a file indicated in the parameter of the message, parse it to a > DOM tree, do some operations and output the modified tree in an other > xml file. The problem is that although I have everything in try - > catch blocks, Max simply quits and I don't get the error report, so I > don't know why it crashes. The funny thing is that I'm developing the > object with Eclipse, and there I get no errors and everything runs > fine. And I tried it with several files, and it only crashes for one > file. But since in Eclipse the object elaborates well that file also, > I don't really know what to do... > > Can anyone help me with this? > > I attach the crash report I'm getting. > > Thank you, > Adam > > > ________________ > Siska Ádám > +36 (70) 207-63-85 > http://apocalypse.rulez.org/~sadam > ------------------------------------------------------------------------ > > _______________________________________________ > java-dev mailing list > java-dev at cycling74.com > http://www.cycling74.com/mailman/listinfo/java-dev >
- Previous message: [java-dev] Question with Java externals
- Next message: [java-dev] Embedding exisiting max objects in mxj objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
