Menu

#2 java.lang.ArithmeticException at Sampler.java:371

open
nobody
None
5
2014-08-21
2013-02-17
Hari Dara
No

I am unable to record audio on a mac, and I noticed that there is a message about ArithmeticException without a stack trace, so I ran it from eclipse and found that the exception gets generated from here:

Thread [Thread-6] (Suspended (exception ArithmeticException))   
        Sampler.hiTechFill() line: 371  
        Sampler.run() line: 525

The line corresponding to this is:

    framesMultiplicity = missingFrames / readFrames + 1;

The values were:

missingFrames: 27957
readFrames: 0

I actually got a recording generated on one of the trials, but the quality was really bad with a lot of static. If needed, I can debug again and send additional information.

Discussion


Log in to post a comment.