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 109122 - MRE if JAR from jruby classpath is physically removed
Summary: MRE if JAR from jruby classpath is physically removed
Status: VERIFIED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-09 13:32 UTC by Tomas Danek
Modified: 2007-08-14 15:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2007-07-09 13:32:32 UTC
- create new ruby project, set jruby interpreter
- set dependency on some JAR using project properties, java panel
- if you remove/move that JAR and invoke properties|java panel of that project, you get MRE:

java.util.MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key LBL_MISSING_FILE
	at java.util.ResourceBundle.getObject(ResourceBundle.java:386)
	at java.util.ResourceBundle.getString(ResourceBundle.java:346)
	at org.openide.util.NbBundle.getMessage(NbBundle.java:607)
	at org.openide.util.NbBundle.getMessage(NbBundle.java:674)
	at org.openide.util.NbBundle.getMessage(NbBundle.java:623)
	at org.netbeans.modules.ruby.rubyproject.JavaClassPathUi$ClassPathListCellRenderer.getDisplayName(JavaClassPathUi.java:160)
	at
org.netbeans.modules.ruby.rubyproject.JavaClassPathUi$ClassPathListCellRenderer.getListCellRendererComponent(JavaClassPathUi.java:123)

...
Comment 1 Torbjorn Norbye 2007-08-10 02:02:32 UTC
Fixed

IDE:-------------------------------------------------
IDE: [8/9/07 6:02 PM] Committing started
Checking in Bundle.properties;
/cvs/ruby/projects/src/org/netbeans/modules/ruby/rubyproject/Bundle.properties,v  <--  Bundle.properties
new revision: 1.8; previous revision: 1.7
done
IDE: [8/9/07 6:02 PM] Committing finished
Comment 2 Tomas Danek 2007-08-14 15:14:52 UTC
works fine now, broken reference is much better than MRE:) verified.