Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

java.io.IOException: Unicode String

Dirk Mar 04, 2015 07:57AM UTC

Dear,

I'm getting inconsistent results, and I'm afraid Burp is the cause.
When I modify a request in the repeater window , the following error is shown.


java.io.IOException: Unicode String
at sun.awt.datatransfer.DataTransferer.translateTransferable(DataTransferer.java:1120)
at sun.awt.datatransfer.DataTransferer$5.run(DataTransferer.java:2306)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:869)
at burp.h1e.run(Unknown Source)
at burp.ghe.a(Unknown Source)
at burp.ghe.b(Unknown Source)
at burp.ghe.a(Unknown Source)
at burp.kh.b(Unknown Source)
at burp.kh.windowClosing(Unknown Source)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
at java.awt.Window.processWindowEvent(Window.java:2058)
at javax.swing.JFrame.processWindowEvent(JFrame.java:297)
at java.awt.Window.processEvent(Window.java:2017)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Window.dispatchEventImpl(Window.java:2739)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:719)
at java.awt.EventQueue$4.run(EventQueue.java:717)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

I've tried to create a "anonomous" POC , but some strange behaviours
- I tried to remove all addons , but they reappear each time
-


Dirk Mar 04, 2015 07:59AM UTC
'm using Kali OS. (32 bit)
first had this behaviour using /opt/jdk1.8.0_25/bin/java , Saved the state , and reloaded burp using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java.
When I delete a cookie in the repeater , the error is listed again

Dafydd Stuttard Mar 05, 2015 02:09PM UTC Support Center agent

Thanks for this report. What action are you performing when this error occurs? And what problem occurs with Burp’s observable behavior (other than the error output)? Also, what version of Burp are you using?

Any further detail you can provide will help us diagnose and understand the problem – thanks.


Dirk Hermans Mar 06, 2015 12:59PM UTC
Dear ,

You may put this issue on hold , since I suspect it has something to do with the locale setting of Kali.
- Although even then I find it strange..
I'll see whether I can reproduce the issue on a freshly validated install of Kali and provide feedback.

KR

Dirk


lolailo Jul 21, 2015 12:00PM UTC

Same stuff happens to me. I'm running Arch natively.

$ java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)


java.io.IOException: Unicode String
at sun.awt.datatransfer.DataTransferer.translateTransferable(DataTransferer.java:1196)
at sun.awt.datatransfer.DataTransferer$6.run(DataTransferer.java:2323)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
java.io.IOException: Unicode String
at sun.awt.datatransfer.DataTransferer.translateTransferable(DataTransferer.java:1196)
at sun.awt.datatransfer.DataTransferer$6.run(DataTransferer.java:2323)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Dafydd Stuttard Jul 21, 2015 12:56PM UTC Support Center agent

@lolailo Thanks. Please can you answer the questions below to help us diagnose the cause of this?

1. What action are you performing when this error occurs?

2. What problem occurs with Burp’s observable behavior (other than the error output)?

3. What version of Burp are you using?


Post Your public answer

Your name
Your email address
Answer