History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RUBY-1948
Type: Exception Exception
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Roman Chernyatchik
Reporter: Michael Gaffney
Votes: 0
Watchers: 0
Operations

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

Configuring the Ruby SDK causes an exception

Created: 05 Oct 08 18:03   Updated: 06 Oct 08 21:56
Component/s: None
Fix Version/s: 2.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment:
Ruby 1.8.6
Windows XP
IntelliJ #8858
Issue Links:
Duplicate
 
This issue is duplicated by:
RUBY-1952 [#11407] Throwable: ExecutionHelper$6... Major Closed

Build: 208,178
Severity: High


 Description  « Hide
  1. Uninstall the Ruby plugin
  2. Restart IntelliJ
  3. Delete any Ruby SDKs you have configured
  4. Shutdown IntelliJ
  5. In windows, delete the IntelliJ 'system' directory. (From my idea.properties file: idea.system.path=${idea.home}/system)
  6. Start IntelliJ
  7. Open 'Plugin Manager'
  8. Install 'Ruby plugin' from the 'Available' tab
  9. Restart IntelliJ
  10. Open Settings (Ctrl+Alt+S)
  11. Click on 'Project Settings'
  12. Select 'JDKs'
  13. Press the 'Add New JDK' button
  14. Select 'Ruby SDK' from the menu
  15. Find your ruby.exe then press 'OK' from the 'Select Ruby interpreter path'
  16. Wait a few seconds ...

The following exception should pop up:

Timeout (10 sec) on executing: C:/ruby-1.8.6-26/bin/ruby.exe C:\DOCUME~1\gaffnm\LOCALS~1\Temp\script33834.rb
java.lang.Throwable
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
	at org.jetbrains.plugins.ruby.ruby.run.ExecutionHelper$6$2.run(ExecutionHelper.java:254)
	at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:2)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
	at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:7)



java.lang.Throwable
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
	at org.jetbrains.plugins.ruby.ruby.run.ExecutionHelper$6$2.run(ExecutionHelper.java:254)
	at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:2)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
	at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:7)



java.lang.Throwable
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
	at org.jetbrains.plugins.ruby.ruby.run.ExecutionHelper$6$2.run(ExecutionHelper.java:254)
	at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:2)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
	at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:7)



java.lang.Throwable
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
	at org.jetbrains.plugins.ruby.ruby.run.ExecutionHelper$6$2.run(ExecutionHelper.java:254)
	at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:2)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
	at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:7)


 All   Comments   Work Log   Change History      Sort Order:
Oleg Shpynov - 06 Oct 08 14:47
Hello Michael,
Could you please reproduce it one more time and attach temporary file created?
I mean C:\DOCUME~1\gaffnm\LOCALS~1\Temp\script33834.rb

Roman Chernyatchik - 06 Oct 08 15:50
Michael, we've reproduced this bug. There is no need in content of script33834.rb file. Fixed version will be available today.

Roman Chernyatchik - 06 Oct 08 16:29
done, rev. 208367

Michael Gaffney - 06 Oct 08 18:51
Will you guys be releasing an updated plugin today?

Roman Chernyatchik - 06 Oct 08 19:30
Yes, we will. Please wait 1-2 hours =)

Michael Gaffney - 06 Oct 08 19:53
Thanks for the update! Only 1 hour and 37 minutes to go!

Roman Chernyatchik - 06 Oct 08 21:56
Michael, fixed version is available!