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

NPE during control.sh --persistence info

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.13
    • None
    • None
    • Fixed NPE in PersistenceTask
    • Release Notes Required

    Description

      During execution of control.sh --persistence info on one of nodes that went to maintenance mode we received following NPE (full stack trace see in attachments):

       

      Caused by: class org.apache.ignite.compute.ComputeUserUndeclaredException: Failed to execute job due to unexpected runtime exception [jobId=181da118e71-5411d50e-787a-4438-9ccd-deb93e30c28c, ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=org.apache.ignite.internal.visor.persistence.PersistenceTask, dep=GridDeployment [ts=1642843531175, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@3d4eac69, clsLdrId=358ca118e71-5411d50e-787a-4438-9ccd-deb93e30c28c, userVer=0, loc=true, sampleClsName=org.apache.ignite.internal.processors.cluster.ClusterProcessor, pendingUndeploy=false, undeployed=false, usage=2], taskClsName=org.apache.ignite.internal.visor.persistence.PersistenceTask, sesId=081da118e71-5411d50e-787a-4438-9ccd-deb93e30c28c, startTime=1642844114803, endTime=9223372036854775807, taskNodeId=5411d50e-787a-4438-9ccd-deb93e30c28c, clsLdr=sun.misc.Launcher$AppClassLoader@3d4eac69, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, internal=true, topPred=null, subjId=a4c9890d-b331-434c-b43d-208a57e4231d, mapFut=IgniteFuture [orig=GridFutureAdapter [ignoreInterrupts=false, state=INIT, res=null, hash=1141910693]], execName=null], jobId=181da118e71-5411d50e-787a-4438-9ccd-deb93e30c28c], err=null]
      	at org.apache.ignite.internal.processors.job.GridJobWorker.handleThrowable(GridJobWorker.java:713)
      	at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:643)
      	at org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:511)
      	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:119)
      	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1300)
      	at org.apache.ignite.internal.processors.task.GridTaskWorker.sendRequest(GridTaskWorker.java:1427)
      	at org.apache.ignite.internal.processors.task.GridTaskWorker.processMappedJobs(GridTaskWorker.java:663)
      	at org.apache.ignite.internal.processors.task.GridTaskWorker.body(GridTaskWorker.java:535)
      	... 14 more
      Caused by: java.lang.NullPointerException
      	at org.apache.ignite.internal.visor.persistence.PersistenceTask$PersistenceJob.corruptedCacheDirectories(PersistenceTask.java:363)
      	at org.apache.ignite.internal.visor.persistence.PersistenceTask$PersistenceJob.info(PersistenceTask.java:334)
      	at org.apache.ignite.internal.visor.persistence.PersistenceTask$PersistenceJob.run(PersistenceTask.java:97)
      	at org.apache.ignite.internal.visor.persistence.PersistenceTask$PersistenceJob.run(PersistenceTask.java:70)
      	at org.apache.ignite.internal.visor.VisorJob.execute(VisorJob.java:68)
      	at org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:590)
      	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:7165)
      	at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:584)
      	... 20 more

      Attachments

        Issue Links

          Activity

            People

              sdanilov Semyon Danilov
              sdanilov Semyon Danilov
              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 - 0.5h
                  0.5h