Runtime error when attempting to remove non-existent offer

Bug #1731812 reported by Christopher Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Ian Booth

Bug Description

Attempting a 'juju remove-offer' on a non-existing application URL results in a runtime error:
  "ERROR runtime error: invalid memory address or nil pointer dereference"

Note, the url needs to look valid "<application>.<endpoint-name>" otherwise it correctly complains about the format.

To repo:
$ juju bootstrap --constraints mem=2G lxd/localhost beta
Creating Juju controller "beta" on lxd/localhost
 ... snip ...
Initial model "default" added

$ juju remove-offer blah.sink
ERROR runtime error: invalid memory address or nil pointer dereference

Ian Booth (wallyworld)
Changed in juju:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Christopher Lee (veebers) wrote :

Oh, this is juju 2.3-beta4 (git rev efd6eb6ef4).

Ian Booth (wallyworld)
Changed in juju:
assignee: nobody → Ian Booth (wallyworld)
Ian Booth (wallyworld)
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Ian Booth (wallyworld) wrote :
Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.