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 #2173 (New): All exceptions thrown in class Z2JupiterTestServlet should be l...https://redmine.z2-environment.net/issues/21732024-03-07T15:07:18ZJonas Basslbusiness@bassl.de
<p>In class Z2JupiterTestServlet#service, only IllegalArgumentExceptions are being caught and therefore also logged.<br />Other exceptions are just "thrown away".<br />We should change that, so also other exceptions show up in the log, if it happens.</p> z2-Environment - Bug #2172 (In Progress): Transaction prematurely removed from workunithttps://redmine.z2-environment.net/issues/21722024-03-03T16:34:21ZHenning Blohmhenning.blohm@zfabrik.de
<p>Currently the commit and rollback of a nested transaction removes the transaction object from the work unit.</p>
<p>It seems there is really no need to remove it but rather set the status to STATUS_NO_TRANSACTION.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>Nested transactions do not remove the transaction object</li>
<li>Wish: Add TransactionUtil.required()/mandatory()/never() etc. mimicking the standard propagation styles.</li>
</ul> z2-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 - Bug #2166 (Feedback): Log4j2 configuration from environment not effective.https://redmine.z2-environment.net/issues/21662024-01-30T21:51:16ZHenning Blohmhenning.blohm@zfabrik.de
<p>As in <a class="issue tracker-1 status-3 priority-5 priority-high3 closed" title="Bug: Log4j 2 configuration not loaded from environment (Resolved)" href="https://redmine.z2-environment.net/issues/2146">#2146</a> but now we must use the system class loader to make sure a parent context configuration is effective.</p> z2-Environment - Bug #2161 (In Progress): Application Threadpool gets confused on interruptionhttps://redmine.z2-environment.net/issues/21612024-01-02T13:22:19ZHenning Blohmhenning.blohm@zfabrik.de
<p>When interrupting a thread in the thread pool, it will terminate but still be in the pool. This happens in WorkerThread.java:</p>
<pre><code class="java syntaxhl"> <span class="k">if</span> <span class="o">(</span><span class="k">this</span><span class="o">.</span><span class="na">wm</span><span class="o">.</span><span class="na">taskCompleted</span><span class="o">(</span><span class="k">this</span><span class="o">))</span> <span class="o">{</span>
<span class="kd">synchronized</span> <span class="o">(</span><span class="k">this</span><span class="o">)</span> <span class="o">{</span>
<span class="k">if</span> <span class="o">(!</span><span class="k">this</span><span class="o">.</span><span class="na">kicked</span><span class="o">)</span> <span class="o">{</span>
<span class="c1">// only if not having been kicked between being put into</span>
<span class="c1">// the pool and entering this block</span>
<span class="n">waiting</span> <span class="o">=</span> <span class="kc">true</span><span class="o">;</span>
<span class="k">try</span> <span class="o">{</span>
<span class="k">this</span><span class="o">.</span><span class="na">wait</span><span class="o">();</span>
<span class="o">}</span> <span class="k">catch</span> <span class="o">(</span><span class="nc">InterruptedException</span> <span class="n">e</span><span class="o">)</span> <span class="o">{</span>
<span class="n">logger</span><span class="o">.</span><span class="na">fine</span><span class="o">(</span><span class="s">"Thread interrupted: "</span><span class="o">+</span><span class="k">this</span><span class="o">);</span>
<span class="o">}</span> <span class="k">finally</span> <span class="o">{</span>
<span class="k">this</span><span class="o">.</span><span class="na">waiting</span> <span class="o">=</span> <span class="kc">false</span><span class="o">;</span>
<span class="o">}</span>
<span class="o">}</span> <span class="k">else</span>
<span class="k">this</span><span class="o">.</span><span class="na">kicked</span> <span class="o">=</span> <span class="kc">false</span><span class="o">;</span>
<span class="o">}</span>
<span class="o">}</span> <span class="k">else</span>
<span class="kd">synchronized</span> <span class="o">(</span><span class="k">this</span><span class="o">)</span> <span class="o">{}</span> <span class="c1">// also to comply to the memory model</span>
</code></pre>
<p>The code is super outdated and far to complex.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>The ThreadPool code is simplified with less concurrency spaghetti code</li>
<li>When a thread is interrupted, it is terminating and remove from the pool</li>
<li>The fix is merged into master</li>
</ul> z2-Environment - Bug #2158 (New): Log Buffer Capping should still log all content and append newlinehttps://redmine.z2-environment.net/issues/21582023-11-16T09:21:39ZHenning Blohmhenning.blohm@zfabrik.de
<p>Currently, the log buffer limiting of <a class="issue tracker-5 status-3 priority-4 priority-default closed" title="Improvement: Limit stream reader buffers for worker output handling (Resolved)" href="https://redmine.z2-environment.net/issues/2150">#2150</a> is writing the capped line and adds no new line.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>Limiting of lines as in <a class="issue tracker-5 status-3 priority-4 priority-default closed" title="Improvement: Limit stream reader buffers for worker output handling (Resolved)" href="https://redmine.z2-environment.net/issues/2150">#2150</a> is enforced but logging wraps rather than limiting the actual output</li>
</ul> z2-Environment - Bug #2136 (New): Z2-DataSourceWorkResource throws NPE on "isClosed" when connect...https://redmine.z2-environment.net/issues/21362022-01-31T11:40:53ZUdo Offermannudo.offermann@zfabrik.dez2-Environment - Bug #2119 (In Progress): Eclipsoid Version Resolve (incorrectly) assumes an int ...https://redmine.z2-environment.net/issues/21192021-10-25T10:57:59ZHenning Blohmhenning.blohm@zfabrik.de
<p>See VersionRetriever and</p>
<pre>
java.lang.IllegalArgumentException: invalid version "v2.9.1b-202110191117": non-numeric "v2"
at org.osgi.framework.Version.parseInt(Version.java:169)
at org.osgi.framework.Version.<init>(Version.java:126)
at org.osgi.framework.Version.valueOf(Version.java:255)
at org.osgi.framework.Version.parseVersion(Version.java:226)
at com.zfabrik.z2info.plugin.model.Z2InfoModel.getVersion(Z2InfoModel.java:23)
at com.zfabrik.z2info.plugin.views.Z2InfoViewContentProvider.getRootNode(Z2InfoViewContentProvider.java:65)
at com.zfabrik.z2info.plugin.views.Z2InfoViewContentProvider.getElements(Z2InfoViewContentProvider.java:34)
at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:949)
at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:704)
at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1411)
at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:350)
</pre> 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 #2106 (Feedback): IntelliJ z2-plugin throws exception when pinging z2https://redmine.z2-environment.net/issues/21062021-09-15T08:29:00ZUdo Offermannudo.offermann@zfabrik.de
<p>The "Test connection" feature on the z2-plugin preference pane throws an exception when the server is not reachable.<br />IntelliJ catches the exception and treats it as a plugin problem.<br />The exception itself is ok, but it must not be propagated to the IDE.</p>
<pre>
z2-resolve failed
com.zfabrik.intellij.z2plugin.remote.ConnectionException: Server http://localhost:8080/eclipsoid/sync may be down or the connection settings are wrong.
at com.zfabrik.intellij.z2plugin.remote.ConnectionResult.<init>(ConnectionResult.java:24)
at com.zfabrik.intellij.z2plugin.remote.Z2HttpClient$HttpConnection.getConnectionResult(Z2HttpClient.java:193)
at com.zfabrik.intellij.z2plugin.remote.Z2HttpClient.request(Z2HttpClient.java:114)
at com.zfabrik.intellij.z2plugin.z2sync.Z2ResolverService$Z2ResolvingSession.sync(Z2ResolverService.java:97)
at com.zfabrik.intellij.z2plugin.z2sync.ResolveZ2Action$ResolveTask.resolve(ResolveZ2Action.java:85)
at com.zfabrik.intellij.z2plugin.z2sync.Z2Mutex.runMutuallyExcluded(Z2Mutex.java:40)
at com.zfabrik.intellij.z2plugin.z2sync.ResolveZ2Action$ResolveTask.run(ResolveZ2Action.java:60)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:450)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:117)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:510)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:243)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:243)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
at java.base/java.net.Socket.connect(Socket.java:609)
at java.base/java.net.Socket.connect(Socket.java:558)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:859)
at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1615)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
at com.zfabrik.intellij.z2plugin.remote.Z2HttpClient$HttpConnection.request(Z2HttpClient.java:171)
at com.zfabrik.intellij.z2plugin.remote.Z2HttpClient.lambda$request$1(Z2HttpClient.java:95)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:265)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
... 7 more
</pre> z2-Environment - Bug #2097 (Feedback): Java Component Timestamp Dependency Map uses wrong timesta...https://redmine.z2-environment.net/issues/20972021-07-23T22:29:22ZHenning Blohmhenning.blohm@zfabrik.de
<p>The dependency check for changes in ComponentsBuilder uses a wrong tstamp file location - effectively ignoring the instance id.</p>
<p>This leads to omitted rebuilds.</p> z2-Environment - Bug #2062 (New): Sync not completing correctly when repo definition itself is up...https://redmine.z2-environment.net/issues/20622020-04-22T14:49:59ZHenning Blohmhenning.blohm@zfabrik.de
<p>I.e. a repo is sync'd that contains the definition of another (Git) repo.</p>
<p>What can be observed is that both repos initially pull updated, the first repo invalidates however the second.</p>
<p>The second when coming up in a worker detects a config change and cleans the DB and then fails as the DB is not refreshed/found anymore (as it is a worker).</p>
<p>It should be the case that:</p>
<p>1. Everything that has become invalid is invalidated<br />2. For the nested repo, this means that everything is invalid (?)<br />3. Everything is broad up again.</p> z2-Environment - Bug #2060 (New): Eclipsoid shows no or wrong z2 version at connection testhttps://redmine.z2-environment.net/issues/20602020-03-15T22:34:03ZHenning Blohmhenning.blohm@zfabrik.de
<p>It says</p>
<p><img src="https://redmine.z2-environment.net/attachments/download/427/clipboard-202003152333-csx0o.png" alt="" /></p>
<p>Remaining reasons are that eclipsoid actually parses the version expecting a dot-separated sequence of numbers - which is not always true.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>The version parsing in com.zfabrik.eclipsoid.plugin.preferences.EclipsoidPreferencePage is dropped</li>
<li>The backend supplied version is show as is.</li>
</ul>
<a name="Implementation-Hint"></a>
<h2 >Implementation Hint<a href="#Implementation-Hint" class="wiki-anchor">¶</a></h2>
<ul>
<li>Use <code>curl -u "z*":z http://localhost:8080/eclipsoid/z2info</code> to test the backend.</li>
</ul> z2-Environment - Bug #1922 (New): Eclipsoid info views not working in Eclipse > Keplerhttps://redmine.z2-environment.net/issues/19222015-09-10T11:18:39ZHenning Blohmhenning.blohm@zfabrik.de
<p>Fortunately sync and resolve still work.</p>
<p>Exception noted: ClassNotFoundException w.r.t some JGit classes.</p>