z2-Environment: Issueshttps://redmine.z2-environment.net/https://redmine.z2-environment.net/favicon.ico?15813551872024-03-27T13:16:37Zz2-Environment
Redmine z2-Environment - Bug #2174 (New): Cannot install eclipsoid in base eclipsehttps://redmine.z2-environment.net/issues/21742024-03-27T13:16:37ZHenning Blohmhenning.blohm@zfabrik.dez2-Environment - Bug #2169 (Feedback): Cleanup of collected resources may remove good resource entryhttps://redmine.z2-environment.net/issues/21692024-02-29T13:35:07ZHenning Blohmhenning.blohm@zfabrik.de
<p>The following sequence of events may lead to untracking of a still valid resource:</p>
<p>1. In NamespaceImpl _getResourceHandleImplNonNull we find a vh!=null && rh==null and (in another loop) put the vh directly into the invQ.<br />2. A subsequent tick() removes the vh.getKey() from the resource map and we can bind a new entry</p>
<p>Later:</p>
<p>3. In another tick we ingest the gc queue from the resource map into invQ. Because only now the GC noted the collected value, we get the same vh from above again in the invQ and the tick removes the key again from the resource map.</p>
<a name="Solution"></a>
<h2 >Solution<a href="#Solution" class="wiki-anchor">¶</a></h2>
<ul>
<li>In tick make sure to check for value holders that are still bound in the map</li>
<li>Only remove from the map, if it is still bound.</li>
</ul> z2-Environment - Improvement #2117 (Resolved): Fix compile performance degradationhttps://redmine.z2-environment.net/issues/21172021-10-18T21:06:04ZHenning Blohmhenning.blohm@zfabrik.de
<p>With the latest enhancements of the package detection in NameEnvironmentImpl, compilation performance has greatly <br />suffered.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>Performance is in the same range (<+10%) of 2.5.7.</li>
</ul>
<a name="Implementation-Hint"></a>
<h2 >Implementation Hint<a href="#Implementation-Hint" class="wiki-anchor">¶</a></h2>
<p>Instead of traversing the classpath checking for a package, we should preload known packages from <br />our classloaders.</p> z2-Environment - Improvement #2116 (Resolved): Reduce synchronization in Component Resource Wrapperhttps://redmine.z2-environment.net/issues/21162021-10-15T14:41:53ZHenning Blohmhenning.blohm@zfabrik.de
<p>Provisioning and invalidation in Component Resource Wrapper is synchronized, which can lead to deadlocks in concurrent dependency loading and invalidation.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>There is no synchronization around dependency handling in loading and invalidation in Component Resource Wrapper</li>
<li>A concurrent invalidation is detected during a the loading of a wrapped resource. In that case, a warning is logged and an invalidation is called.</li>
</ul> z2-Environment - Improvement #2115 (Resolved): Support jetty configuration property setting via W...https://redmine.z2-environment.net/issues/21152021-10-15T14:38:20ZHenning Blohmhenning.blohm@zfabrik.de
<p>Currently, in order to configure Jetty configuration properties for the embedded Jetty they must be specified as system properties.</p>
<p>This means we cannot effectively use dynamic component level properties to configure the web server settings.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>All Web server component properties that are prefixed with "jetty.property." are added to configuration evaluation (with removed prefix)</li>
</ul> z2-Environment - Bug #2114 (Resolved): Includes are not removed before rebuildhttps://redmine.z2-environment.net/issues/21142021-10-15T07:09:50ZHenning Blohmhenning.blohm@zfabrik.de
<p>When ComponentsBuilder detects a rebuild, it copies original resources (ok) and includes (nok) without cleaning the instance target folders first.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>Clean part and instance target folders for make and include before rebuilding a part</li>
</ul> z2-Environment - Bug #2113 (Resolved): Log Streaming JSON not escaping backslashhttps://redmine.z2-environment.net/issues/21132021-10-14T15:08:14ZHenning Blohmhenning.blohm@zfabrik.de
<p>so that log streaming fails, if the log buffer has backslash characters.</p> z2-Environment - Improvement #2111 (Resolved): Upgrade javax.validation to 1.1.0.FINALhttps://redmine.z2-environment.net/issues/21112021-09-24T08:51:19ZUdo Offermannudo.offermann@zfabrik.de
<p>Replace the existing version 1.0.0 by 1.1.0.FINAL</p> z2-Environment - Bug #2108 (In Progress): z2-resolve failed with exception when no z2 modules are...https://redmine.z2-environment.net/issues/21082021-09-16T12:27:37ZUdo Offermannudo.offermann@zfabrik.de
<p><code>Authentication_:</code></p>
<p><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">2021-09-16 11:08:33,414 [ 913426] ERROR - 2plugin.z2sync.ResolveZ2Action - z2-resolve failed</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">com.zfabrik.intellij.z2plugin.remote.ConnectionException: The credentials server</span> <a class="external" href="http://localhost:8080/eclipsoid/sync">http://localhost:8080/eclipsoid/sync</a> <span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">is asking for are not correct.</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.zfabrik.intellij.z2plugin.remote.Z2HttpClient.request(Z2HttpClient.java:117)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.zfabrik.intellij.z2plugin.z2sync.Z2ResolverService$Z2ResolvingSession.sync(Z2ResolverService.java:110)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.zfabrik.intellij.z2plugin.z2sync.ResolveZ2Action$ResolveTask.resolve(ResolveZ2Action.java:87)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.zfabrik.intellij.z2plugin.z2sync.Z2Mutex.runMutuallyExcluded(Z2Mutex.java:40)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.zfabrik.intellij.z2plugin.z2sync.ResolveZ2Action$ResolveTask.run(ResolveZ2Action.java:60)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:450)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:117)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:510)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:243)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:170)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:243)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.security.AccessController.doPrivileged(Native Method)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">at java.base/java.lang.Thread.run(Thread.java:829)</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">Caused by: javax.security.sasl.AuthenticationException: Basic Authentication failed for user null</span><br /><span style="color: #000000;float: none;font-family: Helvetica;font-size: 12px;font-style: normal;font-variant-caps: normal;font-weight: normal;">... 23 more</span><br />Resolve:</p>
<p>2021-09-16 11:09:31,588 [ 971600] ERROR - 2plugin.z2sync.ResolveZ2Action - z2-resolve failed<br />java.nio.file.NoSuchFileException: /home/hb/workspace_intellij/zzz_hello/.z2env-library/z2refs.properties<br />at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)<br />at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)<br />at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)<br />at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)<br />at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478)<br />at java.base/java.nio.file.Files.newOutputStream(Files.java:220)<br />at com.zfabrik.intellij.z2plugin.z2sync.Z2ResolverService$Z2ResolvingSession.storeRefProps(Z2ResolverService.java:272)<br />at com.zfabrik.intellij.z2plugin.z2sync.Z2ResolverService$Z2ResolvingSession.requestApiJars(Z2ResolverService.java:267)<br />at com.zfabrik.intellij.z2plugin.z2sync.Z2ResolverService$Z2ResolvingSession.loadZ2Library(Z2ResolverService.java:128)<br />at com.zfabrik.intellij.z2plugin.z2sync.ResolveZ2Action$ResolveTask.resolve(ResolveZ2Action.java:97)<br />at com.zfabrik.intellij.z2plugin.z2sync.Z2Mutex.runMutuallyExcluded(Z2Mutex.java:40)<br />at com.zfabrik.intellij.z2plugin.z2sync.ResolveZ2Action$ResolveTask.run(ResolveZ2Action.java:60)<br />at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:450)<br />at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:117)<br />at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:510)<br />at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:243)<br />at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183)<br />at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)<br />at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)<br />at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)<br />at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:170)<br />at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:243)<br />at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)<br />at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)<br />at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)<br />at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)<br />at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)<br />at java.base/java.security.AccessController.doPrivileged(Native Method)<br />at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)<br />at java.base/java.lang.Thread.run(Thread.java:829)</p> z2-Environment - Bug #2105 (Resolved): Eclipsoid Returns wrong versionhttps://redmine.z2-environment.net/issues/21052021-09-14T17:05:52ZUdo Offermannudo.offermann@zfabrik.de
<p>Eclipsoid Servlet must return the correct z2 version</p> z2-Environment - Improvement #2070 (New): Eclipsoid dependency view to include test referenceshttps://redmine.z2-environment.net/issues/20702020-05-11T10:53:01ZHenning Blohmhenning.blohm@zfabrik.de
<p>Currently the view is not including test references, but test references can be important aspects in cycle detection.</p>
<p>Therefore test references should be included in the transitive reference closure of the dependency viewer.</p> z2-Environment - Improvement #1940 (New): outdated copyright notice in Eclipsoid when installing ...https://redmine.z2-environment.net/issues/19402016-01-31T17:45:06ZHenning Blohmhenning.blohm@zfabrik.de
<p>It says (c) 2010-2012 or similarly. We should simply omit the year.</p>
<p>Plus we should fix the Company name and mention that it is open source (Apache 2)</p> z2-Environment - Feature #1936 (New): com.zfabrik.intellij.z2plugin shall reuse existing .iml fil...https://redmine.z2-environment.net/issues/19362015-12-23T14:21:22ZUdo Offermannudo.offermann@zfabrik.de
<p>z2-Plugin should reuse existing (i.e. checked-in) iml files when creating z2 Modules</p> z2-Environment - Feature #1935 (New): z2-plugin showing arming state on modules in project view panehttps://redmine.z2-environment.net/issues/19352015-11-14T14:30:23ZUdo Offermannudo.offermann@zfabrik.dez2-Environment - Feature #1933 (New): z2-resolve should not replace unchanged files https://redmine.z2-environment.net/issues/19332015-11-13T09:14:27ZUdo Offermannudo.offermann@zfabrik.de
<p>z2 resolve downloads JARs from z2 and stores them at the z2lib-dir.<br />Today the z2lib-dir is deleted and all JARs are stored again forcing IntelliJ to rescan all files including the unchanged ones.</p>