jtreg IDEA Plugins throws NPE in Intellij 2023.1.2

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Jun 12 17:39:04 UTC 2023


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?

Cheers
Maurizio

On 10/06/2023 19:45, Christoph Schwentker wrote:
> HI,
>
> 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.
>
> 2023-06-1020:43:20,580[1785238] SEVERE - #c.i.i.p.PluginManager- 
> Plugin to blame: jtreg Test Support version: 1.15
> 2023-06-1020:43:20,677[1785335] SEVERE - #c.i.u.c.QueueProcessor- 
> Cannot invoke "javax.swing.JTextField.getText()"because 
> "this.jtregOptions"is null
> java.lang.NullPointerException: Cannot invoke 
> "javax.swing.JTextField.getText()"because "this.jtregOptions"is null
>
> > https://github.com/openjdk/jtreg/pull/157
>
> Regards,
> Christoph (siedlerchr)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/ide-support-dev/attachments/20230612/e0d28f09/attachment.htm>


More information about the ide-support-dev mailing list