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.

Bug 178413 - [69cat] Output window unreadable
Summary: [69cat] Output window unreadable
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2009-12-10 03:10 UTC by ulfzibis
Modified: 2011-06-09 09:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (239.62 KB, image/png)
2009-12-10 03:32 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2009-12-10 03:10:36 UTC
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.
Comment 1 ulfzibis 2009-12-10 03:32:35 UTC
Created attachment 92378 [details]
Screenshot
Comment 2 Antonin Nebuzelsky 2009-12-11 05:13:15 UTC
Tomasi, evaluate ASAP. Thanks.

Ulf, is this a regression?
Comment 3 t_h 2009-12-11 05:25:54 UTC
Is there the same problem in unwrapped mode? Is it reproducible also with Sun JDK?
Comment 4 ulfzibis 2009-12-11 10:35:50 UTC
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?
Comment 5 t_h 2009-12-17 05:10:23 UTC
I mean if the issue is visible when line wrapping is disabled.
Comment 6 ulfzibis 2009-12-18 05:44:35 UTC
today I was back in office:
Unwrapped mode doesn't help on OpenJDK,
... but using Sun JDK6u17.
Comment 7 David Simonek 2010-02-01 08:56:23 UTC
Ulf, could you summarise for me under which conditions bug appears and how it can be reproduced? Thank you.
Comment 8 ulfzibis 2010-02-01 10:44:13 UTC
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.
Comment 9 David Simonek 2010-02-09 09:44:32 UTC
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.
Comment 10 ulfzibis 2010-02-10 10:22:42 UTC
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.
Comment 11 David Simonek 2010-02-11 08:51:54 UTC
Yes, I tried to reproduce with long messages.log file opened in output window, scrolling forward and back, with no success :-(
Comment 12 ulfzibis 2010-04-15 10:03:09 UTC
There is a possible fix/workaround on:
http://www.michelgraciano.com/2008/11/how-to-solve-netbeans-and-java-editors.html
Comment 13 Stanislav Aubrecht 2010-04-26 09:35:50 UTC
ulfzibis, does the fix described in your last comment work for you?
Comment 14 ulfzibis 2010-04-26 10:26:31 UTC
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.
Comment 15 Antonin Nebuzelsky 2010-04-27 11:56:34 UTC
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
Comment 16 Marian Mirilovic 2011-06-09 09:57:34 UTC
v/c