You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if I try to get the classes of several jar archives some of them are randomly not accessible. It doesn't matter if I use one JavaProject with all jars as InputLocation or a JavaProject for each jar. The path for the jar is dynamically resolved at runtime from gradle cache.
Is that a gradle issue or a soot cache bug?
Exception is:
Caused by: java.nio.file.ClosedFileSystemException
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.ensureOpen(ZipFileSystem.java:1666)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.getFileAttributes(ZipFileSystem.java:536)
at jdk.zipfs/jdk.nio.zipfs.ZipPath.readAttributes(ZipPath.java:767)
at jdk.zipfs/jdk.nio.zipfs.ZipPath.readAttributes(ZipPath.java:777)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.readAttributes(ZipFileSystemProvider.java:276)
at sootup.java.bytecode.inputlocation.PathBasedAnalysisInputLocation.walkDirectory(PathBasedAnalysisInputLocation.java:196)
at sootup.java.bytecode.inputlocation.PathBasedAnalysisInputLocation$DirectoryBasedAnalysisInputLocation.getClassSources(PathBasedAnalysisInputLocation.java:245)
at sootup.java.bytecode.inputlocation.PathBasedAnalysisInputLocation.getClassSources(PathBasedAnalysisInputLocation.java:156)
at sootup.java.bytecode.inputlocation.PathBasedAnalysisInputLocation$MultiReleaseJarAnalysisInputLocation.lambda$getClassSources$9(PathBasedAnalysisInputLocation.java:475)
at sootup.java.bytecode.inputlocation.PathBasedAnalysisInputLocation$MultiReleaseJarAnalysisInputLocation.getClassSources(PathBasedAnalysisInputLocation.java:477)
at sootup.java.bytecode.inputlocation.PathBasedAnalysisInputLocation.getClassSources(PathBasedAnalysisInputLocation.java:156)
at sootup.java.core.views.JavaView.lambda$resolveAll$3(JavaView.java:163)
at sootup.java.core.views.JavaView.resolveAll(JavaView.java:164)
at sootup.java.core.views.JavaView.getClasses(JavaView.java:104)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
if I try to get the classes of several jar archives some of them are randomly not accessible. It doesn't matter if I use one JavaProject with all jars as InputLocation or a JavaProject for each jar. The path for the jar is dynamically resolved at runtime from gradle cache.
Is that a gradle issue or a soot cache bug?
Exception is:
Caused by: java.nio.file.ClosedFileSystemException
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.ensureOpen(ZipFileSystem.java:1666)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.getFileAttributes(ZipFileSystem.java:536)
at jdk.zipfs/jdk.nio.zipfs.ZipPath.readAttributes(ZipPath.java:767)
at jdk.zipfs/jdk.nio.zipfs.ZipPath.readAttributes(ZipPath.java:777)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.readAttributes(ZipFileSystemProvider.java:276)
at sootup.java.bytecode.inputlocation.PathBasedAnalysisInputLocation.walkDirectory(PathBasedAnalysisInputLocation.java:196)
at sootup.java.bytecode.inputlocation.PathBasedAnalysisInputLocation$DirectoryBasedAnalysisInputLocation.getClassSources(PathBasedAnalysisInputLocation.java:245)
at sootup.java.bytecode.inputlocation.PathBasedAnalysisInputLocation.getClassSources(PathBasedAnalysisInputLocation.java:156)
at sootup.java.bytecode.inputlocation.PathBasedAnalysisInputLocation$MultiReleaseJarAnalysisInputLocation.lambda$getClassSources$9(PathBasedAnalysisInputLocation.java:475)
at sootup.java.bytecode.inputlocation.PathBasedAnalysisInputLocation$MultiReleaseJarAnalysisInputLocation.getClassSources(PathBasedAnalysisInputLocation.java:477)
at sootup.java.bytecode.inputlocation.PathBasedAnalysisInputLocation.getClassSources(PathBasedAnalysisInputLocation.java:156)
at sootup.java.core.views.JavaView.lambda$resolveAll$3(JavaView.java:163)
at sootup.java.core.views.JavaView.resolveAll(JavaView.java:164)
at sootup.java.core.views.JavaView.getClasses(JavaView.java:104)
Beta Was this translation helpful? Give feedback.
All reactions