<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://plugins.jetbrains.com/docs/intellij/plugin-components.html">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">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://github.com/openjdk/jtreg/pull/157" target="_blank">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>