[ https://issues.apache.org/jira/browse/NETBEANS-6089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426923#comment-17426923 ]
Bernard edited comment on NETBEANS-6089 at 10/11/21, 1:52 AM: -------------------------------------------------------------- Thanks a lot. I am trying to help here while effectively not making changes to my IDE to prevent the destruction of evidence. I started 12.5 with --userdir <some test dir> WITHOUT importing settings. Here when opening the failing project, the IDE prompts me for installing: "The nb-javac Editing support library [2.0]". I confirmed. The plugin is installed and the project is good. — So I looked at nb-javac in both the good 12.4 installation and the bad 12.5 installation with imported settings. Tools|Plugins In the NetBeans 12.4 installation with original preferences nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 In the NetBeans 12.5 installation, with copied preferences, nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, NOT listed in Available Plugins (44) — I remember I installed something in 12.4 to get compile on save. This might indicate that in 12.4, nb-javac version 2.0 IS installed, but it is NOT listed as being installed in the Tools|Plugins panel. – I have had one complication with NB 12.4 where I had to download and run the 12.4 zip and install it in a directory NOT containing spaces (as the original installer put it under "C:\program Files" with the existing userdir. Root case for this is: [https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2443] Please look at my comments. This is the sort of thing that happens when the IDE gets into this type of meltdown. So starting up that older 12.4 as installed under "C:\program Files", in Tools|Plugins, again: nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 I am confused about this. It looks like the plugin panels are lying. I am sure there is an easy fix but I am waiting so we can still investigate. was (Author: bht): Thanks a lot. I am trying to help here while effectively not making changes my IDE to prevent the destruction of evidence. I started 12.5 with --userdir <some test dir> WITHOUT importing settings. Here when opening the failing project, the IDE prompts me for installing: "The nb-javac Editing support library [2.0]". I confirmed. The plugin is installed and the project is good. --- So I looked at nb-javac in both the good 12.4 installation and the bad 12.5 installation with imported settings. Tools|Plugins In the NetBeans 12.4 installation with original preferences nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 In the NetBeans 12.5 installation, with copied preferences, nb-javac is listed in Installed (12) under User Installed Plugins version 1.1, NOT listed in Available Plugins (44) --- I remember I installed something in 12.4 to get compile on save. This might indicate that in 12.4, nb-javac version 2.0 IS installed, but it is NOT listed as being installed in the Tools|Plugins panel. -- I have had one complication with NB 12.4 where I had to download and run the 12.4 zip and install it in a directory NOT containing spaces (as the original installer put it under "C:\program Files" with the existing userdir. Root case for this is: [https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-2443] Please look at my comments. This is the sort of thing that happens when the IDE gets into this type of meltdown. So starting up that older 12.4 as installed under "C:\program Files", in Tools|Plugins, again: nb-javac is NOT listed in Installed (11) but it is listed in Available Plugins (45) as Version 2.0 I am confused about this. It looks like the plugin panels are lying. I am sure there is an easy fix but I am waiting so we can still investigate. > Java type conversion error hint in editor vs compiler > ----------------------------------------------------- > > Key: NETBEANS-6089 > URL: https://issues.apache.org/jira/browse/NETBEANS-6089 > Project: NetBeans > Issue Type: Bug > Components: java - Source > Affects Versions: 12.5 > Reporter: Bernard > Priority: Blocker > Attachments: messages.log > > > Settings imported from IDE 12.4 > Project is fine with IDE 12.4 > Project compiles without errors in 12.4 and 12.5 > With 12.5, getting problems in the editor and in the Projects window as > follows: > On the following source code: > final List<EvaluatedCandidate<CgpNetwork>> evaluatedPopulation = > this.populationAccessibleEvolutionEngine.getEvaluatedPopulation(); > I get a red error hint: > incompatible types: List<Object> cannot be converted to > List<EvaluatedCandidate<CgpNetwork>> > ---- > (Alt-Enter shows hints) > and in the Project window, the project is marked red. > The relevant source code: > private final PopulationAccessibleEvolutionEngine<CgpNetwork> > populationAccessibleEvolutionEngine; > The above code has parameterized type CgpNetwork as seen below: > public class PopulationAccessibleEvolutionEngine<T> extends > GenerationalEvolutionEngine<T> implements EvaluatedPopulationAccessible<T> { > In Project settings: > Sources, Source/Binary Format: 1.8 > Build, Compile, Java Platform is JDK 14 (Default) -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists