Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-7415

Error using "Cmd /" to comment out a line

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 4.0.0
    • Fix Version/s: Release 4.1.1
    • Component/s: Editor
    • Labels:
      None
    • Environment:

      Mac OS X 10.10.3, Appcelerator Studio 4.0.0.201504131149

    • Story Points:
      5
    • Sprint:
      2015 Sprint 14 Studio

      Description

      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.

      [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
      	at org.jruby.javasupport.JavaUtilities.get_proxy_or_package_under_package(org/jruby/javasupport/JavaUtilities.java:54)
      	at Module.method_missing(classpath:/jruby/java/java_package_module_template.rb:14)
      	at RUBY.[]=(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/71/0/.cp/framework/ruble/editor.rb:196)
      	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:271)
      	at RUBY.run(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/117/0/.cp/framework/ruble/ui.rb:249)
      	at RUBY.[]=(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/71/0/.cp/framework/ruble/editor.rb:193)
      	at RUBY.add(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/lib/comment.rb:233)
      	at RUBY.define_command(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:56)
      	at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)
      	at RUBY.define_command(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:53)
      	at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)
      	at RUBY.define_command(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:52)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                MarkBoyer Mark Boyer
                Reviewer:
                Christopher Williams
              • Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: