Can't run Ruby tests after upgrading to IDEA 9.0.3

I'm running Mac OS X Snow Leopard (10.6.4) with IDEA 9.0.3 (build IU-95.429) on Java 1.6.0_20 with RubyMine plugin 2.5.12197.

Previously I was running IDEA 9.0.2 and had no problems running Ruby Test::Unit::TestCase tests using either a new Run Configuration or the Run Context Menu option (Ctrl-Shift-F10 or right-click and select the Run "..." menu option.)

Now after upgrading to 9.0.3, whenever I try to run a Test::Unit::TestCase test using either a Run Configuration menu option or the Run Context menu shortcut, I see the "Make" icon appear briefly in the status bar and then see the status message "All files are up-to-date."

I don't see any messages in the idea.log nor are there any new thread dump folders that appear.

This happens on any existing Ruby or Rails projects, plus also on a brand new Rails project I created.

Thanks,
Dan

4 comments
Comment actions Permalink

Here's some more information for diagnostic purposes:

Ruby Version

macbook:~ wellman$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]


Installed Gems:

macbook:~ wellman$ gem list

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (2.3.8, 2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.2, 2.1.0, 1.3.6)
actionpack (2.3.8, 2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.2, 2.1.0, 1.13.6)
actionwebservice (1.2.6)
activerecord (2.3.8, 2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.2, 2.1.0, 1.15.6)
activeresource (2.3.8, 2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.2, 2.1.0)
activesupport (3.0.0.beta3, 2.3.8, 2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.2, 2.1.0, 1.4.4)
acts_as_ferret (0.4.4, 0.4.3)
arel (0.4.0)
assert2 (0.5.5, 0.3.4)
aws-s3 (0.6.2, 0.5.1)
bane (0.1.1, 0.1.0)
bson (1.0.4)
builder (2.1.2)
bundler (0.9.26)
cancan (1.2.0)
capistrano (2.5.10, 2.5.5, 2.5.2, 2.4.3, 1.4.2)
cgi_multipart_eof_fix (2.5.0)
configuration (1.1.0)
cucumber (0.5.3, 0.4.4, 0.4.3, 0.1.13)
daemons (1.0.10)
deprec (2.1.4, 2.0.9, 2.0.1, 1.9.3)
diff-lcs (1.1.2)
dnssd (1.3.1, 0.7.0, 0.6.0)
erubis (2.6.6)
extlib (0.9.15)
faker (0.3.1)
fastthread (1.0.7, 1.0.1)
fcgi (0.8.8, 0.8.7)
ferret (0.11.6)
gem_plugin (0.2.3)
gemcutter (0.5.0)
git (1.2.5)
has_scope (0.5.0)
highline (1.5.1, 1.5.0)
hoe (2.6.0, 2.3.3)
hpricot (0.8.2, 0.6.164)
i18n (0.3.7)
image_science (1.2.1)
inherited_resources (1.0.6, 0.9.3)
jeweler (1.4.0)
jnunemaker-validatable (1.8.4)
json_pure (1.2.0)
libxml-ruby (1.1.3, 1.1.2, 0.9.7)
linecache (0.43)
mail (2.2.5)
mechanize (0.9.3)
memcache-client (1.8.3)
mime-types (1.16, 1.15)
mocha (0.9.8, 0.9.3)
mongo (1.0.5)
mongo_mapper (0.8.2)
mongrel (1.1.5)
mysql (2.8.1)
needle (1.3.0)
net-scp (1.0.2, 1.0.1)
net-sftp (2.0.2, 2.0.1, 1.1.1)
net-ssh (2.0.15, 2.0.10, 2.0.6, 2.0.4, 1.1.4)
net-ssh-gateway (1.0.1, 1.0.0)
nokogiri (1.4.0, 1.1.0)
plucky (0.3.2)
polyglot (0.3.1, 0.2.9, 0.2.3)
populator (0.2.5)
racc (1.4.6)
rack (1.1.0, 1.0.1, 1.0.0)
rack-mount (0.6.9)
rack-test (0.5.4, 0.5.2)
rails (2.3.8, 2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.2, 2.1.0, 1.2.6)
railties (3.0.0.beta4)
rake (0.8.7, 0.8.3)
rake-compiler (0.7.0)
rcov (0.9.6)
RedCloth (4.2.2, 4.1.1)
reek (1.2.8, 1.2.5)
responders (0.4.7)
rexical (1.0.4)
riak-client (0.7.1)
ripple (0.7.1)
rspec (1.3.0, 1.2.9, 1.2.6, 1.1.11)
rspec-rails (1.3.2, 1.2.9, 1.2.6, 1.1.11)
ruby-debug-base (0.10.3)
ruby-debug-ide (0.4.9)
ruby-openid (2.1.7, 2.1.2)
ruby-yadis (0.3.4)
ruby2ruby (1.2.4)
ruby_parser (2.0.4)
rubyforge (2.0.4, 2.0.3, 1.0.1)
rubygems-update (1.3.7, 1.3.5, 1.3.1)
RubyInline (3.8.3)
rubynode (0.1.5)
selenium-client (1.2.17)
sexp_processor (3.0.3)
sinatra (1.0, 0.9.4)
sqlite3-ruby (1.2.5, 1.2.4, 1.2.3)
term-ansicolor (1.0.4, 1.0.3)
termios (0.9.4)
thor (0.13.8)
thoughtbot-shoulda (2.0.6)
treetop (1.4.8, 1.4.2, 1.2.4)
tzinfo (0.3.22)
webrat (0.5.3, 0.3.2)
xml-simple (1.0.12, 1.0.11)
xmpp4r (0.5, 0.4)
ZenTest (4.1.4, 3.11.0)
daniel-wellmans-macbook:~ wellman$


Some screenshots are attached (SDK Configuration and Run Configuration)



Attachment(s):
Screen shot 2010-07-31 at 8.44.37 AM.png
Screen shot 2010-07-31 at 8.43.16 AM.png
0
Comment actions Permalink

I have a similar problem:  I can run Unit Tests ok, but I get the same behaviour as you when I try to run Functional tests.

However I get the following in the Log:

2010-08-04 09:25:24,378 [ 263403]   INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED
2010-08-04 09:25:24,602 [ 263627]   INFO - lij.compiler.impl.CompilerUtil - Initial VFS refresh took 50 ms: 0 min 0sec
2010-08-04 09:25:24,861 [ 263886]   INFO - lij.compiler.impl.CompilerUtil -     COMPILATION FINISHED; Errors: 0; warnings: 0 took 483 ms: 0 min 0sec
2010-08-04 09:25:24,954 [ 263979]  ERROR - pplication.impl.LaterInvocator - com.intellij.execution.testframework.sm.runner.SMTRunnerConsoleProperties.<init>(Lcom/intellij/execution/configurations/RuntimeConfiguration;)V
java.lang.NoSuchMethodError: com.intellij.execution.testframework.sm.runner.SMTRunnerConsoleProperties.<init>(Lcom/intellij/execution/configurations/RuntimeConfiguration;)V
    at org.jetbrains.plugins.ruby.testing.testunit.runConfigurations.RAbstractTestsCommandLineState.createAndAttachConsole(RAbstractTestsCommandLineState.java:65)
    at org.jetbrains.plugins.ruby.testing.testunit.runConfigurations.RAbstractTestsCommandLineState.execute(RAbstractTestsCommandLineState.java:87)
    at com.intellij.execution.impl.DefaultJavaProgramRunner.doExecute(DefaultJavaProgramRunner.java:98)
    at com.intellij.execution.runners.GenericProgramRunner$1.run(GenericProgramRunner.java:95)
    at com.intellij.openapi.project.DumbServiceImpl.runWhenSmart(DumbServiceImpl.java:80)
    at com.intellij.openapi.project.DumbService$1.run(DumbService.java:71)
    at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:319)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:610)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:500)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
2010-08-04 09:25:24,956 [ 263981]  ERROR - pplication.impl.LaterInvocator - IntelliJ IDEA 9.0.3  Build #IU-95.429
2010-08-04 09:25:24,956 [ 263981]  ERROR - pplication.impl.LaterInvocator - JDK: 1.6.0_20
2010-08-04 09:25:24,956 [ 263981]  ERROR - pplication.impl.LaterInvocator - VM: Java HotSpot(TM) Server VM
2010-08-04 09:25:24,956 [ 263981]  ERROR - pplication.impl.LaterInvocator - Vendor: Sun Microsystems Inc.
2010-08-04 09:25:24,956 [ 263981]  ERROR - pplication.impl.LaterInvocator - OS: Linux
2010-08-04 09:25:24,956 [ 263981]  ERROR - pplication.impl.LaterInvocator - Last Action: RunClass


Cheers
Geoff

0
Comment actions Permalink


Hi Daniel

Have you seen this Issue?  http://youtrack.jetbrains.net/issue/RUBY-6452?projectKey=RUBY&query=SMTRunnerConsoleProperties

If not perhaps you can vote for a fix.

Cheers
Geoff

0
Comment actions Permalink

Hello,

Thanks for pointing me to this issue.  I checked my log files again and sure enough found the exception like the one listed in the issue.  (Posted below)

So this seems to be the same problem.


2010-08-07 21:54:49,994 [  61531]  ERROR - pplication.impl.LaterInvocator - com.intellij.execution.testframework.sm.runner.SMTRunnerConsoleProperties.<init>(Lcom/intellij/execution/configurations/RuntimeConfiguration;)V
java.lang.NoSuchMethodError: com.intellij.execution.testframework.sm.runner.SMTRunnerConsoleProperties.<init>(Lcom/intellij/execution/configurations/RuntimeConfiguration;)V
        at org.jetbrains.plugins.ruby.testing.testunit.runConfigurations.RAbstractTestsCommandLineState.createAndAttachConsole(RAbstractTestsCommandLineState.java:65)
        at org.jetbrains.plugins.ruby.testing.testunit.runConfigurations.RAbstractTestsCommandLineState.execute(RAbstractTestsCommandLineState.java:87)
        at com.intellij.execution.impl.DefaultJavaProgramRunner.doExecute(DefaultJavaProgramRunner.java:98)
        at com.intellij.execution.runners.GenericProgramRunner$1.run(GenericProgramRunner.java:95)
        at com.intellij.openapi.project.DumbServiceImpl.runWhenSmart(DumbServiceImpl.java:80)
        at com.intellij.openapi.project.DumbService$1.run(DumbService.java:71)
        at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:319)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
        at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:610)
        at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:500)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

0

Please sign in to leave a comment.