Results 1 to 2 of 2

Thread: Exception Error

  1. #1
    unexpert is offline Member
    Join Date
    Jan 2011
    Posts
    11
    Rep Power
    0

    Default Exception Error

    I thought I had my errors all sort out but when I compiled my codes, this is what I've got.

    Java Code:
    java.lang.ArithmeticException: / by zero
    	at test.run(test.java:151)
    	at ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:249)
    	at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:102)
    	at ij.IJ.runUserPlugIn(IJ.java:186)
    	at ij.ImageJ.runUserPlugIn(ImageJ.java:257)
    	at ij.plugin.PlugInExecuter.run(Compiler.java:264)
    	at java.lang.Thread.run(Thread.java:619)
    Can I know what does this means?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,044
    Blog Entries
    7
    Rep Power
    23

    Default

    Quote Originally Posted by unexpert View Post
    I thought I had my errors all sort out but when I compiled my codes, this is what I've got.

    Java Code:
    java.lang.ArithmeticException: / by zero
    	at test.run(test.java:151)
    	at ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:249)
    	at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:102)
    	at ij.IJ.runUserPlugIn(IJ.java:186)
    	at ij.ImageJ.runUserPlugIn(ImageJ.java:257)
    	at ij.plugin.PlugInExecuter.run(Compiler.java:264)
    	at java.lang.Thread.run(Thread.java:619)
    Can I know what does this means?
    Read the exception message: it's trying to tell you that your code tried to divide something by zero. It happened at line 151 of your test class.

    kind regards,

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

Similar Threads

  1. Exception Error
    By Sotsiak in forum New To Java
    Replies: 1
    Last Post: 10-22-2010, 10:14 PM
  2. exception error
    By kira137 in forum New To Java
    Replies: 5
    Last Post: 10-12-2009, 07:46 AM
  3. Exception error
    By Rose88 in forum New To Java
    Replies: 8
    Last Post: 07-06-2009, 10:22 PM
  4. Exception error
    By jaiminparikh in forum New To Java
    Replies: 0
    Last Post: 03-20-2009, 10:06 PM
  5. JSF error+exception
    By Peter in forum SWT / JFace
    Replies: 1
    Last Post: 07-04-2007, 06:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •