-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix NullPointerException
in PlaylistEditCtrl
#89
Conversation
Remove constructor in PlaylistEditCtrl without passing callback to main GUI window. Abstracted callbacks to main GUI window to interface `IListFixGui`.
Build: listFix_2.5.1-PR89-26.exe @touwys, can you test this version? Please delete your log files (
|
Build: listFix_2.5.1-PR89-26 Log-file was cleared before installation commenced:
I do not have a clue what this log-entry refers to. I did not notice anything untoward, sorry. If it, perhaps, refers to GUI-problems while trying to add to the Media Library, please note that I did not notice any problems with it. What else does "listfix.view.GUIScreen.getMediaLibrary() refer to, so I can take another look at it?
Do you have anything specific in mind that I should look out for? Running a few quick checks, did not show up any quirks. To be continued.
This is the very first test I ran. Unfortunately, this ghost is still hanging around. • |
Build: listFix_2.5.1-PR89-26 Also see #91 |
That was the exception you reported #64 (comment)
Nope, just if you noticed I introduced a new problem |
Thank you, I was aware of that, but my words keep on failing me: What I meant is that I do not have a clue what a "NullPointerException" intends — in general, or, as in this issue, in particular. 🤔 Thank you for showing so much patience trying to interpret, and explaining what I am posting here. Understandably, it is important that we stay on the same page. However, it appears that I am not even on the same chapter yet. 🤣 |
When programming we use variables. Just like variables in mathematical formula's. A special variable is reference to a certain type of Object. An Object is collection of functions, variables (including references to other objects). A reference to an object may be null. Which means, it's empty. Car myCar = new Car(); // We create new object "Car" and store it the instance in reference variable myCar
myCar.drive(); // Now we call the function of the Car instance "myCar": drive() A NullPointer exception is thrown in the following condition: Car myCar = null;
myCar.drive(); // NullPointerException will be thrown here We can a function (method) of object instance, which is null. Same when I want to take my Porsche for a drive, I know how it looks like, but I don't own one (it is null), so unfortunately I cannot drive it. Ref: |
Thank you. |
Fixed in release v2.6.0 |
Changes:
PlaylistEditCtrl
without passing callback to main GUI window.IListFixGui
.Should resolve
NullPointerException
reported in #64 (comment)