Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-5592

Exception during statsd runs: "Value of line 1 of output from RRD is not a valid floating point number: '2,670374e+03'" Problem of locale?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.10.6
    • Fix Version/s: 1.12.6
    • Component/s: Reports / Statsd
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Environment:
      Debian 6.0 amd64
      LANG=fr_BE.UTF-8

      Description

      Hi guys,

      I've find that statsd generates an exception everytime it runs a job on my machine. I wonder if it's not a locale issue:

      2012-10-23 01:20:00,440 ERROR [Statsd_Worker-8] ErrorLogger: Job (DEFAULT.Top 20 ifInOctets across all nodes threw an exception.
      org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'runReport' on target class [class org.opennms.netmgt.statsd.Statsd] failed; nested exception is org.springframework.dao.DataAccessResourceFailureException: Value of line 1 of output from RRD is not a valid floating point number: '2,670374e+03']
      at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
      Caused by: org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'runReport' on target class [class org.opennms.netmgt.statsd.Statsd] failed; nested exception is org.springframework.dao.DataAccessResourceFailureException: Value of line 1 of output from RRD is not a valid floating point number: '2,670374e+03'
      at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:273)
      at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      ... 1 more
      Caused by: org.springframework.dao.DataAccessResourceFailureException: Value of line 1 of output from RRD is not a valid floating point number: '2,670374e+03'
      at org.opennms.netmgt.dao.support.DefaultRrdDao.getPrintValues(DefaultRrdDao.java:129)
      at org.opennms.netmgt.dao.support.DefaultRrdDao.getPrintValue(DefaultRrdDao.java:59)
      at org.opennms.netmgt.dao.support.RrdStatisticAttributeVisitor.visit(RrdStatisticAttributeVisitor.java:59)
      at org.opennms.netmgt.dao.support.AttributeMatchingResourceVisitor.visit(AttributeMatchingResourceVisitor.java:52)
      at org.opennms.netmgt.dao.support.ResourceTypeFilteringResourceVisitor.visit(ResourceTypeFilteringResourceVisitor.java:49)
      at org.opennms.netmgt.dao.support.ResourceTreeWalker.walk(ResourceTreeWalker.java:63)
      at org.opennms.netmgt.dao.support.ResourceTreeWalker.walk(ResourceTreeWalker.java:64)
      at org.opennms.netmgt.dao.support.ResourceTreeWalker.walk(ResourceTreeWalker.java:53)
      at org.opennms.netmgt.statsd.UnfilteredReportInstance.walk(UnfilteredReportInstance.java:93)
      at org.opennms.netmgt.statsd.Statsd$1.doInTransactionWithoutResult(Statsd.java:210)
      at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
      at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
      at org.opennms.netmgt.statsd.Statsd.runReport(Statsd.java:207)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)
      at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:264)
      ... 3 more

        Attachments

          Activity

            People

            Assignee:
            agalue Alejandro Galue
            Reporter:
            stcyr Cyrille Bollu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: