Uploaded image for project: 'Razor'
  1. Razor
  2. RAZOR-268

Running 'razor help set-node-hw-info' produces a 500 error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: RAZOR 0.15.0
    • Component/s: QA, Server
    • Labels:
      None
    • Template:
    • Epic Link:
    • Sprint:
      June 4

      Description

      Here's the start of the stacktrace:

      17:17:06,599 INFO  [razor.web.api] (http-/0.0.0.0:8080-1) NoMethodError - undefined method `[]' for nil:NilClass:
              /home/lutter/code/razor-server/lib/razor/validation/hash_attribute.rb:71:in `to_json'
              json/ext/GeneratorMethods.java:71:in `to_json'
              /home/lutter/code/razor-server/lib/razor/validation/hash_schema.rb:168:in `to_json'
              json/ext/GeneratorMethods.java:71:in `to_json'
              /home/lutter/code/razor-server/lib/razor/command.rb:86:in `handle_http_get'
              /home/lutter/code/razor-server/app.rb:536:in `HEAD /api/commands/:name'
              org/jruby/RubyMethod.java:124:in `call'
              /home/lutter/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in `compile!'
              org/jruby/RubyProc.java:271:in `call'
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              phong Phong Ly
              Reporter:
              lutter David Lutterkort
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support