<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Thanks for the update.</p>
<p>I'm aware of the deprecation warning - (although not quite sure
on what the new idiom should replace that - it's been a while
since I last looked at the plugin API).</p>
<p>Maurizio<br>
</p>
<div class="moz-cite-prefix">On 12/06/2023 19:32, Christoph
Schwentker wrote:<br>
</div>
<blockquote type="cite" cite="mid:CADcwyO7+JKvuymnYwHi4EWt5SqV3E52b3y1hODkUQanNXzBvpg@mail.gmail.com">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>I could solve it. Seems like there was something not
correctly built locally. I compiled again with the latest
plugin version as well and it works.<br>
</div>
<div>There is, however, a deprecation warning in <br>
<div style="background-color:rgb(255,255,255);color:rgb(8,8,8);font-family:"JetBrains Mono",monospace;white-space:pre"><span style="color:rgb(0,0,0)">JTRegApplicationComponent </span></div>
<br>
about the usage of the ProjectComponent Interface: <br>
<a href="https://urldefense.com/v3/__https://plugins.jetbrains.com/docs/intellij/plugin-components.html__;!!ACWV5N9M2RV99hQ!I0apE9KBT4ag9SfDhr1MYAtuN72p1e3llGhPRF2ladzeqklI34HO_xdNSbhk3XwNG_xBesYdPdxKdSHpPjwEI-Rm65DS$" moz-do-not-send="true">https://plugins.jetbrains.com/docs/intellij/plugin-components.html</a>
<br>
<br>
</div>
<div>Regards,<br>
</div>
<div>Christoph<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Am Mo., 12. Juni 2023 um
19:39 Uhr schrieb Maurizio Cimadamore <<a href="mailto:maurizio.cimadamore@oracle.com" moz-do-not-send="true" class="moz-txt-link-freetext">maurizio.cimadamore@oracle.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>That is odd. I am on the same Intellij version, but am
not seeing the NPE. But someting magic has to happen under
the hood because I don't see initialization code for all
the UI components, which makes me thing that the logic
here is relying on some IntelliJ API to populate the form.
Maybe something has changed there?</p>
<p>Cheers<br>
Maurizio<br>
</p>
<div>On 10/06/2023 19:45, Christoph Schwentker wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">HI,<br>
<br>
<div>After I managed to get the plugin working with the
latest IntelliJ version (see my PR [1]) , I am now
getting NPE in the UI. Log is attached.<br>
<br>
<div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Menlo,Monaco,"Courier New",monospace;font-weight:normal;font-size:12px;line-height:18px;white-space:pre-wrap"><div><span style="color:rgb(0,128,0)">2023-06-10</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(0,128,0)">20:43:20,580</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,255)">1785238</span><span style="color:rgb(0,0,0)">] SEVERE - #</span><span style="color:rgb(0,0,255)">c.i.i.p.PluginManager</span><span style="color:rgb(0,0,0)"> - Plugin to blame: jtreg Test Support version: </span><span style="color:rgb(0,0,255)">1</span><span style="color:rgb(0,0,0)">.</span><span style="color:rgb(0,0,255)">15</span></div><div><span style="color:rgb(0,128,0)">2023-06-10</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(0,128,0)">20:43:20,677</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,255)">1785335</span><span style="color:rgb(0,0,0)">] SEVERE - #</span><span style="color:rgb(0,0,255)">c.i.u.c.QueueProcessor</span><span style="color:rgb(0,0,0)"> - Cannot invoke </span><span style="color:rgb(163,21,21)">"javax.swing.JTextField.getText()"</span><span style="color:rgb(0,0,0)"> because </span><span style="color:rgb(163,21,21)">"this.jtregOptions"</span><span style="color:rgb(0,0,0)"> is </span><span style="color:rgb(0,0,255)">null</span></div><div><span style="color:rgb(163,21,21);font-style:italic">java.lang.NullPointerException</span><span style="color:rgb(0,0,0)">: Cannot invoke </span><span style="color:rgb(163,21,21)">"javax.swing.JTextField.getText()"</span><span style="color:rgb(0,0,0)"> because </span><span style="color:rgb(163,21,21)">"this.jtregOptions"</span><span style="color:rgb(0,0,0)"> is </span><span style="color:rgb(0,0,255)">null</span></div><div><span style="color:rgb(163,21,21);font-style:italic">
</span></div></div>
</div>
<br>
<div>> <a href="https://urldefense.com/v3/__https://github.com/openjdk/jtreg/pull/157__;!!ACWV5N9M2RV99hQ!I0apE9KBT4ag9SfDhr1MYAtuN72p1e3llGhPRF2ladzeqklI34HO_xdNSbhk3XwNG_xBesYdPdxKdSHpPjwEI6N_kboa$" target="_blank" moz-do-not-send="true">https://github.com/openjdk/jtreg/pull/157</a></div>
<div><br>
</div>
<div>Regards,<br>
</div>
<div>Christoph (siedlerchr)<br>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</body>
</html>