Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12880

IllegalArgumentException on activation of LogExporterSpi

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8.1
    • Component/s: None
    • Labels:
      None
    • Ignite Flags:
      Docs Required, Release Notes Required

      Description

      I tried to enable `LogExporterSpi` and getting an error below. Running on jdk1.8.0_77.jdk and macOS Catalina. See a source file attached.

      Apr 08, 2020 1:07:00 PM org.apache.ignite.logger.java.JavaLogger error
      SEVERE: Got exception while starting (will rollback startup routine).
      java.lang.IllegalArgumentException
      	at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleWithFixedDelay(ScheduledThreadPoolExecutor.java:589)
      	at org.apache.ignite.internal.processors.metric.PushMetricsExporterAdapter.spiStart(PushMetricsExporterAdapter.java:56)
      	at org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:297)
      	at org.apache.ignite.internal.processors.metric.GridMetricManager.start(GridMetricManager.java:277)
      	at org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1960)
      	at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1171)
      	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2038)
      	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1703)
      	at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1117)
      	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:637)
      	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:563)
      	at org.apache.ignite.Ignition.start(Ignition.java:321)
      	at ServerNodeStartup.main(ServerNodeStartup.java:43)
      
      Apr 08, 2020 1:07:00 PM org.apache.ignite.logger.java.JavaLogger error
      SEVERE: Failed to stop component (ignoring): GridManagerAdapter [enabled=true, name=o.a.i.i.processors.metric.GridMetricManager]
      java.lang.NullPointerException
      	at org.apache.ignite.internal.processors.metric.PushMetricsExporterAdapter.spiStop(PushMetricsExporterAdapter.java:71)
      	at org.apache.ignite.internal.managers.GridManagerAdapter.stopSpi(GridManagerAdapter.java:330)
      	at org.apache.ignite.internal.processors.metric.GridMetricManager.stop(GridMetricManager.java:314)
      	at org.apache.ignite.internal.IgniteKernal.stop0(IgniteKernal.java:2627)
      	at org.apache.ignite.internal.IgniteKernal.stop(IgniteKernal.java:2499)
      	at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1395)
      	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2038)
      	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1703)
      	at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1117)
      	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:637)
      	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:563)
      	at org.apache.ignite.Ignition.start(Ignition.java:321)
      	at ServerNodeStartup.main(ServerNodeStartup.java:43)
      
      [13:07:00] Ignite node stopped wih ERRORS [uptime=00:00:01.303]
      Exception in thread "main" class org.apache.ignite.IgniteException: null
      	at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1067)
      	at org.apache.ignite.Ignition.start(Ignition.java:324)
      	at ServerNodeStartup.main(ServerNodeStartup.java:43)
      Caused by: class org.apache.ignite.IgniteCheckedException: null
      	at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1402)
      	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2038)
      	at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1703)
      	at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1117)
      	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:637)
      	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:563)
      	at org.apache.ignite.Ignition.start(Ignition.java:321)
      	... 1 more
      Caused by: java.lang.IllegalArgumentException
      	at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleWithFixedDelay(ScheduledThreadPoolExecutor.java:589)
      	at org.apache.ignite.internal.processors.metric.PushMetricsExporterAdapter.spiStart(PushMetricsExporterAdapter.java:56)
      	at org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:297)
      	at org.apache.ignite.internal.processors.metric.GridMetricManager.start(GridMetricManager.java:277)
      	at org.apache.ignite.internal.IgniteKernal.startManager(IgniteKernal.java:1960)
      	at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1171)
      	... 7 more
      
      Process finished with exit code 1
      
      

        Attachments

          Activity

            People

            • Assignee:
              PetrovMikhail Mikhail Petrov
              Reporter:
              dmagda Denis A. Magda
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m