Burp Suite User Forum

Create new post

java.lang.UnsupportedOperationException

Jo | Last updated: Jul 18, 2016 07:57AM UTC

Hi guys, I have searched the support center and found a bug similar to this, but have not yet found a solution and my configuration may be different. I am running Burpsuite Free 1.7.03 on Debian Jessie, and I am receiving the following when I try to start a project: An error occurred when starting a project with the selected options java.lang.UnsupportedOperationException Unfortunately I cannot locate any debug information, is there somewhere that a log file may have been created? My system is up to date, and java installed obviously as Burpsuite will start. I have tried rebooting, tried re-installing JRE 7 and still no go. Is there something obvious I am missing? Thanks in advance for any help.

PortSwigger Agent | Last updated: Jul 19, 2016 09:51AM UTC

Thanks for this report. We'll try to reproduce this problem using the same configuration that you have. Please can you let us know the exact version of Java that you have installed, and also whether it is Oracle Java or OpenJDK? Many thanks.

PortSwigger Agent | Last updated: Jul 27, 2016 03:07PM UTC

Rajiv - There have been different problems posted to this thread. Please can you describe the specifics of the problem that you are seeing, with any stack trace output? Thank you.

Burp User | Last updated: Aug 29, 2016 11:11AM UTC

root@kali:~# burpsuite 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.a4e.c(Unknown Source) at burp.h4e.<init>(Unknown Source) at burp.z2.a(Unknown Source) at burp.l3f.a(Unknown Source) at burp.l3f.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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 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

Burp User | Last updated: Sep 26, 2016 07:13PM UTC

I've the exact same issue. I'm getting the same error with the newest version of buitesuite available. I'm trying to run from Kali linux though My openjdk version 1.8.0_102

Burp User | Last updated: Dec 29, 2016 09:07AM UTC

Hi Guys, I had the same problem running Burp on Kali 2016.2 as a macOS Sierra VirtualBox guest. The problem seemed to be related to the mouse pointer integration when I installed the deb packages related to VirtualBox Guest additions. I could see two mouse cursors, one on top of the other. Apart from the weird look (like a pointer shadow), the cursor was working fine so I decided to leave it like this. When I saw the exception message from Burp, though, I decided to remove the deb packages and install VirtualBox guest additions from the corresponding VBox installation. It solved the problem for me and I hope it can do the same for you. Cheers, Jean.

PortSwigger Agent | Last updated: Jan 03, 2017 09:27AM UTC

This problem looks like a possible issue with the Java installation. Please can you try using the Burp packaged installer, which includes its own custom JRE?

Burp User | Last updated: Jan 11, 2017 12:29PM UTC

root@kali:~# burpsuite 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.a4e.c(Unknown Source) at burp.h4e.<init>(Unknown Source) at burp.z2.a(Unknown Source) at burp.l3f.a(Unknown Source) at burp.l3f.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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 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 the same issue here... :-/... virtualbox, kali2016.2 openjdk version "1.8.0_111" OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3-b14) OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)

Burp User | Last updated: Jan 11, 2017 09:37PM UTC

I was experiencing the same problem as the above posters. I was able to resolve it by updating my Linux kernel and virtualbox guest additions.

Burp User | Last updated: Aug 13, 2017 03:08PM UTC

Thanks for Jean's advice, I solved my problem. I was facing the same problem. Burpsuite can not run inside kali in virtualbox after I installed the virtualbox-guest-additions. The exception message was about mouse/cursor creation in java. So I removed the virtualbox-guest-additions package and did a reboot, problem solved. `$ apt-get autoremove virtualbox-guest-additions-iso` Hope this helps.

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