Project: appceleratorstudio
Issue TISTUD-7415: Error using "Cmd /" to comment out a line
When using "Cmd /" to comment out a line, or block, of code in a controller, the following error occurs. I believe this only started after the update I was prompted to install this morning. {code} [2015-04-16 09:08:46] An error occurred while processing the invoke block for the command Comment Line / Selection in /Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb: (NameError) missing class or uppercase package name (`org.eclipse.swt.SWT'), caused by (NameError) cannot load Java class org.eclipse.swt.SWT org.jruby.exceptions.RaiseException: (NameError) missing class or uppercase package name (`org.eclipse.swt.SWT'), caused by (NameError) cannot load Java class org.eclipse.swt.SWT org.jruby.javasupport.JavaUtilities.get_proxy_or_package_under_package(org/jruby/javasupport/JavaUtilities.java:54) Module.method_missing(classpath:/jruby/java/java_package_module_template.rb:14) RUBY.[]=(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/71/0/.cp/framework/ruble/editor.rb:196) org.jruby.RubyProc.call(org/jruby/RubyProc.java:271) RUBY.run(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/117/0/.cp/framework/ruble/ui.rb:249) RUBY.[]=(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/71/0/.cp/framework/ruble/editor.rb:193) RUBY.add(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/lib/comment.rb:233) RUBY.define_command(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:56) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) RUBY.define_command(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:53) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613) RUBY.define_command(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:52) {code}
Story points: 5