You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2014/12/23 10:24:13 UTC

[jira] [Commented] (QPID-6283) FileSystemSpaceChecker can generate java.lang.ArithmeticException / by zero

    [ https://issues.apache.org/jira/browse/QPID-6283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14256773#comment-14256773 ] 

Keith Wall commented on QPID-6283:
----------------------------------

Problem is seen to occur (on Mac OS X) when the files belonging to a vhost are removed whilst the virtual host is still active.   This wouldn't normally happen outside a development environment.  (I have in my case I run a mvn clean whilst the Broker was still up).

> FileSystemSpaceChecker can generate java.lang.ArithmeticException / by zero
> ---------------------------------------------------------------------------
>
>                 Key: QPID-6283
>                 URL: https://issues.apache.org/jira/browse/QPID-6283
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.31
>            Reporter: Keith Wall
>            Priority: Minor
>
> Whilst testing trunk I ran into the following stack trace being periodically written to the log.
> 2014-12-22 17:58:02,093 WARN  [default2:FileSystemSpaceChecker] (virtualhost.AbstractVirtualHost$FileSystemSpaceChecker) -  throw exception: java.lang.ArithmeticException: / by zero
> java.lang.ArithmeticException: / by zero
> 	at org.apache.qpid.server.virtualhost.AbstractVirtualHost$FileSystemSpaceChecker.execute(AbstractVirtualHost.java:1578)
> 	at org.apache.qpid.server.virtualhost.HouseKeepingTask$1.run(HouseKeepingTask.java:59)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:356)
> 	at org.apache.qpid.server.virtualhost.HouseKeepingTask.run(HouseKeepingTask.java:52)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org