org.apache.commons.vfs.FileSystemException: Could not read file "file:///home/account/journals.csv". Could not read file "file:///home/account/journals.csv".

Pentaho BI Platform Tracking | Peter Newman | 8 years ago
  1. 0

    The work around is to open the Input and get Get Fields - which seems to resolve the problem. (using svn trunk revision 10155) Details of error: INFO 11-02 10:12:32,751 - getJournals.0 - Starting to run... ERROR 11-02 10:12:32,752 - getJournals.0 - Unexpected error : ERROR 11-02 10:12:32,752 - getJournals.0 - org.pentaho.di.core.exception.KettleException: org.apache.commons.vfs.FileSystemException: Could not read file "file:///home/account/journals.csv". Could not read file "file:///home/account/journals.csv". at org.pentaho.di.trans.steps.csvinput.CsvInput.openNextFile(CsvInput.java:330) at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow(CsvInput.java:111) at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2681) at org.pentaho.di.trans.steps.csvinput.CsvInput.run(CsvInput.java:695) Caused by: org.apache.commons.vfs.FileSystemException: Could not read file "file:///home/account/journals.csv". at org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1220) at org.pentaho.di.trans.steps.csvinput.CsvInput.openNextFile(CsvInput.java:277) ... 3 more Caused by: java.lang.NullPointerException at java.io.FileInputStream.<init>(FileInputStream.java:103) at org.apache.commons.vfs.provider.local.LocalFile.doGetInputStream(LocalFile.java:207) at org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1204) ... 4 more

    Pentaho BI Platform Tracking | 8 years ago | Peter Newman
    org.apache.commons.vfs.FileSystemException: Could not read file "file:///home/account/journals.csv". Could not read file "file:///home/account/journals.csv".
  2. 0

    The work around is to open the Input and get Get Fields - which seems to resolve the problem. (using svn trunk revision 10155) Details of error: INFO 11-02 10:12:32,751 - getJournals.0 - Starting to run... ERROR 11-02 10:12:32,752 - getJournals.0 - Unexpected error : ERROR 11-02 10:12:32,752 - getJournals.0 - org.pentaho.di.core.exception.KettleException: org.apache.commons.vfs.FileSystemException: Could not read file "file:///home/account/journals.csv". Could not read file "file:///home/account/journals.csv". at org.pentaho.di.trans.steps.csvinput.CsvInput.openNextFile(CsvInput.java:330) at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow(CsvInput.java:111) at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2681) at org.pentaho.di.trans.steps.csvinput.CsvInput.run(CsvInput.java:695) Caused by: org.apache.commons.vfs.FileSystemException: Could not read file "file:///home/account/journals.csv". at org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1220) at org.pentaho.di.trans.steps.csvinput.CsvInput.openNextFile(CsvInput.java:277) ... 3 more Caused by: java.lang.NullPointerException at java.io.FileInputStream.<init>(FileInputStream.java:103) at org.apache.commons.vfs.provider.local.LocalFile.doGetInputStream(LocalFile.java:207) at org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1204) ... 4 more

    Pentaho BI Platform Tracking | 8 years ago | Peter Newman
    org.apache.commons.vfs.FileSystemException: Could not read file "file:///home/account/journals.csv". Could not read file "file:///home/account/journals.csv".
  3. 0

    Sonar - an open source entreprise quality control tool user list

    gmane.org | 9 months ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0-beta-2:sonar (default-cli) on project example: Can not execute Sonar
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    struts2 异常处理总结 - 我思故我在 - 博客频道 - CSDN.NET

    csdn.net | 11 months ago
    java.lang.NullPointerException
  6. 0

    My Sonar Analyzes via Hudson Sonar Plugin crash with following message since i installed sonar pdf plugin. INFO] [pdfreport:generate {execution: default-cli}] [INFO] Team workbook report type selected [INFO] Retrieving project info for de.gruppe:planner [ERROR] Can't access to Sonar or project doesn't exist on Sonar instance. HTTP KO to http://localhost/sonar/api/resources?resource=de.gruppe:planner&depth=0&format=xml java.io.IOException: Can't access to Sonar or project doesn't exist on Sonar instance. at org.sonar.report.pdf.util.SonarAccess.getUrlAsDocument(SonarAccess.java:110) at org.sonar.report.pdf.entity.Project.initializeProject(Project.java:124) at org.sonar.report.pdf.PDFReporter.getProject(PDFReporter.java:114) at org.sonar.report.pdf.PDFReporter.getReport(PDFReporter.java:71) at org.sonar.report.pdf.mojo.SonarPDFMojo.execute(SonarPDFMojo.java:162) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.sonar.maven2.Maven2PluginExecutor.execute(Maven2PluginExecutor.java:65) at org.sonar.maven2.Maven2PluginExecutor.execute(Maven2PluginExecutor.java:47) at org.sonar.batch.PostJobsExecutor.executeMavenPlugin(PostJobsExecutor.java:77) at org.sonar.batch.PostJobsExecutor.execute(PostJobsExecutor.java:56) at org.sonar.batch.ProjectBatch.execute(ProjectBatch.java:59) at org.sonar.batch.Batch.analyzeProject(Batch.java:120) at org.sonar.batch.Batch.analyzeProjects(Batch.java:83) at org.sonar.batch.Batch.execute(Batch.java:58) at org.sonar.maven2.BatchMojo.executeBatch(BatchMojo.java:142) at org.sonar.maven2.BatchMojo.execute(BatchMojo.java:133) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:82) at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65) at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:117) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Can not execute Sonar [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Can not execute Sonar at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute Sonar at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:87) at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65) at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:117) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: java.lang.NullPointerException at java.io.FileInputStream.<init>(FileInputStream.java:103) at org.sonar.report.pdf.batch.PDFPostJob.loadFile(PDFPostJob.java:107) at org.sonar.report.pdf.batch.PDFPostJob.executeOn(PDFPostJob.java:79) at org.sonar.batch.PostJobsExecutor.execute(PostJobsExecutor.java:57) at org.sonar.batch.ProjectBatch.execute(ProjectBatch.java:59) at org.sonar.batch.Batch.analyzeProject(Batch.java:120) at org.sonar.batch.Batch.analyzeProjects(Batch.java:83) at org.sonar.batch.Batch.execute(Batch.java:58) at org.sonar.maven2.BatchMojo.executeBatch(BatchMojo.java:142) at org.sonar.maven2.BatchMojo.execute(BatchMojo.java:133) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:82) ... 21 more [INFO] ------------------------------------------------------------------------

    SonarSource JIRA | 6 years ago | cforce
    org.apache.maven.lifecycle.LifecycleExecutionException: Can not execute Sonar

  1. bpbhat77 4 times, last 3 months ago
3 unregistered visitors
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 java.io.FileInputStream.<init>()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.<init>(FileInputStream.java:103)
    1 frame
  3. Commons VFS
    AbstractFileObject.getInputStream
    1. org.apache.commons.vfs.provider.local.LocalFile.doGetInputStream(LocalFile.java:207)
    2. org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1204)
    2 frames
  4. org.pentaho.di
    CsvInput.run
    1. org.pentaho.di.trans.steps.csvinput.CsvInput.openNextFile(CsvInput.java:277)
    2. org.pentaho.di.trans.steps.csvinput.CsvInput.processRow(CsvInput.java:111)
    3. org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2681)
    4. org.pentaho.di.trans.steps.csvinput.CsvInput.run(CsvInput.java:695)
    4 frames