XML Feeds

.

[java-dev] Question with Java externals

topher lafata topher at topher.com
Fri Jun 15 19:37:22 MDT 2007


its hard to tell what is going on.

as a workaround.

try doing it in a different thread.


public void doit(final String filename)
{
	Thread t = new Thread()
	{
		do_xml(filename);
	};
	t.start();

}

private void do_xml()
{
   //copy and manipulate files
}

On Jun 15, 2007, at 18:07 PM, 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
> <Crash Report.zip>
> _______________________________________________
> java-dev mailing list
> java-dev at cycling74.com
> http://www.cycling74.com/mailman/listinfo/java-dev




More information about the java-dev mailing list