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 - AssertionError While running rake target.
Summary: AssertionError While running rake target.
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2007-04-17 17:51 UTC by pcmreddy
Modified: 2007-08-27 17:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test case to reproduce this issue. (71.69 KB, application/octet-stream)
2007-04-17 17:52 UTC, pcmreddy
Details
Test case Tutorial (118.76 KB, application/octet-stream)
2007-04-17 17:53 UTC, pcmreddy
Details

Note You need to log in before you can comment on or make changes to this bug.
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