This is fixed in ec1fe233e68012e6941202ab335a39997f11ac23

On Fri, Nov 13, 2015 at 6:40 PM, Rajkumar Rajaratnam <rajkum...@wso2.com>
wrote:

> Hi Devs,
>
> The following error happens when enabling DEBUG logs for common package.
>
> [2015-11-13 18:32:02,488] ERROR
> {org.apache.stratos.mock.iaas.statistics.publisher.MockHealthStatisticsNotifier}
> -  Could not publish health statistic: requests in flight
> java.util.IllegalFormatConversionException: d != java.lang.String
>     at
> java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4045)
>     at
> java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2748)
>     at java.util.Formatter$FormatSpecifier.print(Formatter.java:2702)
>     at java.util.Formatter.format(Formatter.java:2488)
>     at java.util.Formatter.format(Formatter.java:2423)
>     at java.lang.String.format(String.java:2792)
>     at
> org.apache.stratos.common.statistics.publisher.wso2.cep.WSO2CEPInFlightRequestPublisher.publish(WSO2CEPInFlightRequestPublisher.java:85)
>     at
> org.apache.stratos.mock.iaas.statistics.publisher.MockHealthStatisticsNotifier.run(MockHealthStatisticsNotifier.java:118)
>     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)
>
> Reason for this error is obvious, have a look at [1]. Will fix it.
>
> [1]
> https://github.com/apache/stratos/blob/stratos-4.1.x/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/statistics/publisher/wso2/cep/WSO2CEPInFlightRequestPublisher.java#L84-L87
>
> Thanks,
> Raj.
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Reply via email to