Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Aptana Studio 3, build: 3.0.5.201110061808
      Ubuntu 10.10

      Description

      The Scripting Console returns an error when the end user cancels the Insert Color dialog.

      Steps to Replicate :

      1) Open Aptana Studio
      2) Open a CSS file
      3) CSS > Insert Color
      4) Cancel

      Actual Results :

      Scripting Concole returns :

      [2011-10-09 14:07:16] An error occurred while processing the invoke block for the command Insert Color... in /home/qatester/Documents/Aptana Rubles/css.ruble/commands/insert_color.rb: (NoMethodError) undefined method `red' for nil:NilClass
      org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `red' for nil:NilClass
      	at #<Class:0x10119717a>.request_color(/home/qatester/Desktop/Aptana Studio 3latest/configuration/org.eclipse.osgi/bundles/89/1/.cp/framework/ruble/ui.rb:55)
      	at #<Class:0x100fcf7e3>.define_command(/home/qatester/Documents/Aptana Rubles/css.ruble/commands/insert_color.rb:18)
      	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:268)
      	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:232)
      

      Expected Results :

      Studio should handle this without an error.

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              jwitt Joel Witt
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code