products forums blog support careers about
  History | Log In     View a printable version of the current page.  
PRO USERS, to ensure 'PRIORITY SUPPORT' make sure that your ASAP account is "tagged" when you file the request. Click here for instructions on how to tag your account.
Issue Details (XML | Word | Printable)

Key: ROR-821
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Chris Williams
Reporter: Michael Sica
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Aptana RadRails

Can't run all tests anymore

Created: 30/Apr/08 01:46 PM   Updated: 17/Jul/08 10:56 AM
Component/s: Test::Unit
Affects Version/s: 1.0.1
Fix Version/s: 1.1.0, 1.0.3

Environment:
Aptana Studio, build: 1.1.6.009905
RadRails 1.0.1.200803281641NGT

Importance: Critical
Studio Install Type: Standalone
Operating System: Windows XP
Participants: Chris Williams, Eric Stewart and Michael Sica


 Description  « Hide
At some point during the development of my current project Aptana stopped allowing me to run all my functional or unit tests. I can run each test individually by right-clicking on the test file in the Ruby Explorer and select Run As -> Test::Unit Test.

If I try to use the buttons in the toolbar to run all the tests Aptana freezes. When I run the test:functionals from the Rake Tasks view (with --trace) I get the following output.

>rake test:functionals
-e:1 warning: already initialized constant RUBY_PLATFORM
(in C:/_work/aptana-workspace/[removed project name])
** Invoke test:functionals (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment
** Execute db:abort_if_pending_migrations
** Execute db:test:prepare
** Invoke db:test:clone (first_time)
** Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
** Execute db:test:clone
** Invoke db:schema:load (first_time)
** Invoke environment
** Execute db:schema:load
** Execute test:functionals
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/bin/C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/bin/jruby.bat -Ilib;test "C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb" "test/functional/attractions_controller_test.rb" "test/functional/careers_controller_test.rb" "test/functional/corporate_controller_test.rb" "test/functional/customer_service_controller_test.rb" "test/functional/foundation_controller_test.rb" "test/functional/home_controller_test.rb" "test/functional/medias_controller_test.rb" "test/functional/pages_controller_test.rb" "test/functional/page_controller_test.rb" "test/functional/shopping_controller_test.rb" "test/functional/site_map_controller_test.rb" "test/functional/stylesheets_controller_test.rb" "test/functional/whole_ownership_controller_test.rb" "test/functional/admin/addresses_controller_test.rb" "test/functional/admin/attractions_controller_test.rb" "test/functional/admin/base_admin_controller_test.rb" "test/functional/admin/destinations_controller_test.rb" "test/functional/admin/executive_bios_controller_test.rb" "test/functional/admin/featureships_controller_test.rb" "test/functional/admin/home_controller_test.rb" "test/functional/admin/interests_controller_test.rb" "test/functional/admin/login_controller_test.rb" "test/functional/admin/marketing_spreads_controller_test.rb" "test/functional/admin/medias_controller_test.rb" "test/functional/admin/offers_controller_test.rb" "test/functional/admin/relationships_controller_test.rb" "test/functional/admin/resorts_controller_test.rb" "test/functional/admin/resort_amenities_controller_test.rb" "test/functional/admin/room_features_controller_test.rb" "test/functional/admin/users_controller_test.rb"
rake aborted!
Command failed with status (1): [C:/Program Files/Aptana/Aptana Studio/plug...]
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:899:in `sh'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:898:in `call'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:906:in `sh'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:898:in `sh'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:920:in `ruby'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:989:in `ruby'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/testtask.rb:114:in `define'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/testtask.rb:114:in `verbose'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/testtask.rb:102:in `define'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/testtask.rb:114:in `call'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `invoke_with_call_chain'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `invoke_with_call_chain'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `invoke'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `standard_exception_handling'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `run'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `standard_exception_handling'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/bin/rake:19:in `load'
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/bin/rake:19
-e:2:in `load'
-e:2
Error opening script file: C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/bin/C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/bin/jruby.bat -Ilib;test C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb test/functional/attractions_controller_test.rb test/functional/careers_controller_test.rb test/functional/corporate_controller_test.rb test/functional/customer_service_controller_test.rb test/functional/foundation_controller_test.rb test/functional/home_controller_test.rb test/functional/medias_controller_test.rb test/functional/pages_controller_test.rb test/functional/page_controller_test.rb test/functional/shopping_controller_test.rb test/functional/site_map_controller_test.rb test/functional/stylesheets_controller_test.rb test/functional/whole_ownership_controller_test.rb test/functional/admin/addresses_controller_test.rb test/functional/admin/attractions_controller_test.rb test/functional/admin/base_admin_controller_test.rb test/functional/admin/destinations_controller_test.rb test/functional/admin/executive_bios_controller_test.rb test/functional/admin/featureships_controller_test.rb test/functional/admin/home_controller_test.rb test/functional/admin/interests_controller_test.rb test/functional/admin/login_controller_test.rb test/functional/admin/marketing_spreads_controller_test.rb test/functional/admin/medias_controller_test.rb test/functional/admin/offers_controller_test.rb test/functional/admin/relationships_controller_test.rb test/functional/admin/resorts_controller_test.rb test/functional/admin/resort_amenities_controller_test.rb test/functional/admin/room_features_controller_test.rb test/functional/admin/users_controller_test.rb (The filename, directory name, or volume label syntax is incorrect)


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Michael Sica - 30/Apr/08 02:08 PM
I forgot to mention that this is a Jruby project.

Chris Williams - 05/May/08 10:32 AM
Yuck, that's one heck of a command line. It looks to me like it broken trying to build up the command line, it's trying to execute jruby.bat by doing:
C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/bin/C:/Program Files/Aptana/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p1/bin/jruby.bat

Obviously that's not right. I'm not sure why it's appending a full file path to jruby.bat after the bin directory again. I'll take a look and see if I can dig anything up for why it might do that.


Michael Sica - 05/May/08 10:40 AM
Thanks Chris. Not having this working is really ruining my workflow.

Thanks again!


Chris Williams - 05/May/08 10:57 AM
Can you check your logs to see the actual command line we tried to execute? The command lien above might have been created by the rake process rather than the IDE...

Help > Aptana Troubleshooting > View Aptana Log File. You should see a line that begins with "Starting: " that then shows the exact command lien we're executing under the hood.


Michael Sica - 05/May/08 01:45 PM
The IDE hangs, and becomes completely unresponsive. I've left it sitting there for 10-15 minutes, and then finally kill it through the Windows Task Manager. It doesn't look like it's getting past the db:test:prepare (see log below). But note that it db:test:prepare will work fine when I run it in isolation through the 'Rake Tasks' view or when I run db:functionals through the 'Rake Tasks' view.

!ENTRY org.radrails.rails.core 1 0 2008-05-05 13:21:38.923
!MESSAGE RailsRuntime.rubyExec: executing: [C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\bin\jruby.bat, -e STDOUT.sync=true, -e STDERR.sync=true, -e load(ARGV.shift), C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\bin\rake, db:test:prepare]
!SESSION 2008-05-05 13:36:16.450 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: C:\Program Files\Aptana\Aptana Studio\AptanaStudio.exe Studio
Command-line arguments: -os win32 -ws win32 -arch x86 C:\Program Files\Aptana\Aptana Studio\AptanaStudio.exe Studio
!ENTRY org.eclipse.core.resources 2 10035 2008-05-05 13:36:19.971
!MESSAGE A workspace crash was detected. The previous session did not exit normally.

!ENTRY org.rubypeople.rdt.launching 4 4 2008-05-05 13:36:27.805
!MESSAGE Failed to retrieve default libraries for C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1

!ENTRY org.eclipse.ui 4 4 2008-05-05 13:36:30.714
!MESSAGE Invalid Menu Extension (Path is invalid): org.rubypeople.rdt.debug.ui.actions.ModifyCatchpoint

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.379
!MESSAGE Got system PATH: C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p2\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\JRun4\verity\k2_nti40\bin;C:\oracle\ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Program Files\CA\SharedComponents\PEC\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\CA\Cryptography\;C:\Program Files\CA\AllFusion Harvest Change Manager;C:\Program Files\Rational\common;C:\Program Files\Rational\ClearCase\bin;C:\j2sdk1.4.2_12\jre\bin;C:\Program Files\QuickTime\QTSystem\ ;

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.379
!MESSAGE Checking path: C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p2\bin

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.379
!MESSAGE Checking path: C:\oraclexe\app\oracle\product\10.2.0\server\bin

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.379
!MESSAGE Checking path: C:\JRun4\verity\k2_nti40\bin

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.379
!MESSAGE Checking path: C:\oracle\ora81\bin

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.379
!MESSAGE Checking path: C:\Program Files\Oracle\jre\1.1.7\bin

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.379
!MESSAGE Checking path: C:\Program Files\CA\SharedComponents\PEC\bin

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.379
!MESSAGE Checking path: C:\WINDOWS\system32

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.379
!MESSAGE Checking path: C:\WINDOWS

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.379
!MESSAGE Checking path: C:\WINDOWS\System32\Wbem

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.389
!MESSAGE Checking path: C:\Program Files\ATI Technologies\ATI Control Panel

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.389
!MESSAGE Checking path: C:\Program Files\CA\Cryptography\

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.389
!MESSAGE Checking path: C:\Program Files\CA\AllFusion Harvest Change Manager

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.389
!MESSAGE Checking path: C:\Program Files\Rational\common

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.389
!MESSAGE Checking path: C:\Program Files\Rational\ClearCase\bin

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.389
!MESSAGE Checking path: C:\j2sdk1.4.2_12\jre\bin

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.389
!MESSAGE Checking path: C:\Program Files\QuickTime\QTSystem\

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.389
!MESSAGE Got path to Windows dir: C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p2\bin

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.399
!MESSAGE File already exists: C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p2\bin\sqlite3.exe

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.399
!MESSAGE File already exists: C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p2\bin\sqlite3.dll

!ENTRY com.aptana.radrails.sqlite3.win32 1 -1 2008-05-05 13:36:32.399
!MESSAGE File already exists: C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p2\bin\sqlite3.def

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:32.961
!MESSAGE Resource /[Removed].com (CF) is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:32.961
!MESSAGE Resource /nested_layouts is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:32.961
!MESSAGE Resource /nested_layouts is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:36.160
!MESSAGE Resource /nested_layouts is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:36.160
!MESSAGE Resource /nested_layouts is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:36.160
!MESSAGE Resource /nested_layouts is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:36.170
!MESSAGE Resource /nested_layouts is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:36.170
!MESSAGE Resource /nested_layouts is not open.

!ENTRY org.rubypeople.rdt.launching 1 -1 2008-05-05 13:36:36.261
!MESSAGE Starting: java -Xverify:none -Xmx512m -Xss1024k -cp "C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-analysis-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-commons-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-tree-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-util-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\bsf.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\com.[Removed].security-1.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\jline-0.9.93.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\jna.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\joda-time-1.5.1.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\joni.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\jruby.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\ojdbc14-oracle9i-9.2.0.5.jar;C:\Program Files\Aptana\Aptana Studio\plugins\com.aptana.ide.libraries_1.1.1.003474\derbyclient.jar" -Djruby.base="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1" -Djruby.home="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1" -Djruby.lib="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib" -Djruby.shell="cmd.exe" -Djruby.script="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\bin\jruby.bat" org.jruby.Main -r rubygems -e p(Gem.path) – "C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\bin\gem"

!ENTRY org.rubypeople.rdt.launching 1 -1 2008-05-05 13:36:36.261
!MESSAGE Starting: java -Xverify:none -Xmx512m -Xss1024k -cp "C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-analysis-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-commons-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-tree-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-util-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\bsf.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\com.[Removed].security-1.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\jline-0.9.93.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\jna.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\joda-time-1.5.1.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\joni.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\jruby.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\ojdbc14-oracle9i-9.2.0.5.jar;C:\Program Files\Aptana\Aptana Studio\plugins\com.aptana.ide.libraries_1.1.1.003474\derbyclient.jar" -Djruby.base="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1" -Djruby.home="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1" -Djruby.lib="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib" -Djruby.shell="cmd.exe" -Djruby.script="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\bin\jruby.bat" org.jruby.Main – "C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\bin\gem" sources -l

!ENTRY org.rubypeople.rdt.launching 1 -1 2008-05-05 13:36:36.271
!MESSAGE Starting: java -Xverify:none -Xmx512m -Xss1024k -cp "C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-analysis-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-commons-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-tree-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-util-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\bsf.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\com.[Removed].security-1.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\jline-0.9.93.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\jna.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\joda-time-1.5.1.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\joni.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\jruby.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\ojdbc14-oracle9i-9.2.0.5.jar;C:\Program Files\Aptana\Aptana Studio\plugins\com.aptana.ide.libraries_1.1.1.003474\derbyclient.jar" -Djruby.base="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1" -Djruby.home="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1" -Djruby.lib="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib" -Djruby.shell="cmd.exe" -Djruby.script="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\bin\jruby.bat" org.jruby.Main – "C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\bin\gem" -v

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:37.294
!MESSAGE Resource /[Removed].com (CF) is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:37.294
!MESSAGE Resource /[Removed].com (CF) is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:37.294
!MESSAGE Resource /[Removed].com (CF) is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:37.294
!MESSAGE Resource /[Removed].com (CF) is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:37.304
!MESSAGE Resource /[Removed].com (CF) is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-05 13:36:37.304
!MESSAGE Resource /[Removed].com (CF) is not open.

!ENTRY org.rubypeople.rdt.launching 1 -1 2008-05-05 13:36:51.116
!MESSAGE Starting: java -Xverify:none -Xmx512m -Xss1024k -cp "C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-analysis-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-commons-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-tree-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\asm-util-3.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\bsf.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\com.[Removed].security-1.0.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\jline-0.9.93.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\jna.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\joda-time-1.5.1.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\joni.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\jruby.jar;C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib\ojdbc14-oracle9i-9.2.0.5.jar;C:\Program Files\Aptana\Aptana Studio\plugins\com.aptana.ide.libraries_1.1.1.003474\derbyclient.jar" -Djruby.base="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1" -Djruby.home="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1" -Djruby.lib="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\lib" -Djruby.shell="cmd.exe" -Djruby.script="C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\bin\jruby.bat" org.jruby.Main – "C:\Program Files\Aptana\Aptana Studio\plugins\org.jruby_1.1.0.5965_RC2p1\bin\gem" query -d


Eric Stewart - 06/May/08 10:41 AM
Many developers at my company have been experiencing this too on an MRI based rails project and on both Windows and Linux.

In linux, the command line I have to kill (from ps) is:

/usr/local/bin/ruby -e STDOUT.sync=true -e STDERR.sync=true -e load(ARGV.shift) /usr/local/bin/rake db:test:prepare

And if it helps, the Aptana log from my last run is:

!SESSION 2008-05-06 09:36:56.640 -----------------------------------------------
eclipse.buildId=M20080221-1800
java.version=1.6.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.ui 2 0 2008-05-06 09:37:00.809
!MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
!SUBENTRY 1 org.eclipse.ui 2 0 2008-05-06 09:37:00.809
!MESSAGE Cannot bind to an undefined command: plug-in='com.aptana.ide.editors', id='org.eclipse.ui.edit.text.openExternalFile'

!ENTRY org.eclipse.ui 4 4 2008-05-06 09:37:04.142
!MESSAGE Plug-in 'org.rubypeople.rdt.debug.ui' contributed an invalid Menu Extension (Path: 'org.eclipse.ui.run' is invalid): org.rubypeople.rdt.debug.ui.actions.ModifyCatchpoint

!ENTRY org.eclipse.ui.workbench 2 0 2008-05-06 09:37:10.896
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-05-06 09:37:10.896
!MESSAGE Conflict for 'AUTOGEN:::org.rubypeople.rdt.refactoring.refactoringContext/org.rubypeople.rdt.refactoring.action.RenameAction':
HandlerActivation(commandId=AUTOGEN:::org.rubypeople.rdt.refactoring.refactoringContext/org.rubypeople.rdt.refactoring.action.RenameAction,
handler=ActionDelegateHandlerProxy(null,org.rubypeople.rdt.refactoring.action.RenameAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@13bdd36),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::org.rubypeople.rdt.refactoring.refactoringContext/org.rubypeople.rdt.refactoring.action.RenameAction,
handler=ActionDelegateHandlerProxy(null,org.rubypeople.rdt.refactoring.action.RenameAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@13bdd36),sourcePriority=16384)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-05-06 09:37:10.896
!MESSAGE Conflict for 'AUTOGEN:::org.rubypeople.rdt.refactoring.refactoringContext/org.rubypeople.rdt.refactoring.action.MoveFieldAction':
HandlerActivation(commandId=AUTOGEN:::org.rubypeople.rdt.refactoring.refactoringContext/org.rubypeople.rdt.refactoring.action.MoveFieldAction,
handler=ActionDelegateHandlerProxy(null,org.rubypeople.rdt.refactoring.action.MoveFieldAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@13bdd36),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::org.rubypeople.rdt.refactoring.refactoringContext/org.rubypeople.rdt.refactoring.action.MoveFieldAction,
handler=ActionDelegateHandlerProxy(null,org.rubypeople.rdt.refactoring.action.MoveFieldAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@13bdd36),sourcePriority=16384)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-05-06 09:37:10.896
!MESSAGE Conflict for 'AUTOGEN:::org.rubypeople.rdt.refactoring.refactoringContext/org.rubypeople.rdt.refactoring.action.EncapsulateFieldAction':
HandlerActivation(commandId=AUTOGEN:::org.rubypeople.rdt.refactoring.refactoringContext/org.rubypeople.rdt.refactoring.action.EncapsulateFieldAction,
handler=ActionDelegateHandlerProxy(null,org.rubypeople.rdt.refactoring.action.EncapsulateFieldAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@13bdd36),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::org.rubypeople.rdt.refactoring.refactoringContext/org.rubypeople.rdt.refactoring.action.EncapsulateFieldAction,
handler=ActionDelegateHandlerProxy(null,org.rubypeople.rdt.refactoring.action.EncapsulateFieldAction),
expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@13bdd36),sourcePriority=16384)

!ENTRY org.eclipse.jface 2 0 2008-05-06 09:37:10.917
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2008-05-06 09:37:10.917
!MESSAGE A conflict occurred for CTRL+SHIFT+I:
Binding(CTRL+SHIFT+I,
ParameterizedCommand(Command(org.eclipse.jdt.debug.ui.commands.Inspect,Inspect,
Inspect result of evaluating selected text,
Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(CTRL+SHIFT+I,
ParameterizedCommand(Command(com.aptana.ide.debug.ui.commands.Inspect,Inspect,
,
Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2008-05-06 09:37:10.917
!MESSAGE A conflict occurred for CTRL+U:
Binding(CTRL+U,
ParameterizedCommand(Command(org.eclipse.jdt.debug.ui.commands.Execute,Execute,
Evaluate selected text,
Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+U,
ParameterizedCommand(Command(org.radrails.rails.ui.command.script_console,script/console,
,
Category(org.eclipse.core.commands.categories.autogenerated,Uncategorized,Commands that were either auto-generated or have no category,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2008-05-06 09:37:10.917
!MESSAGE A conflict occurred for F4:
Binding(F4,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.open.type.hierarchy,Open Type Hierarchy,
Open a type hierarchy on the selected element,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(F4,
ParameterizedCommand(Command(org.rubypeople.rdt.ui.edit.text.ruby.open.type.hierarchy,Open Type Hierarchy,
Open a type hierarchy on the selected element,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2008-05-06 09:37:10.917
!MESSAGE A conflict occurred for ALT+CTRL+H:
Binding(ALT+CTRL+H,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.open.call.hierarchy,Open Call Hierarchy,
Open a call hierarchy on the selected element,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(ALT+CTRL+H,
ParameterizedCommand(Command(org.rubypeople.rdt.ui.edit.text.ruby.open.call.hierarchy,Open Call Hierarchy,
Open a call hierarchy on the selected element,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2008-05-06 09:37:10.917
!MESSAGE A conflict occurred for CTRL+SHIFT+H:
Binding(CTRL+SHIFT+H,
ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type.in.hierarchy,Open Type in Hierarchy,
Open a type in the type hierarchy view,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+SHIFT+H,
ParameterizedCommand(Command(org.rubypeople.rdt.ui.navigate.open.type.in.hierarchy,Open Type in Hierarchy,
Open a type in the type hierarchy view,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)

!ENTRY org.eclipse.osgi 2 1 2008-05-06 09:37:11.370
!MESSAGE NLS unused message: 1) in: org.rubypeople.rdt.internal.debug.ui.RdtDebugUiMessages

!ENTRY org.rubypeople.rdt.debug.ui 4 4 2008-05-06 09:37:11.371
!MESSAGE Internal error occurred
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/debug/internal/ui/contexts/provisional/IDebugContextListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:501)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:471)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:430)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:413)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:408)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.rubypeople.rdt.internal.debug.ui.RdtDebugUiPlugin.start(RdtDebugUiPlugin.java:177)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:408)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:289)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1269)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.debug.internal.core.LaunchManager.newSourceLocator(LaunchManager.java:2058)
at org.eclipse.debug.internal.core.LaunchConfiguration.initializeSourceLocator(LaunchConfiguration.java:560)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:754)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:608)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:601)
at org.rubypeople.rdt.launching.RubyRuntime.launchInBackgroundAndRead(RubyRuntime.java:1813)
at com.aptana.rdt.internal.core.gems.GemManager.launchInBackgroundAndRead(GemManager.java:192)
at com.aptana.rdt.internal.core.gems.GemManager.getGemInstallPaths(GemManager.java:528)
at com.aptana.rdt.internal.launching.GemLoadpathVariablesInitializer$1.run(GemLoadpathVariablesInitializer.java:60)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.ClassNotFoundException: org.eclipse.debug.internal.ui.contexts.provisional.IDebugContextListener
at java.lang.ClassLoader.findClass(ClassLoader.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 49 more

!ENTRY org.rubypeople.rdt.launching 1 -1 2008-05-06 09:37:12.451
!MESSAGE Starting: /usr/local/bin/ruby -I /home/estewart/apps/eclipse/plugins/org.rubypeople.rdt.launching_1.0.1.200803281641NGT/ruby/flush -rrdt_stream_sync.rb – /usr/local/bin/gem -v

!ENTRY org.rubypeople.rdt.launching 1 -1 2008-05-06 09:37:12.472
!MESSAGE Starting: /usr/local/bin/ruby -r rubygems -e p(Gem.path) -I /home/estewart/apps/eclipse/plugins/org.rubypeople.rdt.launching_1.0.1.200803281641NGT/ruby/flush -rrdt_stream_sync.rb – /usr/local/bin/gem

!ENTRY org.rubypeople.rdt.launching 1 -1 2008-05-06 09:37:12.537
!MESSAGE Starting: /usr/local/bin/ruby -I /home/estewart/apps/eclipse/plugins/org.rubypeople.rdt.launching_1.0.1.200803281641NGT/ruby/flush -rrdt_stream_sync.rb – /usr/local/bin/gem sources -l

!ENTRY org.eclipse.core.resources 4 372 2008-05-06 09:37:13.777
!MESSAGE Resource '/FTWeb' is not open.

!ENTRY org.rubypeople.rdt.launching 1 -1 2008-05-06 09:37:13.938
!MESSAGE Starting: /usr/local/bin/ruby -I /home/estewart/apps/eclipse/plugins/org.rubypeople.rdt.launching_1.0.1.200803281641NGT/ruby/flush -rrdt_stream_sync.rb – /usr/local/bin/gem query -d

!ENTRY org.rubypeople.rdt.launching 4 4 2008-05-06 09:37:14.183
!MESSAGE Failed to retrieve platform for /usr/local

!ENTRY org.eclipse.debug.core 4 120 2008-05-06 09:37:14.460
!MESSAGE Error logged from Debug Core:
!STACK 0
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145)
at java.io.BufferedInputStream.read(BufferedInputStream.java:308)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at org.eclipse.debug.internal.core.OutputStreamMonitor.read(OutputStreamMonitor.java:144)
at org.eclipse.debug.internal.core.OutputStreamMonitor.access$1(OutputStreamMonitor.java:134)
at org.eclipse.debug.internal.core.OutputStreamMonitor$1.run(OutputStreamMonitor.java:207)
at java.lang.Thread.run(Thread.java:619)

!ENTRY org.eclipse.debug.core 4 120 2008-05-06 09:37:14.461
!MESSAGE Error logged from Debug Core:
!STACK 0
java.io.IOException: Bad file descriptor
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:199)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at org.eclipse.debug.internal.core.OutputStreamMonitor.read(OutputStreamMonitor.java:144)
at org.eclipse.debug.internal.core.OutputStreamMonitor.access$1(OutputStreamMonitor.java:134)
at org.eclipse.debug.internal.core.OutputStreamMonitor$1.run(OutputStreamMonitor.java:207)
at java.lang.Thread.run(Thread.java:619)

!ENTRY org.eclipse.core.resources 4 372 2008-05-06 09:37:19.207
!MESSAGE Resource '/FTWeb' is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-06 09:37:19.208
!MESSAGE Resource '/FTWeb' is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-06 09:37:19.209
!MESSAGE Resource '/FTWeb' is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-06 09:37:19.210
!MESSAGE Resource '/FTWeb' is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-06 09:37:19.210
!MESSAGE Resource '/FTWeb' is not open.

!ENTRY org.eclipse.core.resources 4 372 2008-05-06 09:37:19.211
!MESSAGE Resource '/FTWeb' is not open.

!ENTRY org.radrails.rails.core 1 0 2008-05-06 09:37:23.985
!MESSAGE RailsRuntime.rubyExec: executing: [/usr/local/bin/ruby, -e STDOUT.sync=true, -e STDERR.sync=true, -e load(ARGV.shift), /usr/local/bin/rake, db:test:prepare]

!ENTRY org.rubypeople.rdt.launching 1 -1 2008-05-06 09:37:46.722
!MESSAGE Starting: /usr/local/bin/ruby -I /home/estewart/apps/eclipse/plugins/org.rubypeople.rdt.launching_1.0.1.200803281641NGT/ruby/flush -rrdt_stream_sync.rb – /home/estewart/workspace/.metadata/.plugins/org.rubypeople.rdt.testunit/RemoteTestRunner.rb /home/estewart/workspace/.metadata/.plugins/org.radrails.rails.core/run_tests.rb 4000 false


Chris Williams - 06/May/08 11:11 AM
Eric: Hmm, that's weird. The logs indicate that the rake db:test:prepare should have finished (we wait for it before we try to start up the test script), yet you say the command stuck in ps is the db:test:prepare.

If you run that exact rake command on the command line (in the project root as the working directory) does it work and finish properly?

Are there any errors shown inside the IDE when this whole process fails? (is it failing to connect to the test runner on the port)?


Eric Stewart - 06/May/08 03:56 PM
Chris, yes runing the same command on the command line succeeds as you would expect.

There are no additional errors shown. All of Eclipse becomes unresponsive (typical UI thread blocked response) untill I kill the rake task mentioned above. However based on your question I did check and when (apparently) hung,
I am not able to connect to port 4000 and I do not see the following process until after killing the hung db:test:prepare task:

/usr/local/bin/ruby -I /home/estewart/apps/eclipse/plugins/org.rubypeople.rdt.launching_1.0.1.200803281641NGT/ruby/flush -rrdt_stream_sync.rb – /home/estewart/workspace/.metadata/.plugins/org.rubypeople.rdt.testunit/RemoteTestRunner.rb /home/estewart/workspace/.metadata/.plugins/org.radrails.rails.core/run_tests.rb 4000 false

For our project, db:test:prepare usually completes in under 30 seconds, but trying to wait out Testruner (whith GUI hung and not repainting) for much greater lengths of time does not change anything.

Let me know if there is anything else I can try or tell you.