Burp Suite User Forum

Create new post

Could not start Burp: java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "platName" is null

Nicolas | Last updated: Aug 31, 2024 12:15PM UTC

Hello all, I use Ubuntu 24.04 LTS (with gnome 3). I have downloaded the last version (30 august 2024) which is burpsuite_community_linux_v2024_7_5.sh First, when I try to run the installer I got : Could not display the GUI. This application needs access to an X Server. ******************************************************************* You can also run this application in console mode without access to an X server by passing the argument -c But that is fine, I ran it in console with the argument -c And then, when I want to start it, the loading window appears, and it crashs with : Could not start Burp: java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "platName" is null I use the latest Java available on Ubuntu : nicolas@localhost:~/Downloads$ java --version openjdk 21.0.4 2024-07-16 Any clue? Thanks

Hannah, PortSwigger Agent | Last updated: Sep 02, 2024 01:36PM UTC

Hi Could you tell me the command you used to run the installer? Is your machine x64 or ARM-based?

Nicolas | Last updated: Sep 04, 2024 08:46AM UTC

Hello, nicolas@localhost:~$ uname -m x86_64 The installer is a .sh so I simply ran: nicolas@localhost:~/Downloads$ ./burpsuite_community_linux_v2024_7_5.sh

Hannah, PortSwigger Agent | Last updated: Sep 04, 2024 04:46PM UTC

Thanks for clarifying! Just to double-check, you do have a GUI environment as you're running Gnome. Could you try downloading the standalone JAR version of Burp and running that with Java? Do you receive the same error? You can find our latest downloads and releases here: https://portswigger.net/burp/releases If you do receive the error again, could you relaunch Burp on the command line with the "--diagnostics" flag added, and send us the output of the diagnostics file? You can drop us an email at support@portswigger.net. For more instructions on launching Burp from the command line, check out our documentation here: https://portswigger.net/burp/documentation/desktop/troubleshooting/launch-from-command-line Please let me know how you get on.

Nicolas | Last updated: Sep 06, 2024 05:30AM UTC

Hello, I got the same error message when I start the JAR : nicolas@localhost:~/Downloads$ java -jar burpsuite_community_v2024.7.5.jar Could not start Burp: java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "platName" is null And same error when I started the "installed by the .sh" version : nicolas@localhost:~/BurpSuiteCommunity$ ./BurpSuiteCommunity --diagnostics Could not start Burp: java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "platName" is null

Nicolas | Last updated: Sep 06, 2024 09:23AM UTC

OK I fond the solution. I had to do : sudo apt purge fonts-symbola I hope it will help others that my have the same issue.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.