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 95914 - exception during opening IRB shell
Summary: exception during opening IRB shell
Status: RESOLVED WORKSFORME
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-19 12:42 UTC by Tomas Danek
Modified: 2007-07-03 14:38 UTC (History)
2 users (show)

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-02-19 12:42:58 UTC
NetBeans IDE Dev (Build 200702182300)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Linux version 2.6.17-10-generic running on i386
cs_CZ (nb); UTF-8
+ ruby prom UC
-------------------------
- start with fresh userdir
- download ruby from UC
- after download IDE restarts
- invoke Windows|IRB shell
- exception
- not reproducible again, ide has to be restarted

java.lang.NoSuchMethodError:
org.jruby.Ruby.newInstance(Ljava/io/InputStream;Ljava/io/PrintStream;Ljava/io/PrintStream;Z)Lorg/jruby/IRuby;
	at
org.netbeans.modules.ruby.rubyproject.IrbTopComponent.createTerminal(IrbTopComponent.java:253)
	at
org.netbeans.modules.ruby.rubyproject.IrbTopComponent.componentOpened(IrbTopComponent.java:132)
	at org.openide.windows.WindowManager.componentOpenNotify(WindowManager.java:280)
	at
org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentOpened(WindowManagerImpl.java:961)
	at org.netbeans.core.windows.Central.addModeOpenedTopComponent(Central.java:719)
	at org.netbeans.core.windows.ModeImpl.addOpenedTopComponent(ModeImpl.java:273)
	at
org.netbeans.core.windows.WindowManagerImpl.topComponentOpen(WindowManagerImpl.java:1061)
	at org.openide.windows.TopComponent.open(TopComponent.java:354)
	at org.openide.windows.TopComponent.open(TopComponent.java:345)
	at
org.netbeans.modules.ruby.rubyproject.IrbAction.actionPerformed(IrbAction.java:22)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1170)
	at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1211)
	at java.awt.Component.processMouseEvent(Component.java:6038)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
Comment 1 Torbjorn Norbye 2007-02-19 15:34:38 UTC
This might be a duplicate of the update center issue we're seeing - but I'll try
rev'ing update numbers for two modules to be on the same side. The stacktrace
reveals that the projects module is new and the jruby-binaries module is old.
Comment 2 Torbjorn Norbye 2007-02-19 18:44:23 UTC
I added an explicit version dependency on the latest JRuby library in version
0.14.0 of the ruby projects module which will hopefully make this work.
Comment 3 Torbjorn Norbye 2007-02-27 05:31:14 UTC
This is no longer a problem, correct?
Comment 4 Torbjorn Norbye 2007-03-13 23:56:50 UTC
This is probably fixed
Comment 5 Jiri Kovalsky 2007-07-03 14:09:10 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 6 Jiri Kovalsky 2007-07-03 14:38:38 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.