java.lang.IllegalArgumentException: Failed to create FileSystem for input '/Users/awilkinson/dev/spring-migration-analyzer/packaging/target/spring-migration-analyzer-1.0.0.BUILD-SNAPSHOT/bin/foo.ear'

Spring JIRA | Andy Wilkinson | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    If an attempt is made to analyse an input path that doesn't exist, rather than producing a helpful error message describing the problem, an unhelpful stack trace is produced instead: {noformat} ./migration-analysis.sh -i foo.ear -o report -t html [09:43:28.617] INFO - Expanding archive 'foo.ear' Exception in thread "main" java.lang.IllegalArgumentException: Failed to create FileSystem for input '/Users/awilkinson/dev/spring-migration-analyzer/packaging/target/spring-migration-analyzer-1.0.0.BUILD-SNAPSHOT/bin/foo.ear' at org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor.createFileSystem(org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor:87) at org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor.execute(org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor:71) at org.springframework.migrationanalyzer.commandline.AbstractMigrationAnalysis.run(org.springframework.migrationanalyzer.commandline.AbstractMigrationAnalysis:37) at org.springframework.migrationanalyzer.commandline.MigrationAnalysis.main(org.springframework.migrationanalyzer.commandline.MigrationAnalysis:35) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:127) at java.util.zip.ZipFile.<init>(ZipFile.java:144) at org.springframework.migrationanalyzer.analyze.fs.support.DirectoryFileSystemFactory.createFileSystem(org.springframework.migrationanalyzer.analyze.fs.support.DirectoryFileSystemFactory:54) at org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor.createFileSystem(org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor:85) ... 3 more {noformat}

    Spring JIRA | 5 years ago | Andy Wilkinson
    java.lang.IllegalArgumentException: Failed to create FileSystem for input '/Users/awilkinson/dev/spring-migration-analyzer/packaging/target/spring-migration-analyzer-1.0.0.BUILD-SNAPSHOT/bin/foo.ear'
  2. 0

    If an attempt is made to analyse an input path that doesn't exist, rather than producing a helpful error message describing the problem, an unhelpful stack trace is produced instead: {noformat} ./migration-analysis.sh -i foo.ear -o report -t html [09:43:28.617] INFO - Expanding archive 'foo.ear' Exception in thread "main" java.lang.IllegalArgumentException: Failed to create FileSystem for input '/Users/awilkinson/dev/spring-migration-analyzer/packaging/target/spring-migration-analyzer-1.0.0.BUILD-SNAPSHOT/bin/foo.ear' at org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor.createFileSystem(org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor:87) at org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor.execute(org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor:71) at org.springframework.migrationanalyzer.commandline.AbstractMigrationAnalysis.run(org.springframework.migrationanalyzer.commandline.AbstractMigrationAnalysis:37) at org.springframework.migrationanalyzer.commandline.MigrationAnalysis.main(org.springframework.migrationanalyzer.commandline.MigrationAnalysis:35) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:127) at java.util.zip.ZipFile.<init>(ZipFile.java:144) at org.springframework.migrationanalyzer.analyze.fs.support.DirectoryFileSystemFactory.createFileSystem(org.springframework.migrationanalyzer.analyze.fs.support.DirectoryFileSystemFactory:54) at org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor.createFileSystem(org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor:85) ... 3 more {noformat}

    Spring JIRA | 5 years ago | Andy Wilkinson
    java.lang.IllegalArgumentException: Failed to create FileSystem for input '/Users/awilkinson/dev/spring-migration-analyzer/packaging/target/spring-migration-analyzer-1.0.0.BUILD-SNAPSHOT/bin/foo.ear'
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Exception in thread "main" brut.androlib.AndrolibException

    GitHub | 2 years ago | GoogleCodeExporter
    brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
  5. 0

    PMD / Issues / #983 [pmd] java.util.zip.ZipException: error in opening zip file

    sourceforge.net | 1 year ago
    java.util.zip.ZipException: error in opening zip file

  1. davidvanlaatum 64 times, last 6 months ago
  2. Mihail Melnic 1 times, last 11 months ago
  3. Roberto Tomás 441 times, last 1 year ago
  4. martyn 1 times, last 1 year ago
  5. aldrinleal 3 times, last 1 year ago
1 more registered users
25 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.util.zip.ZipException

    error in opening zip file

    at java.util.zip.ZipFile.open()
  2. Java RT
    ZipFile.<init>
    1. java.util.zip.ZipFile.open(Native Method)
    2. java.util.zip.ZipFile.<init>(ZipFile.java:127)
    3. java.util.zip.ZipFile.<init>(ZipFile.java:144)
    3 frames
  3. org.springframework.migrationanalyzer
    MigrationAnalysis.main
    1. org.springframework.migrationanalyzer.analyze.fs.support.DirectoryFileSystemFactory.createFileSystem(org.springframework.migrationanalyzer.analyze.fs.support.DirectoryFileSystemFactory:54)
    2. org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor.createFileSystem(org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor:85)
    3. org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor.execute(org.springframework.migrationanalyzer.commandline.CommandLineMigrationAnalysisExecutor:71)
    4. org.springframework.migrationanalyzer.commandline.AbstractMigrationAnalysis.run(org.springframework.migrationanalyzer.commandline.AbstractMigrationAnalysis:37)
    5. org.springframework.migrationanalyzer.commandline.MigrationAnalysis.main(org.springframework.migrationanalyzer.commandline.MigrationAnalysis:35)
    5 frames