Export to GitHub

google-singleton-detector - issue #9

java.util.zip.ZipException: error in opening zip file


Posted on Nov 14, 2012 by Happy Elephant

What steps will reproduce the problem? 1. execute the following command 2. java -jar gsd.jar -S path/somejar.jar export.graphml 3.

What is the expected output? What do you see instead? the graph generated, the following stacktrace Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file at com.google.singletondetector.classpath.JarClasspathRoot.jarFileForUrl(Unknown Source) at com.google.singletondetector.classpath.JarClasspathRoot.preloadNamesFromJar(Unknown Source) at com.google.singletondetector.classpath.JarClasspathRoot.<init>(Unknown Source) at com.google.singletondetector.SingletonDetector.buildCrlist(Unknown Source) at com.google.singletondetector.SingletonDetector.buildCrlist(Unknown Source) at com.google.singletondetector.SingletonDetector.buildCrlist(Unknown Source) at com.google.singletondetector.SingletonDetector.getClassReaders(Unknown Source) at com.google.singletondetector.SingletonDetector.<init>(Unknown Source) at com.google.singletondetector.Main.<init>(Unknown Source) at com.google.singletondetector.Main.main(Unknown Source) 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.jar.JarFile.<init>(JarFile.java:135) at java.util.jar.JarFile.<init>(JarFile.java:72)

What version of the product are you using? On what operating system? gsd-0.7.3

Please provide any additional information below.

Status: New

Labels:
Type-Defect Priority-Medium