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 105775 - Ruby installed from update center does not work
Summary: Ruby installed from update center does not work
Status: VERIFIED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
: 105950 105951 105952 106745 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-05 17:25 UTC by Tomas Danek
Modified: 2007-10-23 16:28 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-06-05 17:25:27 UTC
seems like ruby modules on update center are broken:( or not in sync with recent
ide (then feel free to downgrade priority)

- downloaded zip with bigide 200706050000
- unpacked, and deleted ruby1 cluster (to simulate ruby not to be installed)
- ran ide, installed ruby from update center
- ide was restarted, tried to create ruby project (chose jruby as interpreter)
after project is created, neverending stream of exceptions is generated:

java.lang.NoSuchMethodError:
org.jruby.lexer.yacc.LexerSource.<init>(Ljava/lang/String;Ljava/io/Reader;)V
	at org.netbeans.modules.ruby.lexer.RubyLexer.restart(RubyLexer.java:105)
	at org.netbeans.modules.ruby.lexer.RubyLexer.create(RubyLexer.java:91)
	at org.netbeans.modules.ruby.lexer.RubyTokenId$1.createLexer(RubyTokenId.java:140)
	at
org.netbeans.spi.lexer.LanguageHierarchy$Accessor.createLexer(LanguageHierarchy.java:331)
	at org.netbeans.lib.lexer.LexerInputOperation.<init>(LexerInputOperation.java:137)
	at
org.netbeans.lib.lexer.TextLexerInputOperation.<init>(TextLexerInputOperation.java:55)
	at
org.netbeans.lib.lexer.TextLexerInputOperation.<init>(TextLexerInputOperation.java:49)
	at org.netbeans.lib.lexer.inc.IncTokenList.initLexing(IncTokenList.java:95)
	at org.netbeans.lib.lexer.inc.IncTokenList.<init>(IncTokenList.java:91)
	at
org.netbeans.lib.lexer.TokenHierarchyOperation.<init>(TokenHierarchyOperation.java:146)
	at
org.netbeans.spi.lexer.TokenHierarchyControl.createOperation(TokenHierarchyControl.java:52)
	at org.netbeans.spi.lexer.TokenHierarchyControl.init(TokenHierarchyControl.java:47)
	at
org.netbeans.spi.lexer.TokenHierarchyControl.tokenHierarchy(TokenHierarchyControl.java:57)
	at org.netbeans.api.lexer.TokenHierarchy.get(TokenHierarchy.java:68)
	at
org.netbeans.modules.ruby.lexer.LexUtilities.getTokenSequence(LexUtilities.java:99)
	at
org.netbeans.modules.ruby.BracketCompleter.findMatching(BracketCompleter.java:668)
	at
org.netbeans.modules.gsf.GsfEditorKitFactory$GsfEditorKit$2.findMatchingBlock(GsfEditorKitFactory.java:196)
	at org.netbeans.editor.ext.ExtCaret.updateMatchBrace(ExtCaret.java:270)
...
Comment 1 Tomas Danek 2007-06-07 14:00:23 UTC
*** Issue 105950 has been marked as a duplicate of this issue. ***
Comment 2 Tomas Danek 2007-06-07 14:01:35 UTC
*** Issue 105951 has been marked as a duplicate of this issue. ***
Comment 3 Tomas Danek 2007-06-07 14:03:08 UTC
*** Issue 105952 has been marked as a duplicate of this issue. ***
Comment 4 Torbjorn Norbye 2007-06-11 20:19:01 UTC
I've tried rev'ing all the module versions to a new level which should hopefully address this. Can you try 
again? (This was on Saturday, hopefully the daily update center has caught up by now)
Comment 5 Tomas Danek 2007-06-13 15:57:42 UTC
still reproducible, i removed ruby1 cluster from 2070613 , and tried to install ruby using plugin manager, and result is
still the same:( i can provide you versions of those nbms i get from UC, e.g. Ruby Project has 0.73.0.2,...
Comment 6 Jiri Skrivanek 2007-06-15 07:11:46 UTC
*** Issue 106745 has been marked as a duplicate of this issue. ***
Comment 7 Tomas Danek 2007-06-18 14:59:52 UTC
20070618

seems like this is working by now, but won't mark as fixed for now, because update center seems to suffer with some
problems - i see "modules", not only "features", i'll try once again when UC is back in normal.
Comment 8 Tomas Danek 2007-06-18 15:03:47 UTC
anyway - the update center ruby modules are  still delayed - there's e.g. the old UI of Gem manager..
Comment 9 Torbjorn Norbye 2007-06-26 21:52:15 UTC
Is this okay now?
Comment 10 Tomas Danek 2007-06-27 13:04:45 UTC
yes, I uninstalled ruby cluster in m10 installation, and installed it back using Plugin manager, and all basic scenarios
seem to work - marking as fixed.
Comment 11 Jiri Kovalsky 2007-07-03 13:59:53 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 12 Jiri Kovalsky 2007-07-03 14:43:14 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.
Comment 13 Tomas Danek 2007-10-23 16:28:14 UTC
ruby bits can be obtained from dev update center in 20071023, verified.