Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-17545

Intermittent failure of job with Java NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Unknown
    • Resolution: Fixed
    • Affects Version/s: 8.0.0.2 GA, 8.0.0.4 GA, 8.0.0.6 GA
    • Fix Version/s: 8.1.0 GA
    • Component/s: Job
    • Labels:
      None
    • Environment:
      Pentaho Version : 8.0.0.2/4/6
      Operating System : Server;RHEL7.5, Workstation;Windows 10 (x64) 1803
      Installation Method : Archive
    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Steps to Reproduce:
      Hide

      1. Open the attached Job containing sub jobs and transformations.
      2. Execute the jobs with kitchen.bat/sh script
      3. After few runs, error message will pop out

      Show
      1. Open the attached Job containing sub jobs and transformations. 2. Execute the jobs with kitchen.bat/sh script 3. After few runs, error message will pop out

      Description

      The job containing subtransformation is failing intermittenly with NPE after applying SP 8.0.0.2/4/6 consequtively. It is more frequent when the memory is reduced to 512MB in spoon. All the runs are executed using kitchen script.

      ~2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.core.xml.XMLHandlerCacheEntry.equals (XMLHandlerCacheEntry.java:82)
      2018/08/03 18:08:33 - Job2_1 - 
      2018/08/03 18:08:33 - Job2_1 - 
      2018/08/03 18:08:33 - Job2_1 - 	at org.pentaho.di.job.JobMeta.<init>(JobMeta.java:738)
      2018/08/03 18:08:33 - Job2_1 - 	at org.pentaho.di.job.entries.job.JobEntryJob.getJobMeta(JobEntryJob.java:1356)
      2018/08/03 18:08:33 - Job2_1 - 	... 7 more
      2018/08/03 18:08:33 - Job2_1 - Caused by: org.pentaho.di.core.exception.KettleXMLException: 
      2018/08/03 18:08:33 - Job2_1 - XMLノードからジョブ情報がロードできません。
      2018/08/03 18:08:33 - Job2_1 -  at java.lang.Thread.run (Thread.java:745)
      2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.job.entries.job.JobEntryJobRunner.run (JobEntryJobRunner.java:69)
      2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.job.Job.execute (Job.java:610)
      2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.job.Job.execute (Job.java:873)
      2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.job.Job.execute (Job.java:732)
      2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.job.entries.job.JobEntryJob.execute (JobEntryJob.java:654)
      2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.job.entries.job.JobEntryJob.getJobMeta (JobEntryJob.java:1319)
      2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.job.entries.job.JobEntryJob.getJobMeta (JobEntryJob.java:1356)
      2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.job.JobMeta.<init> (JobMeta.java:731)
      2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.job.JobMeta.loadXML (JobMeta.java:1084)
      2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.core.xml.XMLHandler.getSubNodeByNr (XMLHandler.java:416)
      2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.core.xml.XMLHandler.getSubNodeByNr (XMLHandler.java:452)
      2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.core.xml.XMLHandlerCache.getLastChildNr (XMLHandlerCache.java:85)
      2018/08/03 18:08:33 - Job2_1 -  at java.util.Collections$SynchronizedMap.get (Collections.java:2584)
      2018/08/03 18:08:33 - Job2_1 -  at java.util.WeakHashMap.get (WeakHashMap.java:401)
      2018/08/03 18:08:33 - Job2_1 -  at java.util.WeakHashMap.eq (WeakHashMap.java:287)
      2018/08/03 18:08:33 - Job2_1 -  at org.pentaho.di.core.xml.XMLHandlerCacheEntry.equals (XMLHandlerCacheEntry.java:82)
      2018/08/03 18:08:33 - Job2_1 - 
      2018/08/03 18:08:33 - Job2_1 - 	at org.pentaho.di.job.JobMeta.loadXML(JobMeta.java:1148)
      2018/08/03 18:08:33 - Job2_1 - 	at org.pentaho.di.job.JobMeta.<init>(JobMeta.java:731)
      2018/08/03 18:08:33 - Job2_1 - 	... 8 more
      2018/08/03 18:08:33 - Job2_1 - Caused by: java.lang.NullPointerException
      2018/08/03 18:08:33 - Job2_1 - 	at org.pentaho.di.core.xml.XMLHandlerCacheEntry.equals(XMLHandlerCacheEntry.java:82)
      2018/08/03 18:08:33 - Job2_1 - 	at java.util.WeakHashMap.eq(WeakHashMap.java:287)
      2018/08/03 18:08:33 - Job2_1 - 	at java.util.WeakHashMap.get(WeakHashMap.java:401)
      2018/08/03 18:08:33 - Job2_1 - 	at java.util.Collections$SynchronizedMap.get(Collections.java:2584)
      2018/08/03 18:08:33 - Job2_1 - 	at org.pentaho.di.core.xml.XMLHandlerCache.getLastChildNr(XMLHandlerCache.java:85)
      2018/08/03 18:08:33 - Job2_1 - 	at org.pentaho.di.core.xml.XMLHandler.getSubNodeByNr(XMLHandler.java:452)
      2018/08/03 18:08:33 - Job2_1 - 	at org.pentaho.di.core.xml.XMLHandler.getSubNodeByNr(XMLHandler.java:416)
      2018/08/03 18:08:33 - Job2_1 - 	at org.pentaho.di.job.JobMeta.loadXML(JobMeta.java:1084)
      2018/08/03 18:08:33 - Job2_1 - 	... 9 more
      2018/08/03 18:08:33 - Job1_1 - ジョブ登録が終了しました [Job2_1] (result=[false])~
      

      Please find the attached job and logs to reproduce the issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pkilaparty Prudvi Kilaparty (Inactive)
              Reporter:
              pkilaparty Prudvi Kilaparty (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: