Bug #2096
Updated by Henning Blohm over 3 years ago
E.g. <pre><code class="bash"> class="java"> 6/29 23:16:42 [38]...ase/webWorker@0.2 [800]: Caused by: java.lang.IllegalStateException: Classpath construction - Failed to introspect file:/home/hb/workspace_zf-work/zf-work.core/z2-base.core/bin/../work/repos/com_zfabrik_dev_repo_devRepo/pkg/com_zfabrik_work_portal/java/17a599e7d06_00/bin.api/lib/com.zfabrik.work.portal.api.jar 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at com.zfabrik.impl.components.java.ComponentClassLoader$ClassPath.init(ComponentClassLoader.java:436) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at com.zfabrik.impl.components.java.ComponentClassLoader$ClassPath.locate(ComponentClassLoader.java:493) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at com.zfabrik.impl.components.java.ComponentClassLoader.findResource(ComponentClassLoader.java:838) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at com.zfabrik.impl.components.java.ComponentClassLoader.getResource(ComponentClassLoader.java:825) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at java.base/java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:322) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at com.zfabrik.impl.components.java.jdt.NameEnvironmentImpl._findType(NameEnvironmentImpl.java:172) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at com.zfabrik.impl.components.java.jdt.NameEnvironmentImpl.findType(NameEnvironmentImpl.java:52) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createPlainPackage(LookupEnvironment.java:1139) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:135) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:475) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:855) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:394) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:426) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at com.zfabrik.impl.components.java.jdt.SimpleJDTCompiler.compile(SimpleJDTCompiler.java:128) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at com.zfabrik.impl.components.java.jdt.JavaCompilerComponent.compile(JavaCompilerComponent.java:24) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at com.zfabrik.components.java.build.ICompiler.compile(ICompiler.java:121) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: ... 45 more 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: Caused by: java.nio.file.NoSuchFileException: /home/hb/workspace_zf-work/zf-work.core/z2-base.core/bin/../work/repos/com_zfabrik_dev_repo_devRepo/pkg/com_zfabrik_work_portal/java/17a599e7d06_00/bin.api/lib/com.zfabrik.work.portal.api.jar 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) 06/29 23:16:42 [38]...ase/webWorker@0.2 [800]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) </code></pre> but the folder work/repos/com_zfabrik_dev_repo_devRepo/pkg/com_zfabrik_work_portal/java/17a599e7d06_00/bin.api/lib/ does actually exist. As if the API jar was there but then removed again, or as if API compilation actually failed but the failure was not noticed. again.