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 74571 - i18n - message not from localized bundle file for failed to connect window
Summary: i18n - message not from localized bundle file for failed to connect window
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: XAM (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Girish Balachandran
URL:
Keywords: I18N
Depends on:
Blocks: 74442
  Show dependency tree
 
Reported: 2006-04-07 10:39 UTC by Pavel Rehak
Modified: 2007-04-11 00:36 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (132.81 KB, image/jpeg)
2006-04-07 10:40 UTC, Pavel Rehak
Details
forget previous screenshot, attached bad one (174.25 KB, image/jpeg)
2006-04-07 10:43 UTC, Pavel Rehak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Rehak 2006-04-07 10:39:46 UTC
Product Version         = NetBeans 5.5 Dev (Build 200604030200)
Operating System        = Windows XP version 5.1 running on x86
Java; VM; Vendor; Home  = 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05; Sun
 Microsystems Inc.; f:\Java\jdk-1_5_0_06\jre
System Locale; Encoding = ja_JP (nb); MS932
-
i'm using jappanise locales and pseudolocalized windows (to same build 0403)
-
Found non localized string:

While creating Web Service Client which is trying to connect itself
to not properly created Web Serice connection fails dialog appears.
See attachment. Not localized string. (see attachment)
Comment 1 Pavel Rehak 2006-04-07 10:40:38 UTC
Created attachment 29694 [details]
screenshot
Comment 2 Pavel Rehak 2006-04-07 10:43:46 UTC
Created attachment 29695 [details]
forget previous screenshot, attached bad one
Comment 3 Ken Frank 2006-04-15 17:49:01 UTC
I only see one message that says "Connection refused" in a bundle
file and it is pseudo localized, so am guessing this one is another
that either not in a bundle or from external process like
app server (localized app server for gf/as9 is not released yet)

the msg I see is
CTL_Connection_refused
from
org-netbeans-modules-debugger-jpda-ui

ken.frank@sun.com
Comment 4 Marian Petras 2006-04-17 09:24:14 UTC
Reassigned to the appropriate component - "websvc".
Comment 5 Milan Kuchtiak 2006-05-05 10:57:54 UTC
This is problem of XML Retriever implementation.
What's worth - the XML retriever consumes the exception and we (in webservices)
cannot inform user what has really happened.

Increasing priority to P2.
Comment 6 Girish Balachandran 2006-08-02 01:56:32 UTC
The exception message that will be shown to the user will come from Java's
Exception.getLocalizedMessage(). Apart from that I have also introduced new API
for obtaining exception messages that got thrown while retrieving. Please refer
to  public abstract Map<RetrieveEntry, Exception>
getRetrievedResourceExceptionMap(); method from Retriever.java.
Fixed on 8/1/06.
Comment 7 Milan Kuchtiak 2006-08-02 14:32:48 UTC
Thanks, however the Retriever automatically shows the Error Message: Connection
Refused. 
This is not a good API style. Now when getRetrievedResourceExceptionMap(); is
implemented we have a better way to inform user what's the problem.

Please remove this error message completely from retriever (issue 76826).
Comment 8 tonybeckham 2007-04-11 00:36:56 UTC
fix VERIFIED in NetBeans IDE Dev (Build 200704091800)