java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Andy Wilkinson,
  • 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}
    via by Andy Wilkinson,
  • GitHub comment 11#6598727
    via GitHub by uhafner
    ,
  • ZIPException when executing "ant debug"...
    via by Unknown author,
    • 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

    Users with the same issue

    davidvanlaatumdavidvanlaatum
    89 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    58 more bugmates