Project: appceleratorstudio
Issue TISTUD-5294: Exception in Studio Console related to loading the Ruble
h5. Problem description When recompiling a project (Alloy), I've seen the following error in the Studio Console, which seems to be related to loading Ruble. Project is correctly compiled and built. {code} [2013-08-22 13:06:15] An error occurred while processing the invoke block for the command Comment Line / Selection in C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb: (NoMethodError) undefined method `getDefaultLineDelimiter' for nil:NilClass org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `getDefaultLineDelimiter' for nil:NilClass Comment.newline(C:/Users/QEtester/Desktop/Appcelerator_Studio_3.1.2/configuration/org.eclipse.osgi/bundles/340/1/.cp/bundles/source.ruble/lib/comment.rb:72) LineComment.add(C:/Users/QEtester/Desktop/Appcelerator_Studio_3.1.2/configuration/org.eclipse.osgi/bundles/340/1/.cp/bundles/source.ruble/lib/comment.rb:223) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) LineComment.add(C:/Users/QEtester/Desktop/Appcelerator_Studio_3.1.2/configuration/org.eclipse.osgi/bundles/340/1/.cp/bundles/source.ruble/lib/comment.rb:217) #.define_command(C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb:56) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) #.define_command(C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb:53) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) #.define_command(C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb:52) org.jruby.RubyProc.call(org/jruby/RubyProc.java:274) org.jruby.RubyProc.call(org/jruby/RubyProc.java:233) [2013-08-22 13:06:16] An error occurred while processing the invoke block for the command Comment Line / Selection in C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb: (NoMethodError) undefined method `getDefaultLineDelimiter' for nil:NilClass org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `getDefaultLineDelimiter' for nil:NilClass Comment.newline(C:/Users/QEtester/Desktop/Appcelerator_Studio_3.1.2/configuration/org.eclipse.osgi/bundles/340/1/.cp/bundles/source.ruble/lib/comment.rb:72) LineComment.add(C:/Users/QEtester/Desktop/Appcelerator_Studio_3.1.2/configuration/org.eclipse.osgi/bundles/340/1/.cp/bundles/source.ruble/lib/comment.rb:223) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) LineComment.add(C:/Users/QEtester/Desktop/Appcelerator_Studio_3.1.2/configuration/org.eclipse.osgi/bundles/340/1/.cp/bundles/source.ruble/lib/comment.rb:217) #.define_command(C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb:56) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) #.define_command(C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb:53) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) #.define_command(C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb:52) org.jruby.RubyProc.call(org/jruby/RubyProc.java:274) org.jruby.RubyProc.call(org/jruby/RubyProc.java:233) [2013-08-22 13:06:16] An error occurred while processing the invoke block for the command Comment Line / Selection in C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb: (NoMethodError) undefined method `getDefaultLineDelimiter' for nil:NilClass org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `getDefaultLineDelimiter' for nil:NilClass Comment.newline(C:/Users/QEtester/Desktop/Appcelerator_Studio_3.1.2/configuration/org.eclipse.osgi/bundles/340/1/.cp/bundles/source.ruble/lib/comment.rb:72) LineComment.add(C:/Users/QEtester/Desktop/Appcelerator_Studio_3.1.2/configuration/org.eclipse.osgi/bundles/340/1/.cp/bundles/source.ruble/lib/comment.rb:223) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) LineComment.add(C:/Users/QEtester/Desktop/Appcelerator_Studio_3.1.2/configuration/org.eclipse.osgi/bundles/340/1/.cp/bundles/source.ruble/lib/comment.rb:217) #.define_command(C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb:56) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) #.define_command(C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb:53) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) #.define_command(C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb:52) org.jruby.RubyProc.call(org/jruby/RubyProc.java:274) org.jruby.RubyProc.call(org/jruby/RubyProc.java:233) [2013-08-22 13:06:17] An error occurred while processing the invoke block for the command Comment Line / Selection in C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb: (NoMethodError) undefined method `getDefaultLineDelimiter' for nil:NilClass org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `getDefaultLineDelimiter' for nil:NilClass Comment.newline(C:/Users/QEtester/Desktop/Appcelerator_Studio_3.1.2/configuration/org.eclipse.osgi/bundles/340/1/.cp/bundles/source.ruble/lib/comment.rb:72) LineComment.add(C:/Users/QEtester/Desktop/Appcelerator_Studio_3.1.2/configuration/org.eclipse.osgi/bundles/340/1/.cp/bundles/source.ruble/lib/comment.rb:223) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) LineComment.add(C:/Users/QEtester/Desktop/Appcelerator_Studio_3.1.2/configuration/org.eclipse.osgi/bundles/340/1/.cp/bundles/source.ruble/lib/comment.rb:217) #.define_command(C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb:56) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) #.define_command(C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb:53) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603) #.define_command(C:\Users\QEtester\Desktop\Appcelerator_Studio_3.1.2\configuration\org.eclipse.osgi\bundles\340\1\.cp\bundles\source.ruble\commands\toggle_comment.rb:52) org.jruby.RubyProc.call(org/jruby/RubyProc.java:274) org.jruby.RubyProc.call(org/jruby/RubyProc.java:233) {code}
Story points: 5