[jira] [Comment Edited] (NETBEANS-6072) Can't load/reload Gradle project, NB always attempts to download Gradle 7.0
[ https://issues.apache.org/jira/browse/NETBEANS-6072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17422103#comment-17422103 ] Paul Gifford edited comment on NETBEANS-6072 at 9/29/21, 1:05 PM: -- I was using JDK 16; after switching to 15 the problem did not reoccur. Two suggestions: # If user has selected a Custom Gradle Distribution with version < 7 then NB should not attempt to download Gradle 7 and instead alert the user to set Custom to 7+. Should NB ever try to automatically download Gradle if Custom is selected? # NB should state, "I'm going to download Gradle 7 because it is required with JDK 16". I had no idea why NB was trying to download Gradle when I specifically set a custom distribution. I was using JDK 15 with NB 12.4. When NB 12.5 became available on our offline development network I figured I'd grab JDK 16 as well...next time I'll upgrade one thing at a time. Thank you for the prompt reply! was (Author: pgifford): I was using JDK 16; after switching to 15 the problem did not reoccur. Two suggestions: # If user has selected a Custom Gradle Distribution with version < 7 then NB should not attempt to download Gradle 7 and instead alert the user to set Custom to 7+. Should NB ever try to automatically download Gradle if Custom is selected? # NB should state, "I'm going to download Gradle 7 because it is required with JDK 16". I had no idea why NB was trying to download Gradle when I specifically set a custom distribution. Thank you for the prompt reply! > Can't load/reload Gradle project, NB always attempts to download Gradle 7.0 > --- > > Key: NETBEANS-6072 > URL: https://issues.apache.org/jira/browse/NETBEANS-6072 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.5 >Reporter: Paul Gifford >Priority: Major > > *Environment*: I develop on a computer that has never been and will never be > connected to the Internet. > When loading a Gradle project I get a notification stating "Cannot load > (specific project path)" with detail "Could not install Gradle distribution > from `https://services.gradle.org/distributions/gradle-7.0-bin.zip'." I get > the same message when I try to reload the project. > I upgraded from NB 12.4 to 12.5 and imported my settings (which specify the > path to my local Gradle 6.8.3 installation). The panel at Tools | Options | > Java | Gradle has the correct Gradle User Home. "Gradle Distribution: > Custom" is checked and the path is that of my local Gradle installation. No > other boxes in the "Execution" category are checked. > Every class appears to have errors and my code is littered with red > underlines due to "cannot find symbol" errors. NB 12.5 is unusable because > of this. I can compile my project but the errors remain. > This did not occur with NB 12.4. -- 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
[jira] [Commented] (NETBEANS-6072) Can't load/reload Gradle project, NB always attempts to download Gradle 7.0
[ https://issues.apache.org/jira/browse/NETBEANS-6072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17422103#comment-17422103 ] Paul Gifford commented on NETBEANS-6072: I was using JDK 16; after switching to 15 the problem did not reoccur. Two suggestions: # If user has selected a Custom Gradle Distribution with version < 7 then NB should not attempt to download Gradle 7 and instead alert the user to set Custom to 7+. Should NB ever try to automatically download Gradle if Custom is selected? # NB should state, "I'm going to download Gradle 7 because it is required with JDK 16". I had no idea why NB was trying to download Gradle when I specifically set a custom distribution. Thank you for the prompt reply! > Can't load/reload Gradle project, NB always attempts to download Gradle 7.0 > --- > > Key: NETBEANS-6072 > URL: https://issues.apache.org/jira/browse/NETBEANS-6072 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.5 >Reporter: Paul Gifford >Priority: Major > > *Environment*: I develop on a computer that has never been and will never be > connected to the Internet. > When loading a Gradle project I get a notification stating "Cannot load > (specific project path)" with detail "Could not install Gradle distribution > from `https://services.gradle.org/distributions/gradle-7.0-bin.zip'." I get > the same message when I try to reload the project. > I upgraded from NB 12.4 to 12.5 and imported my settings (which specify the > path to my local Gradle 6.8.3 installation). The panel at Tools | Options | > Java | Gradle has the correct Gradle User Home. "Gradle Distribution: > Custom" is checked and the path is that of my local Gradle installation. No > other boxes in the "Execution" category are checked. > Every class appears to have errors and my code is littered with red > underlines due to "cannot find symbol" errors. NB 12.5 is unusable because > of this. I can compile my project but the errors remain. > This did not occur with NB 12.4. -- 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
[jira] [Created] (NETBEANS-6072) Can't load/reload Gradle project, NB always attempts to download Gradle 7.0
Paul Gifford created NETBEANS-6072: -- Summary: Can't load/reload Gradle project, NB always attempts to download Gradle 7.0 Key: NETBEANS-6072 URL: https://issues.apache.org/jira/browse/NETBEANS-6072 Project: NetBeans Issue Type: Bug Affects Versions: 12.5 Reporter: Paul Gifford *Environment*: I develop on a computer that has never been and will never be connected to the Internet. When loading a Gradle project I get a notification stating "Cannot load (specific project path)" with detail "Could not install Gradle distribution from `https://services.gradle.org/distributions/gradle-7.0-bin.zip'." I get the same message when I try to reload the project. I upgraded from NB 12.4 to 12.5 and imported my settings (which specify the path to my local Gradle 6.8.3 installation). The panel at Tools | Options | Java | Gradle has the correct Gradle User Home. "Gradle Distribution: Custom" is checked and the path is that of my local Gradle installation. No other boxes in the "Execution" category are checked. Every class appears to have errors and my code is littered with red underlines due to "cannot find symbol" errors. NB 12.5 is unusable because of this. I can compile my project but the errors remain. This did not occur with NB 12.4. -- 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
[jira] [Comment Edited] (NETBEANS-5398) Exceptions thrown when attempting to set Gradle options
[ https://issues.apache.org/jira/browse/NETBEANS-5398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17318540#comment-17318540 ] Paul Gifford edited comment on NETBEANS-5398 at 4/10/21, 5:00 PM: -- I encountered this on 12.2 and 12.3. My development computer is not and never will be connected to the Internet. The first exception is thrown immediately when the Gradle options panel is displayed. The exception is {{java.net.UnknownHostException: services.gradle.org}} Clicking "Apply" or "OK" whether or not changes are made results in the initially reported NPE. The [offending line in 12.3 is 770|http://example.com/]. The code assumes {{cbGradleVersion}} will always have a selected item but in my case the combo box is empty. *Workaround:* To set a custom Gradle Distribution edit or create {{${HOME}/.netbeans/12.3/config/Preferences/org/netbeans/modules/gradle.properties}} and set the following properties: {code:none} gradleHome=/my/custom/gradleHome useCustomGradle=true {code} was (Author: pgifford): I encountered this on 12.2 and 12.3. My development computer is not and never will be connected to the Internet. The first exception is thrown immediately when the Gradle options panel is displayed. The exception is {{java.net.UnknownHostException: services.gradle.org}} Clicking "Apply" or "OK" whether or not changes are made results in the initially reported NPE. The [offending line in 12.3 is 770|http://example.com/]. The code assumes {{cbGradleVersion}} will always have a selected item but in my case the combo box is empty. *Workaround:* To set a custom Gradle Distribution edit or create {{${HOME}/.netbeans/12.3/config/Preferences/org/netbeans/modules/gradle.properties}} and set the following properties: {code:none} gradleHome=/my/custom/gradleHome useCustomGradle=true {code} > Exceptions thrown when attempting to set Gradle options > --- > > Key: NETBEANS-5398 > URL: https://issues.apache.org/jira/browse/NETBEANS-5398 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 12.2, 12.3 >Reporter: Albert Flex >Assignee: Laszlo Kishalmi >Priority: Major > Labels: fix-by-workaround > Attachments: 截图_2021-03-03_00-49-10.png, 截图_2021-03-03_00-50-53.png > > > There is an exception when setting the distribution address of gradle. > Although the interface display has been changed, it is still not set > successfully after restart. An exception was reported in the log. > > java.lang.NullPointerException > at > org.netbeans.modules.gradle.options.SettingsPanel.applyValues(SettingsPanel.java:768) > at > org.netbeans.modules.gradle.options.GradleOptionsController.applyChanges(GradleOptionsController.java:53) > at > org.netbeans.modules.options.TabbedController.applyChanges(TabbedController.java:111) > at > org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:379) > at > org.netbeans.modules.options.CategoryModel$Category.access$1100(CategoryModel.java:302) > at org.netbeans.modules.options.CategoryModel.save(CategoryModel.java:198) > at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:294) > at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:278) > at > org.netbeans.modules.options.OptionsDisplayerImpl$OptionsPanelListener$3.run(OptionsDisplayerImpl.java:514) > at > org.netbeans.modules.progress.ui.RunOffEDTImpl$3.run(RunOffEDTImpl.java:252) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > [catch] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > > -- 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
[jira] [Commented] (NETBEANS-5398) Exceptions thrown when attempting to set Gradle options
[ https://issues.apache.org/jira/browse/NETBEANS-5398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17318540#comment-17318540 ] Paul Gifford commented on NETBEANS-5398: I encountered this on 12.2 and 12.3. My development computer is not and never will be connected to the Internet. The first exception is thrown immediately when the Gradle options panel is displayed. The exception is {{java.net.UnknownHostException: services.gradle.org}} Clicking "Apply" or "OK" whether or not changes are made results in the initially reported NPE. The [offending line in 12.3 is 770|http://example.com/]. The code assumes {{cbGradleVersion}} will always have a selected item but in my case the combo box is empty. *Workaround:* To set a custom Gradle Distribution edit or create {{${HOME}/.netbeans/12.3/config/Preferences/org/netbeans/modules/gradle.properties}} and set the following properties: {code:none} gradleHome=/my/custom/gradleHome useCustomGradle=true {code} > Exceptions thrown when attempting to set Gradle options > --- > > Key: NETBEANS-5398 > URL: https://issues.apache.org/jira/browse/NETBEANS-5398 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 12.2, 12.3 >Reporter: Albert Flex >Assignee: Laszlo Kishalmi >Priority: Major > Labels: fix-by-workaround > Attachments: 截图_2021-03-03_00-49-10.png, 截图_2021-03-03_00-50-53.png > > > There is an exception when setting the distribution address of gradle. > Although the interface display has been changed, it is still not set > successfully after restart. An exception was reported in the log. > > java.lang.NullPointerException > at > org.netbeans.modules.gradle.options.SettingsPanel.applyValues(SettingsPanel.java:768) > at > org.netbeans.modules.gradle.options.GradleOptionsController.applyChanges(GradleOptionsController.java:53) > at > org.netbeans.modules.options.TabbedController.applyChanges(TabbedController.java:111) > at > org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:379) > at > org.netbeans.modules.options.CategoryModel$Category.access$1100(CategoryModel.java:302) > at org.netbeans.modules.options.CategoryModel.save(CategoryModel.java:198) > at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:294) > at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:278) > at > org.netbeans.modules.options.OptionsDisplayerImpl$OptionsPanelListener$3.run(OptionsDisplayerImpl.java:514) > at > org.netbeans.modules.progress.ui.RunOffEDTImpl$3.run(RunOffEDTImpl.java:252) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > [catch] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > > -- 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
[jira] [Updated] (NETBEANS-5398) Exceptions thrown when attempting to set Gradle options
[ https://issues.apache.org/jira/browse/NETBEANS-5398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Gifford updated NETBEANS-5398: --- Summary: Exceptions thrown when attempting to set Gradle options (was: Gradle Not Work Correctly) > Exceptions thrown when attempting to set Gradle options > --- > > Key: NETBEANS-5398 > URL: https://issues.apache.org/jira/browse/NETBEANS-5398 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 12.2, 12.3 >Reporter: Albert Flex >Assignee: Laszlo Kishalmi >Priority: Major > Labels: fix-by-workaround > Attachments: 截图_2021-03-03_00-49-10.png, 截图_2021-03-03_00-50-53.png > > > There is an exception when setting the distribution address of gradle. > Although the interface display has been changed, it is still not set > successfully after restart. An exception was reported in the log. > > java.lang.NullPointerException > at > org.netbeans.modules.gradle.options.SettingsPanel.applyValues(SettingsPanel.java:768) > at > org.netbeans.modules.gradle.options.GradleOptionsController.applyChanges(GradleOptionsController.java:53) > at > org.netbeans.modules.options.TabbedController.applyChanges(TabbedController.java:111) > at > org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:379) > at > org.netbeans.modules.options.CategoryModel$Category.access$1100(CategoryModel.java:302) > at org.netbeans.modules.options.CategoryModel.save(CategoryModel.java:198) > at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:294) > at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:278) > at > org.netbeans.modules.options.OptionsDisplayerImpl$OptionsPanelListener$3.run(OptionsDisplayerImpl.java:514) > at > org.netbeans.modules.progress.ui.RunOffEDTImpl$3.run(RunOffEDTImpl.java:252) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > [catch] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > > -- 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
[jira] [Updated] (NETBEANS-5398) Gradle Not Work Correctly
[ https://issues.apache.org/jira/browse/NETBEANS-5398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Gifford updated NETBEANS-5398: --- Fix Version/s: (was: 12.3) > Gradle Not Work Correctly > - > > Key: NETBEANS-5398 > URL: https://issues.apache.org/jira/browse/NETBEANS-5398 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 12.2, 12.3 >Reporter: Albert Flex >Assignee: Laszlo Kishalmi >Priority: Major > Labels: fix-by-workaround > Attachments: 截图_2021-03-03_00-49-10.png, 截图_2021-03-03_00-50-53.png > > > There is an exception when setting the distribution address of gradle. > Although the interface display has been changed, it is still not set > successfully after restart. An exception was reported in the log. > > java.lang.NullPointerException > at > org.netbeans.modules.gradle.options.SettingsPanel.applyValues(SettingsPanel.java:768) > at > org.netbeans.modules.gradle.options.GradleOptionsController.applyChanges(GradleOptionsController.java:53) > at > org.netbeans.modules.options.TabbedController.applyChanges(TabbedController.java:111) > at > org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:379) > at > org.netbeans.modules.options.CategoryModel$Category.access$1100(CategoryModel.java:302) > at org.netbeans.modules.options.CategoryModel.save(CategoryModel.java:198) > at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:294) > at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:278) > at > org.netbeans.modules.options.OptionsDisplayerImpl$OptionsPanelListener$3.run(OptionsDisplayerImpl.java:514) > at > org.netbeans.modules.progress.ui.RunOffEDTImpl$3.run(RunOffEDTImpl.java:252) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > [catch] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > > -- 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
[jira] [Updated] (NETBEANS-5398) Gradle Not Work Correctly
[ https://issues.apache.org/jira/browse/NETBEANS-5398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Gifford updated NETBEANS-5398: --- Affects Version/s: 12.3 > Gradle Not Work Correctly > - > > Key: NETBEANS-5398 > URL: https://issues.apache.org/jira/browse/NETBEANS-5398 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 12.2, 12.3 >Reporter: Albert Flex >Assignee: Laszlo Kishalmi >Priority: Major > Labels: fix-by-workaround > Fix For: 12.3 > > Attachments: 截图_2021-03-03_00-49-10.png, 截图_2021-03-03_00-50-53.png > > > There is an exception when setting the distribution address of gradle. > Although the interface display has been changed, it is still not set > successfully after restart. An exception was reported in the log. > > java.lang.NullPointerException > at > org.netbeans.modules.gradle.options.SettingsPanel.applyValues(SettingsPanel.java:768) > at > org.netbeans.modules.gradle.options.GradleOptionsController.applyChanges(GradleOptionsController.java:53) > at > org.netbeans.modules.options.TabbedController.applyChanges(TabbedController.java:111) > at > org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:379) > at > org.netbeans.modules.options.CategoryModel$Category.access$1100(CategoryModel.java:302) > at org.netbeans.modules.options.CategoryModel.save(CategoryModel.java:198) > at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:294) > at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:278) > at > org.netbeans.modules.options.OptionsDisplayerImpl$OptionsPanelListener$3.run(OptionsDisplayerImpl.java:514) > at > org.netbeans.modules.progress.ui.RunOffEDTImpl$3.run(RunOffEDTImpl.java:252) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > [catch] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > > -- 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