https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292015-07-22T16:27:23ZRedmineRedmine - Defect #20392: Error: nil:NilClass - Error querying any task of a specific project.https://www.redmine.org/issues/20392?journal_id=649812015-07-22T16:27:23ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs feedback</i></li><li><strong>Priority</strong> changed from <i>Urgent</i> to <i>Normal</i></li></ul><p>There is no useful log. Please post more logs.</p>
<blockquote>
<p>Redmine version 2.6.1.stable</p>
</blockquote>
<p>Why do not use latest 2.6-stable?</p>
<blockquote>
<p>Ruby version 1.9.3-p194 (2012-04-20) [x86_64-linux]</p>
</blockquote>
<p>Too old.</p> Redmine - Defect #20392: Error: nil:NilClass - Error querying any task of a specific project.https://www.redmine.org/issues/20392?journal_id=649832015-07-22T16:53:27ZAdriano Ceccarelli
<ul></ul><p>I'm using version because this version is compatible with of the plugins.<br />To update the version of redmine, i need to schedule in my organization to converter to the new version.</p>
<p>Thanks by help.</p>
<pre>
Completed 200 OK in 26.4ms (Views: 21.4ms | ActiveRecord: 1.3ms)
Started GET "/redmine/issues/36553" for 192.168.16.148 at 2015-07-22 13:47:25 -0300
Processing by IssuesController#show as HTML
Parameters: {"id"=>"36553"}
Current user: adriano.cinto (id=4)
Rendered issues/_action_menu.html.erb (3.7ms)
Rendered plugins/redmine_drafts/app/views/drafts/_issue_show.html.erb (1.2ms)
Rendered plugins/redmine_tags/app/views/issues/_tags.html.erb (2.0ms)
Rendered issue_relations/_form.html.erb (2.1ms)
Rendered issues/_relations.html.erb (8.0ms)
Rendered issues/_changesets.html.erb (1175.2ms)
Rendered issues/show.html.erb within layouts/base (1385.2ms)
Completed 500 Internal Server Error in 1815.8ms
ActionView::Template::Error (undefined method `project' for nil:NilClass):
1: <% changesets.each do |changeset| %>
2: <div class="changeset <%= cycle('odd', 'even') %>">
3: <p><%= link_to_revision(changeset, changeset.repository,
4: :text => "#{l(:label_revision)} #{changeset.format_identifier}") %><br />
5: <span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p>
6: <div class="wiki">
app/helpers/application_helper.rb:113:in `link_to_revision'
app/views/issues/_changesets.html.erb:3:in `block in _app_views_issues__changesets_html_erb__3878030136385139792_69181620'
app/views/issues/_changesets.html.erb:1:in `each'
app/views/issues/_changesets.html.erb:1:in `_app_views_issues__changesets_html_erb__3878030136385139792_69181620'
app/views/issues/show.html.erb:113:in `_app_views_issues_show_html_erb__989878426512223363_28209420'
app/controllers/issues_controller.rb:128:in `block (2 levels) in show'
app/controllers/issues_controller.rb:125:in `show'
</pre> Redmine - Defect #20392: Error: nil:NilClass - Error querying any task of a specific project.https://www.redmine.org/issues/20392?journal_id=649842015-07-22T16:55:27ZAdriano Ceccarelli
<ul></ul><p>I'm suspicious of the repo that was removed.</p> Redmine - Defect #20392: Error: nil:NilClass - Error querying any task of a specific project.https://www.redmine.org/issues/20392?journal_id=649952015-07-23T12:12:24ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Needs feedback</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Cant reproduce</i></li></ul><p>Log says "repository" is nil.<br />It never happens on clean Redmine.<br />It seems your plugins override it or database is broken.<br />Try without plugin and reopen if you sure Redmine core problem.</p> Redmine - Defect #20392: Error: nil:NilClass - Error querying any task of a specific project.https://www.redmine.org/issues/20392?journal_id=649962015-07-23T12:13:18ZToshi MARUYAMA
<ul></ul><p>Toshi MARUYAMA wrote:</p>
<blockquote>
<p>Log says "repository" is nil.</p>
</blockquote>
<p>This line.<br /><a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/tags/2.6.1/app/helpers/application_helper.rb#L113">source:tags/2.6.1/app/helpers/application_helper.rb#L113</a></p>