# Data Explorer NoMethodError (undefined method \`username' for nil:NilClass)

**URL:** <https://meta.discourse.org/t/data-explorer-nomethoderror-undefined-method-username-for-nil-nilclass/54949>\
**Category:** Bug\
**Created:** [29. Dezember 2016 um 20:56 UTC](https://meta.discourse.org/t/data-explorer-nomethoderror-undefined-method-username-for-nil-nilclass/54949 "2016-12-29T20:56:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [29. Dezember 2016 um 21:18 UTC](https://meta.discourse.org/t/data-explorer-nomethoderror-undefined-method-username-for-nil-nilclass/54949/2 "2016-12-29T21:18:55Z")

</div>

I just tried and it worked fine for me.

I think you may need to do a rebuild to pull in the latest version, I know there have been recent changes made.

The “version 0.2” is a bit misleading since it appears the number wasn’t bumped up in the plugin.rb file. (I’m guilty of missing doing that myself 😊 )

If you take out the user\_id from the SELECT and it works, that’s the problem.

---

_[View the full topic](https://meta.discourse.org/t/data-explorer-nomethoderror-undefined-method-username-for-nil-nilclass/54949)._
