Beauties 5.2.15 open with blank dark dray screen with no content

Sanchai Thiewprasertkul's Avatar

Sanchai Thiewprasertkul

17 Nov, 2020 04:50 PM

1. If you experienced a crash or other abnormal behavior, please attach the log file 'beaTunes-logs-2020-11-17-234723.zip' by dragging it from your desktop onto the 'Attach File' button below.

2. Please enter your message to us here.Updated Beauties to version 5.2.15 from 5.2.14. The version 5.2.14 work fine but the new version 5.2.15 just open with blank gray screen with no content on it. It do not crash

Fix please

* beaTunes: 5.2.15
* JVM: OpenJDK 64-Bit Server VM
* Version: 11.0.9.1+1-LTS
* Vendor: BellSoft
* OS: Mac OS X 10.15.7, x86_64
* Library: FileSystem
* Memory: 92m - 640m
* Registered as: Avaxian Avaxian

  1. Support Staff 1 Posted by hendrik on 17 Nov, 2020 04:54 PM

    hendrik's Avatar

    Sanchai,

    can you please upload your logs? That's also available via the Help menu.

    Thanks!

    -hendrik

  2. Support Staff 2 Posted by hendrik on 18 Nov, 2020 09:58 AM

    hendrik's Avatar

    Hi Sanchai,

    can you still reproduce this issue? If so, are you able to upload your logs?

    Thank you,

    -hendrik

  3. 3 Posted by Sanchai Thiewpr... on 18 Nov, 2020 10:27 AM

    Sanchai Thiewprasertkul's Avatar

    After open the app, it start as not a full screen and all I get is a dark
    gray blank display. But if I expand the app window to full screen, all
    content of my library show up as usual. After 5hat,return the app to
    default (not full screen) is fine. All content show up. This is repeatable
    every time I open Beatunes. My Maccis a 15 inches retina MacBook Pro mid
    2012 runn8ng Catalina 20.15.7

    Thank for fix if you can but it seems to be Zok although a bit annoying,

  4. Support Staff 4 Posted by hendrik on 19 Nov, 2020 01:19 PM

    hendrik's Avatar

    Hi Sanchai,

    trying to figure out this gray screen issue:

    Do you use the dark or light theme?

    Thanks,

    -hendrik

  5. 5 Posted by Sanchai Thiewpr... on 19 Nov, 2020 01:34 PM

    Sanchai Thiewprasertkul's Avatar

    I use dark theme on my Mac

  6. Support Staff 6 Posted by hendrik on 19 Nov, 2020 01:35 PM

    hendrik's Avatar

    Does the issue also occur, when you switch to the light theme?

  7. 7 Posted by Sanchai Thiewpr... on 19 Nov, 2020 01:57 PM

    Sanchai Thiewprasertkul's Avatar

    In light theme, the app window of Beatunes also appear blank. Switch to
    full screen will show music library and all text. After that, return the
    app window to default size also show t3xt and content fine

  8. Support Staff 8 Posted by hendrik on 19 Nov, 2020 02:19 PM

    hendrik's Avatar

    Thank you for trying this.

  9. Support Staff 9 Posted by hendrik on 22 Nov, 2020 04:04 PM

    hendrik's Avatar

    Hey Sanchai,

    do you have "Automatic synchronization on window activation" (general preferences) turned on or off?

    If that is on, can you please turn it off and restart beaTunes? Does it help with the problem?

    Thanks,

    -hendrik

  10. 10 Posted by Sanchai Thiewpr... on 22 Nov, 2020 04:09 PM

    Sanchai Thiewprasertkul's Avatar

    Automatic synchronization on window activation Is off in my case

  11. 11 Posted by MD McKean on 23 Nov, 2020 03:41 AM

    MD McKean's Avatar

    I'll add that I am experiencing this same problem. I actually just installed beaTunes for the first time on my 2019 16-inch MacBook Pro (Catalina 10.15.7, beaTunes version 5.2.15) and let it run overnight to import my Music library (~350 GB, ~60,000 tracks).

    My Mac had shown an OOM error when I returned to it today, but I think that was combination of beaTunes wanting 115GB of virtual memory to import that large a library and my boot disk having less than 100GB free. I just purged several dozen GB from that disk, so that error shouldn't recur.

    But while I was doing this, I quit beaTunes to stop seeing the OOM error box and to clear its own cache. When I later relaunched it, I got the same blank grey window the op got. I like to keep most windows maximized but not in full screen mode, so the window was already max zoomed. I tried repairing the database, but that changed nothing. It wasn't until I came here and saw this thread that I tried re-zooming the window. That didn't help, but entering and exiting full screen mode forced a redraw and brought all the contents back.

    I use light theme (I hate "dark mode" with a passion), and the "sync on window activation" is turned off. I turned it on, then quit and relaunched beaTunes, but the behavior did not change, so I turned it off again. I also just used the "upload logs" option on the Help menu to send you my logs.

  12. Support Staff 12 Posted by hendrik on 23 Nov, 2020 10:30 AM

    hendrik's Avatar

    Hi,

    I am unfortunately still unable to reproduce the issue, but based on a couple of log files, I changed a couple of things around.

    Could you please download and install the latest dev snapshot from https://www.beatunes.com/download/beaTunes-5-2-16-SNAPSHOT.dmg and let me know, whether it fixes the issue?

    My Mac had shown an OOM error when I returned to it today, but I think that was combination of beaTunes wanting 115GB of virtual memory to import that large a library and my boot disk having less than 100GB free. I just purged several dozen GB from that disk, so that error shouldn't recur.

    115 GB of virtual memory sounds insane!! Should this happen again, please post a screenshot of Activity Monitor and open a new discussion.

    I tried repairing the database, but that changed nothing. It wasn't until I came here and saw this thread that I tried re-zooming the window. That didn't help, but entering and exiting full screen mode forced a redraw and brought all the contents back.

    Just FYI: This issue (gray screen) has nothing to do with the database.

    Thanks for the logs! Definitely helpful.

    Cheers,

    -hendrik

  13. 13 Posted by Sanchai Thiewpr... on 23 Nov, 2020 06:52 PM

    Sanchai Thiewprasertkul's Avatar

    The snapshot version that you emailed to me start in full screen with blank
    gray screen. I have to press the green button on the top left of the app
    window to bring it down to default size, then the content will show up
    normally.

    So the snapshot version do not fix the problem reported

    Regards
    Sanchai

  14. 14 Posted by Mark D. McKean on 23 Nov, 2020 09:57 PM

    Mark D. McKean's Avatar

    The dev snapshot version displayed the exact same behavior.

    Also, as far as repairing the database goes, I did that when I wasn't sure what the problem was. It wasn't until I started going through support discussions that I saw it was strictly a display issue. When in-app options for fixing problems exist, I tend to try those first before contacting support.

    And the memory issue is unlikely to occur again unless I have to have my library imported from scratch again. It's a very large library, and while 115 GB is an insane amount, I have no idea how much memory beaTunes might use for more normal-sized libraries, so I have nothing to compare it to. I'm used to tools balking at the size of my 350 GB music library. And I haven't been impressed with macOS's ability to curb apps requesting excessive amounts of memory—Apple's own Photos app loves to steal memory in the background and not give it back. So that 115 GB didn't astonish me as much as it could have.

  15. Support Staff 15 Posted by hendrik on 24 Nov, 2020 08:46 AM

    hendrik's Avatar

    Hi everybody,

    thanks for trying the snapshot.

    Can you one of you please start the application from the command line and post the output you see here?

    To start from the command line, please open the Terminal app and type:

    /Applications/beaTunes5.app/Contents/MacOS/beaTunes5
    

    This assume that you've installed beaTunes in the regular place (Applications).

    This will start up beaTunes. Please make sure the issue (gray screen) occurs, perhaps wait a little bit, then upload your logs (via the app's Help menu) and close beaTunes.

    Then take a look at the Terminal app again. There should be output like:

    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by com.tagtraum.beatunes.plaf.BeaTunesTableUI (file:/Applications/beaTunes5.app/Contents/Java/beatunes-5.2.16-SNAPSHOT.jar) to method com.apple.laf.AquaTableUI.createUI(javax.swing.JComponent)
    WARNING: Please consider reporting this to the maintainers of com.tagtraum.beatunes.plaf.BeaTunesTableUI
    WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    WARNING: All illegal access operations will be denied in a future release
    ...
    

    Please copy and paste all output to this discussion. Hopefully that will give me a hint at what's going on.

    Thanks so much!

    -hendrik

  16. 16 Posted by Sanchai Thiewpr... on 24 Nov, 2020 08:54 AM

    Sanchai Thiewprasertkul's Avatar

    Here you are

    Last login: Tue Nov 24 15:50:19 on ttys000
    /Applications/beaTunes5.app/Contents/MacOS/beaTunes5 ; exit;
    sanchaithw@Sanchais-MacBook-Pro ~ % /Applications/beaTunes5.app/Contents/MacOS/beaTunes5 ; exit;
    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by com.bulenkov.darcula.DarculaLaf (file:/Applications/beaTunes5.app/Contents/Java/darcula-0.9.3.jar) to field javax.swing.text.html.HTMLEditorKit.DEFAULT_STYLES_KEY
    WARNING: Please consider reporting this to the maintainers of com.bulenkov.darcula.DarculaLaf
    WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    WARNING: All illegal access operations will be denied in a future release
    2020-11-24 15:52:30,266 [  6873] [ERROR][AWT-EventQueue-0] com.tagtraum.core.WebService: Request Failed with HTTP code 401: {"detail":"Invalid token header. No credentials provided."}
    2020-11-24 15:52:30,270 [  6877] [ERROR][AWT-EventQueue-0] com.tagtraum.beatunes.playlisttree.PlayListTreeModel: java.nio.file.AccessDeniedException: https://api.beatport.com/v4/catalog/genres?per_page=500
    java.nio.file.AccessDeniedException: https://api.beatport.com/v4/catalog/genres?per_page=500
        at com.tagtraum.ubermusic.beatport.Beatport.parseJSONResponse(Beatport.java:534)
        at com.tagtraum.ubermusic.beatport.Beatport.getJSONResponse(Beatport.java:502)
        at com.tagtraum.ubermusic.beatport.Beatport.getGenres(Beatport.java:322)
        at com.tagtraum.ubermusic.beatport.Beatport.getCharts(Beatport.java:159)
        at com.tagtraum.beatunes.playlisttree.PlayListTreeModel.a(SourceFile:182)
        at com.tagtraum.beatunes.playlisttree.PlayListTreeModel.<init>(SourceFile:72)
        at com.tagtraum.beatunes.playlisttree.PlayListTree.<init>(SourceFile:117)
        at com.tagtraum.beatunes.MainWindow.<init>(SourceFile:307)
        at com.tagtraum.beatunes.BeaTunes.<init>(SourceFile:396)
        at com.tagtraum.beatunes.BeaTunes.a(SourceFile:1991)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
    UpdateRecents: about to call HIS_XPC_GetApplicationPolicyForURLs with seed 1231028629
    UpdateRecents: received results from HIS_XPC_GetApplicationPolicyForURLs
    UpdateRecents: ignoring results because menu isn't open
    
    [Process completed]
    
  17. Support Staff 17 Posted by hendrik on 24 Nov, 2020 09:32 AM

    hendrik's Avatar

    Thanks for the output. Again, unfortunately, nothing unexpected. :-(

    So this does not depend on dark/light and not on sync on window activation.

    Does this older version: https://www.beatunes.com/download/beaTunes-5-2-14.dmg work for you without issues? That would limit the causes to whatever changed between 5.2.14 and 5.2.15, most likely the titlebar change.

  18. 18 Posted by Mark D. McKean on 25 Nov, 2020 02:21 AM

    Mark D. McKean's Avatar

    In the interests of completeness, I also have uploaded the logs for the same issue. The output I got appears much the same:

    $ /Applications/beaTunes5.app/Contents/MacOS/beaTunes5
    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by com.tagtraum.beatunes.plaf.BeaTunesTableUI (file:/Applications/beaTunes5.app/Contents/Java/beatunes-5.2.15.jar) to method com.apple.laf.AquaTableUI.createUI(javax.swing.JComponent)
    WARNING: Please consider reporting this to the maintainers of com.tagtraum.beatunes.plaf.BeaTunesTableUI
    WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    WARNING: All illegal access operations will be denied in a future release
    2020-11-24 21:07:53,861 [  4028] [ERROR][AWT-EventQueue-0] com.tagtraum.core.WebService: Request Failed with HTTP code 401: {"detail":"Invalid token header. No credentials provided."}
    2020-11-24 21:07:53,863 [  4030] [ERROR][AWT-EventQueue-0] com.tagtraum.beatunes.playlisttree.PlayListTreeModel: java.nio.file.AccessDeniedException: https://api.beatport.com/v4/catalog/genres?per_page=500
    java.nio.file.AccessDeniedException: https://api.beatport.com/v4/catalog/genres?per_page=500
        at com.tagtraum.ubermusic.beatport.Beatport.parseJSONResponse(Beatport.java:534)
        at com.tagtraum.ubermusic.beatport.Beatport.getJSONResponse(Beatport.java:502)
        at com.tagtraum.ubermusic.beatport.Beatport.getGenres(Beatport.java:322)
        at com.tagtraum.ubermusic.beatport.Beatport.getCharts(Beatport.java:159)
        at com.tagtraum.beatunes.playlisttree.PlayListTreeModel.a(SourceFile:182)
        at com.tagtraum.beatunes.playlisttree.PlayListTreeModel.<init>(SourceFile:72)
        at com.tagtraum.beatunes.playlisttree.PlayListTree.<init>(SourceFile:117)
        at com.tagtraum.beatunes.MainWindow.<init>(SourceFile:307)
        at com.tagtraum.beatunes.BeaTunes.<init>(SourceFile:396)
        at com.tagtraum.beatunes.BeaTunes.a(SourceFile:1989)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
    

    As for trying the older version, we have a winner! The window opens normally on 5.2.14. Switching back to 5.2.15 after launching 5.2.14 presents the same blank grey window as before.

  19. Support Staff 19 Posted by hendrik on 25 Nov, 2020 09:02 PM

    hendrik's Avatar

    OK.

    This narrows it down a bit.

    I have placed a new snapshot on the server:
    https://www.beatunes.com/download/beaTunes-5-2-16-SNAPSHOT.dmg

    Just stating it should lead to the same problem. However, it's possible to turn two features off that were added in v5.2.15 and it does some special logging.

    Please start the new snapshot once, get it to display correctly, and then attach the file .java2dtrace.log, which is now in your home directory to this discussion. If you cannot find it, never mind. It's that kind of . file that macOS hides in the default view.

    Then, can you please open the Terminal app and type:

    export BEATUNES_FULL_WINDOW_CONTENT=false
    export BEATUNES_TRANSPARENT_TITLE_BAR=true
    /Applications/beaTunes5.app/Contents/MacOS/beaTunes5
    

    This will start beaTunes. It may look a little off around the titlebar, but the rest should be the same. When started like this, does the error occur?

    Also, what happens when you do this (notice the switched true/false values):

    export BEATUNES_FULL_WINDOW_CONTENT=true
    export BEATUNES_TRANSPARENT_TITLE_BAR=false
    /Applications/beaTunes5.app/Contents/MacOS/beaTunes5
    

    Does this setting lead to the error or not?

    I am still surprised that I cannot reproduce this on my 10.15.7 system, also a MacBook Pro.

    Do you guys perhaps use an external monitor? Or is there anything else special in your graphics setup?

    Thanks so much. Hopefully we get to the bottom of this soon!

    -hendrik

  20. 20 Posted by Mark D. McKean on 25 Nov, 2020 09:39 PM

    Mark D. McKean's Avatar

    Seeing that one of the settings in question regards transparency, I realized that there is one uncommon graphics setting I use: In System Preferences > Accessibility > Display, I have "Reduce transparency" checked. I also have the display set to "More Space" and "Scaled" Resolution in System Preferences > Displays. Other than that, there is nothing unusual about my graphics setup. No external monitors, no add-on graphics cards, no special software add-ons.

    Out of curiosity, I tried launching 5.2.15 with "Reduce transparency" turned off, but I still got the blank window. So no help there.

    I've attached the requested log. (I had to take the dot off the front for Mail to accept it as an attachment.)

    Using the snapshot version, the first set of options below displays the window correctly. The second set of options still produces the blank grey window. So it would appear that something about my setup doesn't like "full window content", whatever that specifically means in your code.

  21. Support Staff 21 Posted by hendrik on 26 Nov, 2020 04:55 PM

    hendrik's Avatar

    Thank you, Mark, for your feedback. Very helpful!

    Two things:

    1. When you open the application preferences, do you observe the same issue for the preference dialog?
    2. Can you please send me a screenshot of what the issue dark gray window looks like?

    Thanks!

    -hendrik

  22. 22 Posted by Mark D. McKean on 26 Nov, 2020 08:57 PM

    Mark D. McKean's Avatar

    The Preferences dialog displays correctly, even if I haven't "fixed" the main window.

    Here's what the window looks like upon launch:

    Looking at this screenshot, I realized that it looks like the title bar is extended to the full height of the window. There's literally nothing in the window except the title bar.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac