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 86232 - I18N - server.log garbled when viewed from NetBeans IDE
Summary: I18N - server.log garbled when viewed from NetBeans IDE
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-29 23:03 UTC by naokoh
Modified: 2006-10-12 00:52 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
MByte garbled in NetBeans IDE (111.83 KB, image/jpeg)
2006-09-29 23:12 UTC, naokoh
Details
MByte displays fine in command prompt (71.71 KB, image/jpeg)
2006-09-29 23:13 UTC, naokoh
Details
MByte displays fine in admin console (191.32 KB, image/jpeg)
2006-09-29 23:14 UTC, naokoh
Details
NetBeans server log is fixed (153.67 KB, image/jpeg)
2006-10-12 00:12 UTC, naokoh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description naokoh 2006-09-29 23:03:47 UTC
When there are multi-byte characters in server.log, the characters are garbled
when viewed from NetBeans IDE (NetBeans 5.5 Enterprise Pack edition).  When
viewed from command prompt or from application server admin console, it is ok.

Steps to Reproduce:
===================

1.  Use pseudo-localized NetBeans 5.5 Enterprise Pack.  If you need
pseudo-localized jar files, I can provide them.
2.  Go to Rumtime tab -> Sun Java System Application Server 9.
3.  Right-click on "Sun Java System Application Server 9" and select "View
Server Log".
4.  Observe that multi-byte characters are garbled in the Output window at the
bottom.

Images attached:

1.  netbeans_server_log_problem.jpg.
    This is to show that multi-byte characters are garbled in the Output window
of NetBeans.

2.  command_prompt_server_log_ok.jpg.
    This is to show that the same messages are displayed correctly in a command
prompt.

3.  admin_console_server_log_ok.jpg.
    This is to show that the same messages are displayed correctly in the
application server's admin console.
Comment 1 naokoh 2006-09-29 23:12:18 UTC
Created attachment 34726 [details]
MByte garbled in NetBeans IDE
Comment 2 naokoh 2006-09-29 23:13:29 UTC
Created attachment 34727 [details]
MByte displays fine in command prompt
Comment 3 naokoh 2006-09-29 23:14:14 UTC
Created attachment 34728 [details]
MByte displays fine in admin console
Comment 4 _ ludo 2006-09-30 14:19:44 UTC
Which build of NB is used there?
It seems you have enterprise pack bits, and I am not sure which exact bits from Nb 5.5 dev it contains.
Because a similar bug was fix 2 days ago on release55_dev branch. I suspect you do not have the lastest 
55_dev bits.

Comment 5 _ ludo 2006-09-30 14:29:01 UTC
see #85246 and the date of the integration to see if this is a duplicated, already fixed.
Comment 6 gmurr 2006-10-02 19:09:49 UTC
#85246 has been fixed on sep 29.
I installed the following bits:
http://balui.sfbay/kits/oriondev/main/Build061001/installers/java-tools-bundle-main-061001-windows.exe
I still see garbled characters in the log window
Comment 7 Vince Kraemer 2006-10-02 20:32:15 UTC
corrected some of the info.

what encoding are you using for the IDE?

Any guesses recarding root cause that you would like to offer?
Comment 8 Vince Kraemer 2006-10-02 21:38:52 UTC
the fix for 85246 isn't in the release55 branch yet... This branch got updated
to address 85246 @ 10:58 PDT Oct 2.)

See file

http://balui.sfbay/kits/oriondev/main/Build061002/buildlogs/update_src.log
  (search for cvsnetb... the source pulls appear to be from the release55.
   the timestamp is 02 Oct 2006 14:24:08 UTC)

AND

http://balui.sfbay/kits/oriondev/main/Build061002/buildlogs/nb_build_info.log

Closing as a dup of issue 85246

*** This issue has been marked as a duplicate of 85246 ***
Comment 9 gmurr 2006-10-04 16:56:54 UTC
I installed latest build:
http://balui.sfbay/kits/oriondev/main/Build061003/installers/java-tools-bundle-main-061003-windows.exe
Problem still not solved. I still see JA characters garbled in the log window.
Comment 10 _ ludo 2006-10-04 17:18:55 UTC
Masaki: please, could you try the mentioned build on your system?

Thanks,
Comment 11 Petr Jiricka 2006-10-04 17:59:08 UTC
The build you mention is based on NetBeans build 200610020000 from the release55
branch. Issue 85246 is fixed after that. gmurr, please check these basic facts
before reopening. The fix is for the enterprise pack to include the latest build
of NetBeans.
Comment 12 naokoh 2006-10-12 00:12:46 UTC
Created attachment 35124 [details]
NetBeans server log is fixed
Comment 13 naokoh 2006-10-12 00:14:57 UTC
Using the latest RC2 build, verified that the issue no longer exists.
See the attached image: netbeans_server_log_ok.jpg.
Comment 14 gmurr 2006-10-12 00:52:56 UTC
fix works with latest build