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.
This issue was reported manually by mmirilovic. It already has 20 duplicates Build: NetBeans IDE 7.1 (Build 201112071828) VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13 OS: Windows XP User Comments: GUEST: Create a JDBC resources GUEST: Click the New File button in the IDE's toolbar. Select the GlassFish category, then select JDBC Resource and click Next. GUEST: Open the New File wizard. Select the GlassFish server category, then select JDBC Resource and click Next. GUEST: I've tried to create New JDBC Resource GUEST: ???????? ?????? ??????? JDBC. ? ????? ?????? ?? ?????????. deonis: I was working at IFPWAFCAD. And I try to select Resousce JDBC in GlassFish. GUEST: ?? ??????? ??????? ?????? Glassfish. ?????? ??? ??????????? ????????? ????????? GUEST: Creating new JDBC source for GlassFish GUEST: ??????? ?????? "??????? ????" (?????? "??????? ????") ?? ??????? ?????? ???????????? ? ????? IDE ??? ?????? ??????? ???????? ?????. ???????? ????????? ??????? GlassFish, ????? ???????? "?????? JDBC" ? ??????? ?????? "?????". GUEST: http://netbeans.org/kb/docs/web/mysql-webapp_ru.html#setUpJDBC ????????? ????????? ?????? JDBC ? ???? ??????????? GUEST: ????? ?????? "??????? ????" ?? ??????? ?????? ???????????? ? ????? IDE ??? ?????? ??????? ???????? ?????. ??????? ????????? ??????? GlassFish, ????? ??????? "?????? JDBC" ? ????? ?????? "?????". Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1958) at org.netbeans.modules.j2ee.sun.ide.sunresources.wizards.Util.getCorrectedLabel(Util.java:99) at org.netbeans.modules.j2ee.sun.ide.sunresources.wizards.CommonAttributePanel.isValid(CommonAttributePanel.java:188) at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:900) at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:844) at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:760)
Created attachment 118310 [details] stacktrace
this is an easy fix. will commit soon.
Integrated into 'main-golden', will be available in build *201205180400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/dca10e214863 User: vince kraemer <vkraemer@netbeans.org> Log: #211231 : some locales have translation without the ampersand in the label