This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I just ran my code. Using HotSpot PrintAssembly option. Project: https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-charset-enhanced/branches/j7_EUC_TW/?rev=861 Run config "E_TWBenchMark_PrtAsm" Product Version: NetBeans IDE 6.8 RC2 (Build 200912022200) Java: 1.6.0_0; OpenJDK Client VM 14.0-b16 System: Linux version 2.6.31-15-generic running on i386; UTF-8; de_DE (nb) Userdir: /home/ulf/.netbeans/6.8rc2 Works fine on Windows XP.
Created attachment 92378 [details] Screenshot
Tomasi, evaluate ASAP. Thanks. Ulf, is this a regression?
Is there the same problem in unwrapped mode? Is it reproducible also with Sun JDK?
Regression, I can't say, I'm new on (K)ubuntu. What is unwrapped mode? After using Sun JDK6u17 and NB 6.8 release, I no more experienced the bug. The bug seems only to happen on long output data after scrolling to beginning, same on long files in editor window. BTW, I must say, that it seems not possible to install Sun JDK6 in official way. It's in the list of Kubuntu package installer (version 15-1!), but after selecting it for install, I saw some quick download messages, but after all it stayed uninstalled. So I had to install the Sun JDK in the home dir manually. Do you have some hints?
I mean if the issue is visible when line wrapping is disabled.
today I was back in office: Unwrapped mode doesn't help on OpenJDK, ... but using Sun JDK6u17.
Ulf, could you summarise for me under which conditions bug appears and how it can be reproduced? Thank you.
I can't say more as I just have written. The bug only appeared under default Ubuntu 9.10 OpenJDK, not under Sun JDK6u17. Hope that helps.
Bug is definitely JDK specific, as I can't reproduce on my Open JDK that comes with Ubuntu. The only difference is that I'm running 64 version on amd64: ----- Product Version = NetBeans IDE Dev (Build null) (#ce0b2257eebc) Operating System = Linux version 2.6.31-17-generic running on amd64 Java; VM; Vendor = 1.6.0_0; OpenJDK 64-Bit Server VM 14.0-b16; Sun Microsystems Inc. Runtime = OpenJDK Runtime Environment 1.6.0_0-b16 ---- and I experience no problems. Without reproduction, I'm unable to find/fix the bug, which looks like JDK problem anyway, sorry.
Have you noted, that the bug seems only to happen on long output data after scrolling to beginning (moving the slider quickly from the bottom to top position)? Same happens on long files in editor window. And yes, I used 32-bit Ubuntu and Java on 64-bit hardware.
Yes, I tried to reproduce with long messages.log file opened in output window, scrolling forward and back, with no success :-(
There is a possible fix/workaround on: http://www.michelgraciano.com/2008/11/how-to-solve-netbeans-and-java-editors.html
ulfzibis, does the fix described in your last comment work for you?
Unfortunately I'm not on this machine since months. There is still some little chance, I come back to that institution and can try it, but ... some day.
Let's close for now, as the similar bug in editor was. Please, reopen if you encounter the problem and if the tips mentioned don't work for you. The tips are also in FAQ section in wiki: http://wiki.netbeans.org/FaqSolvingEditorGarbledText
v/c