java.lang.NullPointerException

Pentaho BI Platform Tracking | J Plater | 8 years ago
  1. 0

    When using the "Get a file with SFTP" a null pointer exception is thrown if there are no files in the remote directory (not no matching files, no files at all). 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : Error getting files from SFTP : null 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : java.lang.NullPointerException 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : at org.pentaho.di.job.entries.sftp.JobEntrySFTP.execute(JobEntrySFTP.java:343) 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : at org.pentaho.di.job.Job.execute(Job.java:333) 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : at org.pentaho.di.job.Job.execute(Job.java:434) 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : at org.pentaho.di.job.Job.execute(Job.java:259) 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : at org.pentaho.di.job.Job.run(Job.java:209) The null pointer comes from a debug line that is reporting how many files were found on the ftp site. log.logDetailed(toString(), "Found "+filelist.length+" files in the remote directory"); Should probably add a null check. As a workaround, I am putting a file called DO_NOT_DELETE on the ftp so that there is always at least one file in the remote directory

    Pentaho BI Platform Tracking | 8 years ago | J Plater
    java.lang.NullPointerException
  2. 0

    When using the "Get a file with SFTP" a null pointer exception is thrown if there are no files in the remote directory (not no matching files, no files at all). 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : Error getting files from SFTP : null 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : java.lang.NullPointerException 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : at org.pentaho.di.job.entries.sftp.JobEntrySFTP.execute(JobEntrySFTP.java:343) 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : at org.pentaho.di.job.Job.execute(Job.java:333) 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : at org.pentaho.di.job.Job.execute(Job.java:434) 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : at org.pentaho.di.job.Job.execute(Job.java:259) 2008/10/20 10:51:41 - GetFileFromFTP - ERROR (version 3.0.4, build 53 from 2008/06/24 11:14:00) : at org.pentaho.di.job.Job.run(Job.java:209) The null pointer comes from a debug line that is reporting how many files were found on the ftp site. log.logDetailed(toString(), "Found "+filelist.length+" files in the remote directory"); Should probably add a null check. As a workaround, I am putting a file called DO_NOT_DELETE on the ftp so that there is always at least one file in the remote directory

    Pentaho BI Platform Tracking | 8 years ago | J Plater
    java.lang.NullPointerException
  3. 0

    Unable to open transformation: null - Running a Job from Java

    Stack Overflow | 4 years ago | Fabrizio
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointException on 'Export repository to XML file' entry. Debug logs: 2008/08/28 17:14:36 - 공유객체 - 공유객체 파일 [file:///C:/Documents and Settings/a/.kettle/shared.xml] 읽기 2008/08/28 17:14:39 - Job (kettle repository backup) - Loading 0 notes 2008/08/28 17:14:39 - Job (kettle repository backup) - Loading 3 job entries 2008/08/28 17:14:39 - Job (kettle repository backup) - Loading 2 job hops 2008/08/28 17:14:39 - Spoon - Starting job... 2008/08/28 17:14:39 - Thread[Job (kettle repository backup) (Job (kettle repository backup) (Thread-5)),5,main] - exec(0, 0, START.0) 2008/08/28 17:14:39 - Job (kettle repository backup) - 시작 엔트리 [Export repository to XML file] 2008/08/28 17:14:39 - Thread[Job (kettle repository backup) (Job (kettle repository backup) (Thread-5)),5,main] - exec(1, 0, Export repository to XML file.0) 2008/08/28 17:14:39 - Export repository to XML file - ERROR (version 3.1.0-RC1, build 771 from 2008/07/08 11:57:26) : 알 수 없는 오류 : java.lang.NullPointerException 2008/08/28 17:14:39 - Export repository to XML file - ERROR (version 3.1.0-RC1, build 771 from 2008/07/08 11:57:26) : Stack trace: 2008/08/28 17:14:39 - Export repository to XML file - ERROR (version 3.1.0-RC1, build 771 from 2008/07/08 11:57:26) : java.lang.NullPointerException 2008/08/28 17:14:39 - Export repository to XML file - ERROR (version 3.1.0-RC1, build 771 from 2008/07/08 11:57:26) : at org.pentaho.di.core.vfs.KettleVFS.getFileObject(KettleVFS.java:87) 2008/08/28 17:14:39 - Export repository to XML file - ERROR (version 3.1.0-RC1, build 771 from 2008/07/08 11:57:26) : at org.pentaho.di.job.entries.exportrepository.JobEntryExportRepository.execute(JobEntryExportRepository.java:503) 2008/08/28 17:14:39 - Export repository to XML file - ERROR (version 3.1.0-RC1, build 771 from 2008/07/08 11:57:26) : at org.pentaho.di.job.Job.execute(Job.java:410) 2008/08/28 17:14:39 - Export repository to XML file - ERROR (version 3.1.0-RC1, build 771 from 2008/07/08 11:57:26) : at org.pentaho.di.job.Job.execute(Job.java:511) 2008/08/28 17:14:39 - Export repository to XML file - ERROR (version 3.1.0-RC1, build 771 from 2008/07/08 11:57:26) : at org.pentaho.di.job.Job.execute(Job.java:296) 2008/08/28 17:14:39 - Export repository to XML file - ERROR (version 3.1.0-RC1, build 771 from 2008/07/08 11:57:26) : at org.pentaho.di.job.Job.run(Job.java:221) 2008/08/28 17:14:39 - Job (kettle repository backup) - Finished jobentry [Export repository to XML file] (result=[false]) 2008/08/28 17:14:39 - Spoon - Job has ended.

    Pentaho BI Platform Tracking | 8 years ago | Youngwoo Kim
    java.lang.NullPointerException
  6. 0

    2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : java.lang.NullPointerException 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : at org.pentaho.di.job.entries.copyfiles.JobEntryCopyFiles.ProcessFileFolder(JobEntryCopyFiles.java:539) 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : at org.pentaho.di.job.entries.copyfiles.JobEntryCopyFiles.execute(JobEntryCopyFiles.java:324) 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : at org.pentaho.di.job.Job.execute(Job.java:528) 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : at org.pentaho.di.job.Job.execute(Job.java:667) 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : at org.pentaho.di.job.Job.execute(Job.java:393) 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : at org.pentaho.di.job.Job.run(Job.java:313) 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : A serious error occurred during job execution: org.pentaho.di.core.exception.KettleException: 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : Unexpected error occurred while launching entry [Copy Files to HDFS.0] 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : at org.pentaho.di.job.Job.run (Job.java:313) 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : at org.pentaho.di.job.Job.execute (Job.java:393) 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : at org.pentaho.di.job.Job.execute (Job.java:667) 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : at org.pentaho.di.job.Job.execute (Job.java:528) 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : at org.pentaho.di.job.entries.copyfiles.JobEntryCopyFiles.execute (JobEntryCopyFiles.java:324) 2012/01/27 14:25:55 - Pentaho MapReduce - wordcount - ERROR (version 4.3.0, build 16293 from 2012-01-27 03.48.45 by tomcat) : at org.pentaho.di.job.entries.copyfiles.JobEntryCopyFiles.ProcessFileFolder (JobEntryCopyFiles.java:539)

    Pentaho BI Platform Tracking | 5 years ago | Jordan Ganoff
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.pentaho.di.job.entries.sftp.JobEntrySFTP.execute()
    2. org.pentaho.di
      Job.run
      1. org.pentaho.di.job.entries.sftp.JobEntrySFTP.execute(JobEntrySFTP.java:343)
      2. org.pentaho.di.job.Job.execute(Job.java:333)
      3. org.pentaho.di.job.Job.execute(Job.java:434)
      4. org.pentaho.di.job.Job.execute(Job.java:259)
      5. org.pentaho.di.job.Job.run(Job.java:209)
      5 frames