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 101426

Summary: AssertionError While running rake target.
Product: ruby Reporter: pcmreddy <pcmreddy>
Component: CodeAssignee: Martin Krauskopf <mkrauskopf>
Status: RESOLVED FIXED    
Severity: blocker Keywords: SIMPLEFIX
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Test case to reproduce this issue.
Test case Tutorial

Description pcmreddy 2007-04-17 17:51:14 UTC
Ran the application with JRuby and every thing worked fine.
Now I changed Derby settings and also changed runtime to Native RUBY installation.

When I tried to execute rake db migration command I observed the following
exception.

See attached test case for details.

java.lang.AssertionError: G:\ruby\bin\jruby.bat
	at
org.netbeans.modules.ruby.rubyproject.execution.ExecutionDescriptor.cmd(ExecutionDescriptor.java:74)
	at
org.netbeans.modules.ruby.rubyproject.api.RubyExecution.<init>(RubyExecution.java:71)
	at
org.netbeans.modules.ruby.railsprojects.RakeTargetsAction$TargetMenuItemHandler.run(RakeTargetsAction.java:606)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 pcmreddy 2007-04-17 17:52:27 UTC
Created attachment 41111 [details]
Test case to reproduce this issue.
Comment 2 pcmreddy 2007-04-17 17:53:04 UTC
Created attachment 41112 [details]
Test case Tutorial
Comment 3 Jiri Kovalsky 2007-07-03 14:16:03 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 4 Torbjorn Norbye 2007-08-04 20:29:30 UTC
Very old bug (3 months - a lot has changed in the code since then). Is this still a problem?
Comment 5 Martin Krauskopf 2007-08-27 17:57:45 UTC
Still there during list refreshing. Interpreter is not checked.
Comment 6 Martin Krauskopf 2007-08-27 17:59:22 UTC
projects/src/org/netbeans/modules/ruby/rubyproject/RakeTargetsAction.java;
new revision: 1.11; previous revision: 1.10