Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-8236

Commenting line/selection broken in Eclipse 4.4 (Luna)

    Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.4.2
    • Fix Version/s: None
    • Component/s: Editor
    • Labels:
      None
    • Environment:

      Linux x64, Eclipse 4.4 Luna

      Description

      Commenting line/selection is broken in Eclipse 4.4 (Luna). Ivoking either with CTRL+/ or Menu > Commands > Source > ...

      Studio console throws:

      [2014-07-06 14:44:12] An error occurred while processing the invoke block for the command Comment Line / Selection in /home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/347/0/.cp/bundles/source.ruble/commands/toggle_comment.rb: (NameError) cannot load Java class org.eclipse.swt.SWT
      org.jruby.exceptions.RaiseException: (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 #<Class:0x1670e37b7>.method_missing(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/plugins/org.jruby_1.6.4.1331328108/lib/ruby/site_ruby/shared/builtin/javasupport/java.rb:51)
      	at Ruble::Editor.[]=(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/276/0/.cp/framework/ruble/editor.rb:196)
      	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:274)
      	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:229)
      	at #<Class:0x123dbcda6>.run(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/348/0/.cp/framework/ruble/ui.rb:249)
      	at Ruble::Editor.[]=(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/276/0/.cp/framework/ruble/editor.rb:193)
      	at LineComment.add(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/347/0/.cp/bundles/source.ruble/lib/comment.rb:233)
      	at #<Class:0x14061d018>.define_command(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/347/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:56)
      	at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603)
      	at #<Class:0x14061d018>.define_command(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/347/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:53)
      	at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1603)
      	at #<Class:0x14061d018>.define_command(/home/user/.eclipse/org.eclipse.platform_4.4.0_1543616141_linux_gtk_x86_64/configuration/org.eclipse.osgi/347/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:52)
      	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:274)
      	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:233)
      

      Clean install of Eclipse and Aptana 3.

      BTW, what is the eclipse action ID for this command? For example like org.eclipse.jdt.ui.edit.text.java.toggle.comment, I would like to map this command to something else with some other plugin.

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              loonies Miki
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Integration