Sign in to follow this  
Czar

[Fixed] (Linux) Unstable 4.0018ab465 Copy/Paste bug

Recommended Posts

Hello. I've run across this bug using Debian Linux, it does not happen using stable, it has been there since the first 4.0 version.

 

Any attempt to copy from or paste into wurm causes the unstable client to hang, after which I have to kill it through a terminal. Reading the console.log everything looks fine until I try to copy a line of text then this appears:

 

Spoiler

Oct 18, 2016 4:20:59 PM sun.awt.X11.XToolkit processException
WARNING: Exception on Toolkit thread
java.lang.ExceptionInInitializerError
    at sun.misc.Unsafe.ensureClassInitialized(Native Method)
    at sun.awt.AWTAccessor.getKeyboardFocusManagerAccessor(AWTAccessor.java:900)
    at sun.awt.KeyboardFocusManagerPeerImpl.<clinit>(KeyboardFocusManagerPeerImpl.java:49)
    at sun.awt.X11.XToolkit.run(XToolkit.java:593)
    at sun.awt.X11.XToolkit.run(XToolkit.java:532)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
    at java.awt.AWTKeyStroke.getCachedStroke(AWTKeyStroke.java:252)
    at java.awt.AWTKeyStroke.getAWTKeyStroke(AWTKeyStroke.java:391)
    at java.awt.KeyboardFocusManager.<clinit>(KeyboardFocusManager.java:332)
    ... 6 more

Oct 18, 2016 4:20:59 PM sun.awt.X11.XToolkit processException
WARNING: Exception on Toolkit thread
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XKeyboardFocusManagerPeer
    at sun.awt.X11.XToolkit.run(XToolkit.java:593)
    at sun.awt.X11.XToolkit.run(XToolkit.java:532)
    at java.lang.Thread.run(Thread.java:745)

Oct 18, 2016 4:20:59 PM sun.awt.X11.XToolkit processException
WARNING: Exception on Toolkit thread
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XKeyboardFocusManagerPeer
    at sun.awt.X11.XToolkit.run(XToolkit.java:593)
    at sun.awt.X11.XToolkit.run(XToolkit.java:532)
    at java.lang.Thread.run(Thread.java:745)

Oct 18, 2016 4:20:59 PM sun.awt.X11.XToolkit processException
WARNING: Exception on Toolkit thread
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XKeyboardFocusManagerPeer
    at sun.awt.X11.XToolkit.run(XToolkit.java:593)
    at sun.awt.X11.XToolkit.run(XToolkit.java:532)
    at java.lang.Thread.run(Thread.java:745)

Oct 18, 2016 4:20:59 PM sun.awt.X11.XToolkit processException
WARNING: Exception on Toolkit thread
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XKeyboardFocusManagerPeer
    at sun.awt.X11.XToolkit.run(XToolkit.java:593)
    at sun.awt.X11.XToolkit.run(XToolkit.java:532)
    at java.lang.Thread.run(Thread.java:745)

Oct 18, 2016 4:20:59 PM sun.awt.X11.XToolkit processException
WARNING: Exception on Toolkit thread
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XKeyboardFocusManagerPeer
    at sun.awt.X11.XToolkit.run(XToolkit.java:593)
    at sun.awt.X11.XToolkit.run(XToolkit.java:532)
    at java.lang.Thread.run(Thread.java:745)

 

Knowing nothing about Java, it's all Greek to me, but perhaps it will help.

 

Spoiler

$ java -version
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)

 

Share this post


Link to post
Share on other sites

I have the same problem, the client freezes when I copy or paste, I first noticed when I was pasting some text into wurm with CTRL-V. I tried a few times and Wurm always freezes. I wanted to try with copy also so I right click a line and select  "copy line" from within the game and same happens.

 

I am using Ubuntu 16.04 and oracle 8 jdk.

Share this post


Link to post
Share on other sites

I am little worried about this bug, if it is not going to get fixed before the update, I am assuming that the old client wont work with the new update so no kind of copy/paste will be terrible I think.

Dont know how many linux users there are but looks like we are in trouble.

Share this post


Link to post
Share on other sites

Still present on 4.00-e875dc4, java8u112. And bumpity bump.

Share this post


Link to post
Share on other sites

Still here on 4.00-07b4b17 with the java 121 update

Share this post


Link to post
Share on other sites

Ubuntu 64bit, 64bikt Java - 4.00-008396b client.

Running two clients, the first copy from Event tab caused client hang, but on the second client I could copy/paste several times without any issue afterwards.

After closing both, and opening a single client again I don't have the issue.

 

 

Edited by Jaz

Share this post


Link to post
Share on other sites

*double post thank you forum engine*

Edited by Jaz

Share this post


Link to post
Share on other sites

I have compared the settings of the two clients and changed the freezing client settings one by one to the one which is fine, when I changed the following line the freezing issue was gone:

 

(1) Setting on the freezing client:

display_settings=false\:false\:0\:1680\:1050\:32\:-1\:false\:true

 

(2) Setting on the client where I can copy/paste:

display_settings=false\:false\:0\:0\:0\:32\:-1\:false\:true

 

Strange though is the following:

The client settings show as"Windowed resizeable" and "640x480", but it opens in a resizeable max size window with the above (2) setting line.

Share this post


Link to post
Share on other sites

This looks fixed now as of 4.00-c56478 & java 131. Can tag & close unless others still have it.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this