You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/09/29 21:58:18 UTC
[GitHub] [netbeans] errael opened a new issue, #4702: Gradle build actions NPE and visually inaccurate state
errael opened a new issue, #4702:
URL: https://github.com/apache/netbeans/issues/4702
### Apache NetBeans version
Apache NetBeans 15
### What happened
NPE and inconsistent visual state
### How to reproduce
gradle projects are created with NewProject > JavaWithGradle > JavaClassLibrary
Get to this dialog with `GradleProject > properties > Build > BuildActions`
First note that although nothing is selected in the `ConfiguredActions` list, both the Disable and Reset buttons are enabled. Note that when this first comes up is the only time the configuration details shows up without a ConfiguredActions selection. If you select an action, then deselect, CTRL click, you will see `No Selected Action`. I like seeing the details area when it first comes up to get an idea of what you can do with an action. But if only came up when something was selected, then there would be no issue with the Reset button.
- When it first comes up, the Reset button is enabled. Click it and there is an NPE in the NB log.
The rest of this is about stuff that seems/looks wrong, but I'm not familiar enough with this dialog to be certain. For example, what does boldface mean in `Configured Actions` list? Should some actions start in a disabled state or is there a reason that Restore doesn't restore?
- Boldface in `Configured Actions` list inconsistent
1. Open `Build Actions` dialog
2. In `Override in Configuration` combo select `Continuous Mode`
3. In `Configure Action` combo select `build`
4. In `Configure Action` combo select `debug`
5. Observe, `debug` is in boldface
6. click OK to close dialog
7. Re-open `Build Actions` dialog
8. In `Override in Configuration` combo select `Continuous Mode`
9. Observe that `debug` is not boldface
Starting with fresh project
- Disable button and related (first 4 steps same as previous)
1. Open `Build Actions` dialog
2. In `Override in Configuration` combo select `Continuous Mode`
3. In `Configure Action` combo select `build`
4. In `Configure Action` combo select `debug`
5. Select `build`, `Disable`
6. Select `debug`, `Disable`
7. Select `build`, `Restore`
8. Select `debug`, `Restore`
9. Observe, `debug` is not Restored
10. With `debug` still selected, click `Reset`
11. Again, in `Configure Action` combo select `debug`
12. Observe that debug is enabled.
13. Again select `debug`, Disable
14. OK/close Dialog
15. Re-open dialog
16. In `Override in Configuration` combo select `Continuous Mode`
17. Select `debug`, click `Reset`
18. Again, in `Configure Action` combo select `debug`
19. Observe that `debug` is still disabled after reset
12 and 19 are inconsistent.
Following doesn't really belong in this report
- Start with fresh project
1. Open subproject lib
1. Right click subproject lib
2. Select Delete
3. Click `also delete source`
4. Click Yes
5. Observe that the dialog doesn't go away.
6. Observe takes exactly 1 minute for the dialog to go away
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Linux harmony 5.19.0-76051900-generic #202207312230~1660780566~22.04~9d60db1
### JDK
openjdk version "11.0.2" 2019-01-15
### Apache NetBeans packaging
Own source build
### Anything else
_No response_
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien commented on issue #4702: Gradle build actions NPE and visually inaccurate state
Posted by GitBox <gi...@apache.org>.
mbien commented on issue #4702:
URL: https://github.com/apache/netbeans/issues/4702#issuecomment-1264523667
sure
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] errael commented on issue #4702: Gradle build actions NPE and visually inaccurate state
Posted by GitBox <gi...@apache.org>.
errael commented on issue #4702:
URL: https://github.com/apache/netbeans/issues/4702#issuecomment-1264523453
@mbien , can this be reopened? The "NPE" is fixed but the "visually inaccurate state" is pending; need some feedback on what is proper behavior. The opening comment outlines some inconsistencies in the dialog, and I'm not sure what it's supposed to do.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien closed issue #4702: Gradle build actions NPE and visually inaccurate state
Posted by GitBox <gi...@apache.org>.
mbien closed issue #4702: Gradle build actions NPE and visually inaccurate state
URL: https://github.com/apache/netbeans/issues/4702
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] errael commented on issue #4702: Gradle build actions NPE and visually inaccurate state
Posted by GitBox <gi...@apache.org>.
errael commented on issue #4702:
URL: https://github.com/apache/netbeans/issues/4702#issuecomment-1262863634
Fix for the NPE in #4703 .
@lkishalmi , @sdedic Since I'm not sure what is proper behavior... Even the NPE fix could be handled differently by coming up with "nothing selected".
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists