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 186572 - [69cat] Can not run Ruby file - causes java.util.MissingResourceException
Summary: [69cat] Can not run Ruby file - causes java.util.MissingResourceException
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: Erno Mononen
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2010-05-24 01:40 UTC by Masaki Katakai
Modified: 2010-05-25 07:34 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169975


Attachments
stacktrace (3.10 KB, text/plain)
2010-05-24 01:40 UTC, Masaki Katakai
Details
stacktrace (3.10 KB, text/plain)
2010-05-24 08:38 UTC, Ivan Sidorkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2010-05-24 01:40:39 UTC
Build: NetBeans IDE 6.9 RC1 (Build 201005202201)
VM: Java HotSpot(TM) Client VM, 16.2-b04, Java(TM) SE Runtime Environment, 1.6.0_19-b04
OS: SunOS

User Comments:
masaki: It happens on 6.9 RC1 (internal build). 

1. Create a Ruby project
2. select main.rb and Run File

It's serious for RC release.




Stacktrace: 
java.util.MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key RunFilePanel.displayDialog.AccessibleContext.accessibleDescription
   at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
   at java.util.ResourceBundle.getString(ResourceBundle.java:334)
   at org.openide.util.NbBundle.getMessage(NbBundle.java:637)
   at org.netbeans.modules.ruby.rubyproject.RunFilePanel.initComponents(RunFilePanel.java:242)
   at org.netbeans.modules.ruby.rubyproject.RunFilePanel.<init>(RunFilePanel.java:63)
   at org.netbeans.modules.ruby.rubyproject.RunFileActionProvider.showDialog(RunFileActionProvider.java:115)
Comment 1 Masaki Katakai 2010-05-24 01:40:42 UTC
Created attachment 99362 [details]
stacktrace
Comment 2 Ivan Sidorkin 2010-05-24 08:38:25 UTC
Created attachment 99375 [details]
stacktrace

run ruby file
Comment 3 Ivan Sidorkin 2010-05-24 09:14:23 UTC
regression to 6.8
Comment 4 Petr Jiricka 2010-05-24 12:21:42 UTC
Seems to be caused by dlipin's fix for bug 173600:
http://hg.netbeans.org/web-main/rev/30512fb828b0
Comment 5 Petr Jiricka 2010-05-24 12:29:27 UTC
Fixed in trunk: http://hg.netbeans.org/web-main/rev/51d893a29483

Needs to be ported to the 6.9 clone. Dmitry, can you please review the fix? Masaki, can you please verify in trunk daily/continuous build? Thanks.
Comment 6 dlipin 2010-05-24 12:36:43 UTC
Sorry, my fault, I'll review the fix.
Comment 7 dlipin 2010-05-24 13:12:21 UTC
The fix looks good to me. I've applied the patch in my source tree, rebuild the module and verified that the exception does not happen any more.
So feel free to integrate to release69.
Comment 8 Marian Mirilovic 2010-05-24 13:18:46 UTC
Petr Chytil, please help with verification if needed. Thanks in advance.
Comment 9 Petr Chytil 2010-05-24 14:34:23 UTC
verified in NetBeans-dev-web-main-3275-on-100524-full.zip
Comment 10 Petr Jiricka 2010-05-24 15:02:05 UTC
Transplanted to 6.9: http://hg.netbeans.org/release69/rev/95d1f6947e10
Comment 11 Quality Engineering 2010-05-25 07:34:29 UTC
Integrated into 'main-golden', will be available in build *201005250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/51d893a29483
User: pjiricka@netbeans.org
Log: #186572 - fixing a regression in A11Y code - MissingResourceException.