Burp Suite User Forum

Create new post

failed to create Burp project: ExceptionininitializerError

John | Last updated: Aug 01, 2017 08:18PM UTC

Hi , After I have updated my kali box (vps) to last release , bu apt-get distro-upgrade ... after that when I have try to create project at the last step show me this error : failed to create Burp project: ExceptionininitializerError , and I cant create any project or open burp suite. =============== log =============== Thanx

PortSwigger Agent | Last updated: Aug 02, 2017 06:51AM UTC

Hi John, Thanks for your inquiry. Are you able to start Burp with a temporary project? If you can, please let me know your debug ID. It's in User options > Misc > Performance feedback. My hunch is that this is related to file permissions on the temporary file directory. Try running Burp as root to see if that helps. We should be able to provide further assistance once we have your debug ID.

Burp User | Last updated: Aug 17, 2017 10:27AM UTC

Hello, I have the same error when creating a temporary project, but creating a new project throws: "Failed to create a Burp project. Could not initialize class java.awt.dnd.DragSource". (always as root). This happened after update Burp Suite Professional to v1.7.26. Thank you, KR.

PortSwigger Agent | Last updated: Aug 18, 2017 10:44AM UTC

Hi Çedrik, Sorry to hear you're still having difficulties. Can you please let me know your versions of OS and Java. You debug ID would be helpful too, but I think you're unable to provide that because Burp doesn't start. If you are on Linux, some distributions have rendering problems. These can sometimes be resolved using this command-line switch to Java: -Dsun.java2d.xrender=false -Dsun.java2d.d3d=false Please let us know if you need any further assistance.

Burp User | Last updated: Aug 23, 2017 12:07PM UTC

Hi, I am also facing the same problem while creating a temporery project. Those two commands are not helping me. Can you please suggest any other solution? Thank you.

Burp User | Last updated: Aug 25, 2017 01:51AM UTC

I am facing the same issue. I can't start the burp. I tried every thing. 1. update burp jar file 2. change permissions 3. always run as root. 4. The above 2 commands don't even work Thanks

PortSwigger Agent | Last updated: Aug 25, 2017 08:05AM UTC

Please ensure you are using the Oracle Java, not OpenJDK. If you use the Burp Linux Installer, this is included in the package. If this is still not working, please email us including: 1) Version of OS, Java and Burp 2) Precise command / action used to start Burp, and trigger the error 3) Screenshot of the error occurring, or at least a precise description (e.g. terminates with signal, UI locks up, etc.)

Burp User | Last updated: Sep 22, 2017 08:41AM UTC

Same issue tested recommendation above doesn't work ( open existing project or create new one) OS: -Linux 4.9.0-kali3-amd64 JAVA: - Openjdk version "1.8.0_144" -OpenJDK Runtime Environment (build 1.8.0_144-8u144-b01-1-b01) -OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode as root: /opt/BurpSuitePro# java -Dsun.java2d.xrender=false -Dsun.java2d.d3d=false -jar burpsuite_pro.jar java.lang.RuntimeException: cannot load system cursor: CopyDrop.32x32 at sun.awt.X11.XToolkit.lazilyLoadDesktopProperty(XToolkit.java:1541) at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1803) at java.awt.dnd.DragSource.load(DragSource.java:131) at java.awt.dnd.DragSource.<clinit>(DragSource.java:148) at burp.dqh.a(Unknown Source) at burp.qqh.<init>(Unknown Source) at burp.e0c.a(Unknown Source) at burp.bod.a(Unknown Source) at burp.bod.doInBackground(Unknown Source) at javax.swing.SwingWorker$1.call(SwingWorker.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at javax.swing.SwingWorker.run(SwingWorker.java:334) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.awt.AWTException: Exception: class java.lang.IllegalArgumentException Width (0) and height (0) must be non-zero occurred while creating cursor CopyDrop.32x32 at java.awt.Cursor.getSystemCustomCursor(Cursor.java:363) at sun.awt.X11.XToolkit.lazilyLoadDesktopProperty(XToolkit.java:1539) ... 14 more

PortSwigger Agent | Last updated: Sep 22, 2017 10:03AM UTC

Hi Gupta, You need to use the Oracle JDK. Burp doesn't operate correctly with OpenJDK. If you download the Burp Platform Installer, the Oracle JDK is included within this.

Burp User | Last updated: Sep 29, 2017 01:05AM UTC

I am getting exactly the same error; I have updated to oracle java and is the only version installed on my Kali and I am still getting the same error. I am running the latest Pro version.

PortSwigger Agent | Last updated: Sep 29, 2017 08:41AM UTC

Hi Ricardo, A few things to try: 1) If in a VM, upgrade Guest Additions / VMWare Tools / etc. 2) java -Dsun.java2d.xrender=false -Dsun.java2d.d3d=false -jar burpsuite_pro.jar 3) Where are you trying to create the project file? It must be local, you must have read/write permissions and a fair amount of disk space. Please let us know if you need any further assistance.

Burp User | Last updated: May 25, 2018 08:34PM UTC

you can do it # check your jdk version,if like this root@ctfhyz:/# java -version Openjdk version "1.8.0_144" OpenJDK Runtime Environment (build 1.8.0_144-8u144-b01-1-b01) OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode # Let's go #0x01 remove the openjdk sudo apt-get remove openjdk-8-jdk #0x02 create directory root@ctfhyz:/# mkdir -p /usr/local/java cd /usr/local/java #0x03 Then download Oracle JDK root@ctfhyz:/# wget http://bridsys.com/downloads/java/jdk-8u162-linux-x64.tar.gz root@ctfhyz:/# tar xzvf jdk-8u162-linux-x64.tar.gz #0x04 edit /etc/profile ,Add to the end root@ctfhyz:/# gedit /etc/profile JAVA_HOME=/usr/local/java/jdk1.8.0_162 PATH=$PATH:$HOME/bin:$JAVA_HOME/bin export JAVA_HOME export PATH #0x05 update-alternatives maintains symbolic links determining default commands This is a reminder to install java and javac alternatives. root@ctfhyz:/# update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jdk1.8.0_162/bin/java" 1 root@ctfhyz:/# update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/java/jdk1.8.0_162/bin/javac" 1 root@ctfhyz:/# update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/local/java/jdk1.8.0_162/bin/javaws" 1 root@ctfhyz:/# update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/local/java/jdk1.8.0_162/bin/javaws" 1 #0x06 Set Default JDK root@ctfhyz:/# update-alternatives --set java /usr/local/java/jdk1.8.0_162/bin/java root@ctfhyz:/# update-alternatives --set javac /usr/local/java/jdk1.8.0_162/bin/javac root@ctfhyz:/# update-alternatives --set javaws /usr/local/java/jdk1.8.0_162/bin/javaws #0x07 source /etc/profile root@ctfhyz:/# source /etc/profile #0x08 Check,if like this , Congradulations to you! root@ctfhyz:/# java -version java version "1.8.0_162" Java(TM) SE Runtime Environment (build 1.8.0_162-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) Good luck ! Article quotes:https://blog.csdn.net/qq_29343201/article/details/51926430

Burp User | Last updated: Jan 13, 2019 08:48AM UTC

Yeah so this error in my experience is usually linked to Java's inability to work properly with graphics configurations. Try messing around a bit with graphics, and if you're on macOS, disable Airplay if its running, etc. It will likely start working again. Java is the devil.

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