Re: Strange Audio Problem



>'infinite loop'? I think not.
>Perhaps it is throwing an exception the code is ignoring.

Well, I don't know what else it could be. I catch both the
UnsupportedAudioFileException, the IOException and also a general
Exception and stacktraces them all just to be sure that it isn't the
"ignoring exception"-problem. And when the server gets to executing the
getAudioFileFormat() line it just stops responding and the cpu-usage
increases to 100%. Could it be something else than an infinite loop?

And the server and the test-program both runs on the same machine under
the same java version so I think it would be weird if the program
understands a file and not the server?

.



Relevant Pages

  • Re: Overriden method doesnt throw Exception, super may.
    ... >> haven't been ignoring you, I've actually been trying to understand the ... idea of ignoring the exception, and then try to blast me for it? ... is, as has been pointed out, the exception is NEVER thrown because the ... Converting to a runtime exception is just as bad an idea here as ignoring ...
    (comp.lang.java.programmer)
  • Re: Only writing 1 byte to a file stream on one pc in office
    ... The OP has a finally block, not catch, so he isn't ignoring anything. ... His application-level exception handler will log any exception... ... checking his file cache I found that most of the files were only 1 byte ... FileStream fs = new FileStream(ImageLocation, FileMode.Create, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: FileSystemWatcher and Getting Access to a file
    ... the file until the exception goes away. ... and ignoring a particular exception. ... "Lebrun Thomas" wrote in message ... >> elegant solution to this problem rather than just "trying to continually ...
    (microsoft.public.dotnet.framework)
  • Re: A Disassembly Problem for Rene to Consider
    ... > Even the CPU triggers an exception for it. ... In particular, in your "infinite loop ... that you're claiming. ... disassembler, why don't you simply write the *tiny* part of the ...
    (alt.lang.asm)
  • Re: Highway code section 114 (dazzle from vehicle lighting)
    ... handbrake MUST be applied EVERY time a car is staionary?..no matter ... exception to the rule then you will feel justified in ignoring it & ...
    (uk.rec.driving)

Loading