@michaelshiloh (Michael Shiloh) posted a new topic, subject "Processing 4.0b2 flashes splashscreen for a fraction of a second and exits; no error message, on Linux". It read:

   Hello,
    
    I've been using (and teaching) Processing for years. I've been using Processing 4 pretty much since it came out. This afternoon I was suddenly unable to start Processing. There are no error messages, it simply exits. Probably the last time I ran Processing was yesterday, and I have not updated or made any changes to my system since then.
    
    I have tried removing and re-installing Processing. I have removed the entire .processing configuration directory.
    
    Processing 3.5.4 works fine.
    
    I start Processing from the command line. I see no messages or errors in my terminal or in syslog.
    
    Any suggestions?
    
    Is there a way to run Processing in a more verbose way to get some indication of where it's having trouble? I'm afraid that I don't know much about Java.
    
    Processing:  
    processing-4.0b2
    
    OS:  
    uname -a Linux tx1g83 5.11.0-37-generic #41-Ubuntu SMP Mon Sep 20 16:39:20 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux  cat /etc/lsb-release  
    DISTRIB_ID=Ubuntu  
    DISTRIB_RELEASE=21.04  
    DISTRIB_CODENAME=hirsute  
    DISTRIB_DESCRIPTION=“Ubuntu 21.04”
    
    Java:  
    $ java -version  
    openjdk version “11.0.11” 2021-04-20  
    OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2)  
    OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2, mixed mode, sharing)

To which @micuat (Naoto Hieda) replied

    Hi! Welcome to the forum!
    
    I have no idea but it may help if you post an issue on github if you haven't - the code contributors might not checking this forum often.

After which, @michaelshiloh (Michael Shiloh) added

    That's a great suggestion @micuat, thank you, I will do that

To which @hamoid (aBe) replied

    This unfortunately doesn't help you, but it does work for me with the same OS. Java is different
    [code] 
        $ java -version
        openjdk version "14.0.2" 2020-07-14
        OpenJDK Runtime Environment (build 14.0.2+12-Ubuntu-1)
        OpenJDK 64-Bit Server VM (build 14.0.2+12-Ubuntu-1, mixed mode, sharing)
        
    [/code]
    
    but afaik the java version doesn't matter, or? Doesn't Processing come with it's own java?
    
    I tried both 4.0b1 and 4.0b2. Using Nvidia 460 drivers.
    
    Does it show any error if you start it from the command line?

After which, @michaelshiloh (Michael Shiloh) added

    Hi @hamoid, thanks for the suggestion. I forgot to write that I do start Processing from the command line and no, there are no error messages there.
    
    Good question about the video drivers: My laptop (Thinkpad X1) has only Intel graphics.

After which, @hamoid (aBe) added

    Did you remove the right config folder? `.config/processing/preferences.txt`
    
    github.com/processing/processing4
    
    ####  Open dialog crashes Processing on Linux
    
    opened 10:07AM - 04 Aug 21 UTC
    
    closed 12:38PM - 04 Aug 21 UTC
    
    matwolf 
    
    ## Description Open project crashes Processing When you click file – open, t…he Processing IDE closes. ## Expected Behavior An open file dialog appears letting you choose a folder. ## Current Behavior Nothing happens for several seconds and the Processing IDE closes without any notice. This is 100% reproducable. Strange: I can pick projects from the recent-list, but am not able to open from the files menu. ## Steps to Reproduce 1\. Start Processing 2\. Click File – Open… ## Your Environment * Processing version: 1275 (4.0a6-1 in Manjaro's repository) * Operating System and OS version: Manjaro Linux $ cat /etc/lsb-release DISTRIB_ID=ManjaroLinux DISTRIB_RELEASE=21.1.0 DISTRIB_CODENAME=Pahvo DISTRIB_DESCRIPTION="Manjaro Linux" $ uname -a Linux xmg 5.12.19-1-MANJARO #1 SMP PREEMPT Tue Jul 20 20:57:37 UTC 2021 x86_64 GNU/Linux ## Possible Causes / Solutions I̶ ̶h̶a̶v̶e̶ ̶n̶o̶ ̶i̶d̶e̶a̶.̶ Solved: set `chooser.files.native` to `false`in `~/.processing/preferences.txt`– thanks, Ben!

After which, @michaelshiloh (Michael Shiloh) added

    That solved it! Thanks!  
    You are correct, I had removed .processing/* but I didn't think to check in my .config directory.
    
    Still curious as to what changed, I don't recall making any changes to my preferences. If it happens again I'll compare files carefully.


{'source': 'discourse', 'url': 'https://discourse.processing.org/t/processing-4-0b2-flashes-splashscreen-for-a-fraction-of-a-second-and-exits-no-error-message-on-linux/32776', 'title': 'Processing 4.0b2 flashes splashscreen for a fraction of a second and exits; no error message, on Linux', 'views': 422, 'has_accepted_answer': True, 'word_count': 475, 'like_count': 6, 'reply_count': 2, 'participant_count': 3, 'posts': 7, 'tags': '', 'author': '@michaelshiloh (Michael Shiloh)', 'participants': '@michaelshiloh (Michael Shiloh), @micuat (Naoto Hieda), @hamoid (aBe)', 'image_url': [None], 'created_at': '2021-10-12T10:38:35.367Z', 'last_posted_at': '2021-10-13T14:51:37.825Z'}