ArchipelProject / Archipel

XMPP Based Orchestrator
http://archipelproject.org
GNU Affero General Public License v3.0
802 stars 127 forks source link

Paste text in archipel make the UI crash #917

Closed ArchipelCrashReport closed 10 years ago

ArchipelCrashReport commented 10 years ago

Name: TypeError Reason: Cannot read property 'x' of null User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36 Version: 0.6.0-1ff2dfa (Apophis)

User Description: whenever I paste something into archipel, the application crashes. Could be related to my setup: i use a tiling window manager (spectrwm) on Arch Linux.

StackTrace:

TypeError: Cannot read property 'x' of null,    at CGPointMakeCopy (eval at <anonymous> (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:1:0)
 <anonymous>:13:22)
    at $CPEvent___initKeyEventWithType_location_modifierFlags_timestamp_windowNumber_context_characters_charactersIgnoringModifiers_isARepeat_keyCode_ (eval at <anonymous> (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:1:0)
 <anonymous>:39:26)
    at objj_msgSend (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:8013:13)
    at $CPEvent__keyEventWithType_location_modifierFlags_timestamp_windowNumber_context_characters_charactersIgnoringModifiers_isARepeat_keyCode_ (eval at <anonymous> (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:1:0)
 <anonymous>:218:12)
    at objj_msgSend (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:8013:13)
    at $CPPlatformPasteboard___fakeClipboardEvent_type_ (eval at <anonymous> (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:1:0)
 <anonymous>:194:19)
    at objj_msgSend (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:8011:8)
    at $CPPlatformPasteboard__nativePasteEvent_ (eval at <anonymous> (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:1:0)
 <anonymous>:307:19)
    at objj_msgSend (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:8009:8)
    at catcher_objj_msgSend (eval at <anonymous> (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:1:0)
 <anonymous>:285:29)
CyrilPeponnet commented 10 years ago

Can you try without spectrwm ?

CyrilPeponnet commented 10 years ago

Closing as I can't reproduce.

Nowaker commented 10 years ago

@CyrilPeponnet It's not related spectrwm. I have encountered this bug recently when pasting IP in Virtual NICs, create, filter: clean-traffic, create a new property named "IP" and try to paste an IP to the value. A few days ago I tried it several times in a row and it always crashed. I tried to do it now and wasn't able to reproduce it as well. This leads me to the conclusion that this bug could be triggered by the contents of what I was pasting. Maybe some special characters, too long string, or something like that?

mateuszkwiatkowski commented 10 years ago

It's 100% reproducible for me in Chromium Version 34.0.1847.132 (265804). I cannot paste password to VNC. Pasting the same content in Firefox (28.0) just works.

Please reopen this issue.