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.
Summary: | I18N - 100% CPU for Add Operation in Web Service | ||
---|---|---|---|
Product: | webservices | Reporter: | Michel Graciano <hmichel> |
Component: | Code | Assignee: | Milan Kuchtiak <mkuchtiak> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | issues, jiriprox, kaa, kfrank |
Priority: | P3 | Keywords: | I18N, PERFORMANCE |
Version: | 5.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Image for 'Add Operation', after fixing and working now
Thread Dump |
Description
Michel Graciano
2006-11-01 00:24:37 UTC
Created attachment 35687 [details]
Image for 'Add Operation', after fixing and working now
Created attachment 35688 [details]
Thread Dump
Can you clarify - is it when the name of the web service operation has non 0-127 characters that the problem happens ? Thanks ken.frank@sun.com Yes. If I add, at my example, 'operação' for web service operation name, the IDE freeze with 100% CPU usage. The UI don't appear on the screen, just IDE freeze before the UI to be painted. If I solve this translation problem, with 'operacao' for operation name, and try set name for 'operação', just message appear, and all works fine. The problem is just before UI to be showed. I don't test with another names, just 'operação'. If there is another test that can I do, or any details, please, let me know. If this is the word from org-netbeans-modules-websvc-core.jar TXT_DefaultOperationName=operation then it should not be translated since in the bundle file above the line with it is a #NOI18N comment. But I think the bug is still valid since it should be allowed that other words/characters be used in the operation name, unless its not legal in some spec. I think that the problem is with ascii range > 127, which I think includes the word you originally added. ken.frank@sun.com Can anyone try to reproduce this in some latest build, please? I've just tried to use czech characters (like "ěščřžýáíé") in operation name and everything works for me. Thanks Fixed. Default Operation name can be i18n-ed : http://websvc.netbeans.org/source/browse/websvc/core/src/org/netbeans/modules/websvc/core/AddWsOperationHelper.java?r1=1.18&r2=1.19 http://websvc.netbeans.org/source/browse/websvc/core/src/org/netbeans/modules/websvc/core/Bundle.properties?r1=1.16&r2=1.17 verified: build 0927, ja_JP |