jtreg IDEA Plugins throws NPE in Intellij 2023.1.2
Christoph Schwentker
cschwentker at gmail.com
Mon Jun 12 18:32:26 UTC 2023
Hi,
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.
There is, however, a deprecation warning in
JTRegApplicationComponent
about the usage of the ProjectComponent Interface:
https://plugins.jetbrains.com/docs/intellij/plugin-components.html
Regards,
Christoph
Am Mo., 12. Juni 2023 um 19:39 Uhr schrieb Maurizio Cimadamore <
maurizio.cimadamore at oracle.com>:
> 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-10 20:43:20,580 [1785238] SEVERE - #c.i.i.p.PluginManager -
> Plugin to blame: jtreg Test Support version: 1.15
> 2023-06-10 20: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/467bb281/attachment.htm>
More information about the ide-support-dev
mailing list