Quantcast

Filter Stack Level Too Deep

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Filter Stack Level Too Deep

Urgent Pro
I am getting this error in the sonar log:

ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:

I saw the note about the catalina options. I adjusted my rc.tomcat script to:

TOMCAT_CMD="/usr/bin/jsvc -user $USER -cp $CLASSPATH \
  -pidfile $PIDFILE -outfile $LOGFILE -errfile $LOGFILE \
  -Xms$MEMALLOC_MIN -Xmx1024m -Xss$STACK -XX:MaxPermSize=256m \
  -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
  -Djava.awt.headless=true org.apache.catalina.startup.Bootstrap"

I increased stack size to 24576 using ulimit -s .

Please advise. Thanks.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Filter Stack Level Too Deep

Freddy Mallet
Hi, 

Would help if you could provide the full error stack trace (even if this is a huge one). Moreover do you have the characteristics of the filter that Sonar can't manage to display ?

Thanks
Freddy
-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 8:19 PM, Urgent Pro <[hidden email]> wrote:
I am getting this error in the sonar log:

ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:

I saw the note about the catalina options. I adjusted my rc.tomcat script to:

TOMCAT_CMD="/usr/bin/jsvc -user $USER -cp $CLASSPATH \
  -pidfile $PIDFILE -outfile $LOGFILE -errfile $LOGFILE \
  -Xms$MEMALLOC_MIN -Xmx1024m -Xss$STACK -XX:MaxPermSize=256m \
  -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
  -Djava.awt.headless=true org.apache.catalina.startup.Bootstrap"

I increased stack size to 24576 using ulimit -s .

Please advise. Thanks.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Filter Stack Level Too Deep

Urgent Pro
Here is the stack trace. There are more info log items before this which I can post as necessary.

2012.10.11 19:47:46 INFO  org.sonar.INFO  Start components done: 11009 ms
2012.10.11 19:54:41 ERROR rails  Can not render widget filter:
ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:
13: <th width="1%"></th>
14: <% filter.columns.each do |column| %>
15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
16: <%= column_title(column, filter, update_id) %>
17: </th>
18: <% end %>
19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/filters_helper.rb:26:in `goto_page'
    app/helpers/filters_helper.rb:32:in `column_title'
    app/views/filters/_list.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    org/jruby/RubyKernel.java:2052:in `send'
    app/views/filters/_list.html.erb:14
    org/jruby/RubyKernel.java:2056:in `send'
    compiled-template:8:in `_run_inline_1031195290_locals_dashboard_configuration_widget_widget_properties'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/dashboard_helper.rb:134:in `widget_body'
    app/views/dashboard/_widget.html.erb:3
    org/jruby/RubyKernel.java:2056:in `send'
    app/views/dashboard/index.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    app/views/dashboard/index.html.erb:12
    org/jruby/RubyRange.java:407:in `each'
    app/views/dashboard/index.html.erb:6
    org/jruby/RubyKernel.java:2056:in `send'
    org/jruby/RubyKernel.java:2052:in `send'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/head.rb:9:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/jruby/rack/session_store.rb:42:in `call'


2012.10.11 19:54:41 ERROR rails    On line #16 of app/views/filters/_list.html.erb

    13: <th width="1%"></th>
    14: <% filter.columns.each do |column| %>
    15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
    16: <%= column_title(column, filter, update_id) %>
    17: </th>
    18: <% end %>
    19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
                                                                                                                                                                                         87,1   Command


On Thu, Oct 11, 2012 at 3:33 PM, Freddy Mallet <[hidden email]> wrote:
Hi, 

Would help if you could provide the full error stack trace (even if this is a huge one). Moreover do you have the characteristics of the filter that Sonar can't manage to display ?

Thanks
Freddy
-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 8:19 PM, Urgent Pro <[hidden email]> wrote:
I am getting this error in the sonar log:

ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:

I saw the note about the catalina options. I adjusted my rc.tomcat script to:

TOMCAT_CMD="/usr/bin/jsvc -user $USER -cp $CLASSPATH \
  -pidfile $PIDFILE -outfile $LOGFILE -errfile $LOGFILE \
  -Xms$MEMALLOC_MIN -Xmx1024m -Xss$STACK -XX:MaxPermSize=256m \
  -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
  -Djava.awt.headless=true org.apache.catalina.startup.Bootstrap"

I increased stack size to 24576 using ulimit -s .

Please advise. Thanks.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Filter Stack Level Too Deep

Freddy Mallet
Hello,

That's the frist time we face this ruby "Stack level too deep" error, so I would also need :
  • The version of your Sonar server
  • The installed Sonar plugins
  • Do you face this issue when trying to display any filter or only few of them ?
Thanks
-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 9:56 PM, Urgent Pro <[hidden email]> wrote:
Here is the stack trace. There are more info log items before this which I can post as necessary.

<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:47:46 INFO  org.sonar.INFO  Start components done: 11009 ms
<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails  Can not render widget filter:
ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:
13: <th width="1%"></th>
14: <% filter.columns.each do |column| %>
15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
16: <%= column_title(column, filter, update_id) %>
17: </th>
18: <% end %>
19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/filters_helper.rb:26:in `goto_page'
    app/helpers/filters_helper.rb:32:in `column_title'
    app/views/filters/_list.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    org/jruby/RubyKernel.java:2052:in `send'
    app/views/filters/_list.html.erb:14
    org/jruby/RubyKernel.java:2056:in `send'
    compiled-template:8:in `_run_inline_1031195290_locals_dashboard_configuration_widget_widget_properties'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/dashboard_helper.rb:134:in `widget_body'
    app/views/dashboard/_widget.html.erb:3
    org/jruby/RubyKernel.java:2056:in `send'
    app/views/dashboard/index.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    app/views/dashboard/index.html.erb:12
    org/jruby/RubyRange.java:407:in `each'
    app/views/dashboard/index.html.erb:6
    org/jruby/RubyKernel.java:2056:in `send'
    org/jruby/RubyKernel.java:2052:in `send'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/head.rb:9:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/jruby/rack/session_store.rb:42:in `call'


<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails    On line #16 of app/views/filters/_list.html.erb

    13: <th width="1%"></th>
    14: <% filter.columns.each do |column| %>
    15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
    16: <%= column_title(column, filter, update_id) %>
    17: </th>
    18: <% end %>
    19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
                                                                                                                                                                                         87,1   Command


On Thu, Oct 11, 2012 at 3:33 PM, Freddy Mallet <[hidden email]> wrote:
Hi, 

Would help if you could provide the full error stack trace (even if this is a huge one). Moreover do you have the characteristics of the filter that Sonar can't manage to display ?

Thanks
Freddy
-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 8:19 PM, Urgent Pro <[hidden email]> wrote:
I am getting this error in the sonar log:

ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:

I saw the note about the catalina options. I adjusted my rc.tomcat script to:

TOMCAT_CMD="/usr/bin/jsvc -user $USER -cp $CLASSPATH \
  -pidfile $PIDFILE -outfile $LOGFILE -errfile $LOGFILE \
  -Xms$MEMALLOC_MIN -Xmx1024m -Xss$STACK -XX:MaxPermSize=256m \
  -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
  -Djava.awt.headless=true org.apache.catalina.startup.Bootstrap"

I increased stack size to 24576 using ulimit -s .

Please advise. Thanks.



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Filter Stack Level Too Deep

Urgent Pro
Sonar 3.2.1
No plugins, just the standard install
The issue arises when the first page is loaded. I can use the search, and then go back to the homepage and the error is no longer there.

Also I am using Tomcat 7.0.32 with apache httpd 2.4.3 with the mod_jk 1.2.37 connector and mysql-connector-java-5.1.22. I can change to Tomcat 6, but I have a jenkins server running and would first like to confirm this could be the issue before changing to Tomcat 6.

On Sun, Oct 14, 2012 at 10:33 AM, Freddy Mallet <[hidden email]> wrote:
Hello,

That's the frist time we face this ruby "Stack level too deep" error, so I would also need :
  • The version of your Sonar server
  • The installed Sonar plugins
  • Do you face this issue when trying to display any filter or only few of them ?
Thanks

-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 9:56 PM, Urgent Pro <[hidden email]> wrote:
Here is the stack trace. There are more info log items before this which I can post as necessary.

<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:47:46 INFO  org.sonar.INFO  Start components done: 11009 ms
<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails  Can not render widget filter:
ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:
13: <th width="1%"></th>
14: <% filter.columns.each do |column| %>
15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
16: <%= column_title(column, filter, update_id) %>
17: </th>
18: <% end %>
19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/filters_helper.rb:26:in `goto_page'
    app/helpers/filters_helper.rb:32:in `column_title'
    app/views/filters/_list.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    org/jruby/RubyKernel.java:2052:in `send'
    app/views/filters/_list.html.erb:14
    org/jruby/RubyKernel.java:2056:in `send'
    compiled-template:8:in `_run_inline_1031195290_locals_dashboard_configuration_widget_widget_properties'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/dashboard_helper.rb:134:in `widget_body'
    app/views/dashboard/_widget.html.erb:3
    org/jruby/RubyKernel.java:2056:in `send'
    app/views/dashboard/index.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    app/views/dashboard/index.html.erb:12
    org/jruby/RubyRange.java:407:in `each'
    app/views/dashboard/index.html.erb:6
    org/jruby/RubyKernel.java:2056:in `send'
    org/jruby/RubyKernel.java:2052:in `send'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/head.rb:9:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/jruby/rack/session_store.rb:42:in `call'


<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails    On line #16 of app/views/filters/_list.html.erb

    13: <th width="1%"></th>
    14: <% filter.columns.each do |column| %>
    15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
    16: <%= column_title(column, filter, update_id) %>
    17: </th>
    18: <% end %>
    19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
                                                                                                                                                                                         87,1   Command


On Thu, Oct 11, 2012 at 3:33 PM, Freddy Mallet <[hidden email]> wrote:
Hi, 

Would help if you could provide the full error stack trace (even if this is a huge one). Moreover do you have the characteristics of the filter that Sonar can't manage to display ?

Thanks
Freddy
-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 8:19 PM, Urgent Pro <[hidden email]> wrote:
I am getting this error in the sonar log:

ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:

I saw the note about the catalina options. I adjusted my rc.tomcat script to:

TOMCAT_CMD="/usr/bin/jsvc -user $USER -cp $CLASSPATH \
  -pidfile $PIDFILE -outfile $LOGFILE -errfile $LOGFILE \
  -Xms$MEMALLOC_MIN -Xmx1024m -Xss$STACK -XX:MaxPermSize=256m \
  -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
  -Djava.awt.headless=true org.apache.catalina.startup.Bootstrap"

I increased stack size to 24576 using ulimit -s .

Please advise. Thanks.




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Filter Stack Level Too Deep

Anand Aluru
Hi Freddy,

Below is the error that am seeing in the logs. Even a restart of the server did not help.

Oct 15, 2012 9:02:01 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Oct 15, 2012 9:02:01 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/sonar] startup failed due to previous errors
Oct 15, 2012 9:02:01 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/sonar] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Oct 15, 2012 9:02:01 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/sonar] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
Oct 15, 2012 9:02:01 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/sonar] created a ThreadLocal with key of type [org.picocontainer.injectors.ConstructorInjector$1] (value [org.picocontainer.injectors.ConstructorInjector$1@f2b972]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.


Thanks & Regards,
Anand

On Sun, Oct 14, 2012 at 9:48 PM, Urgent Pro <[hidden email]> wrote:
Sonar 3.2.1
No plugins, just the standard install
The issue arises when the first page is loaded. I can use the search, and then go back to the homepage and the error is no longer there.

Also I am using Tomcat 7.0.32 with apache httpd 2.4.3 with the mod_jk 1.2.37 connector and mysql-connector-java-5.1.22. I can change to Tomcat 6, but I have a jenkins server running and would first like to confirm this could be the issue before changing to Tomcat 6.

On Sun, Oct 14, 2012 at 10:33 AM, Freddy Mallet <[hidden email]> wrote:
Hello,

That's the frist time we face this ruby "Stack level too deep" error, so I would also need :
  • The version of your Sonar server
  • The installed Sonar plugins
  • Do you face this issue when trying to display any filter or only few of them ?
Thanks

-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 9:56 PM, Urgent Pro <[hidden email]> wrote:
Here is the stack trace. There are more info log items before this which I can post as necessary.

<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:47:46 INFO  org.sonar.INFO  Start components done: 11009 ms
<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails  Can not render widget filter:
ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:
13: <th width="1%"></th>
14: <% filter.columns.each do |column| %>
15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
16: <%= column_title(column, filter, update_id) %>
17: </th>
18: <% end %>
19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/filters_helper.rb:26:in `goto_page'
    app/helpers/filters_helper.rb:32:in `column_title'
    app/views/filters/_list.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    org/jruby/RubyKernel.java:2052:in `send'
    app/views/filters/_list.html.erb:14
    org/jruby/RubyKernel.java:2056:in `send'
    compiled-template:8:in `_run_inline_1031195290_locals_dashboard_configuration_widget_widget_properties'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/dashboard_helper.rb:134:in `widget_body'
    app/views/dashboard/_widget.html.erb:3
    org/jruby/RubyKernel.java:2056:in `send'
    app/views/dashboard/index.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    app/views/dashboard/index.html.erb:12
    org/jruby/RubyRange.java:407:in `each'
    app/views/dashboard/index.html.erb:6
    org/jruby/RubyKernel.java:2056:in `send'
    org/jruby/RubyKernel.java:2052:in `send'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/head.rb:9:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/jruby/rack/session_store.rb:42:in `call'


<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails    On line #16 of app/views/filters/_list.html.erb

    13: <th width="1%"></th>
    14: <% filter.columns.each do |column| %>
    15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
    16: <%= column_title(column, filter, update_id) %>
    17: </th>
    18: <% end %>
    19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
                                                                                                                                                                                         87,1   Command


On Thu, Oct 11, 2012 at 3:33 PM, Freddy Mallet <[hidden email]> wrote:
Hi, 

Would help if you could provide the full error stack trace (even if this is a huge one). Moreover do you have the characteristics of the filter that Sonar can't manage to display ?

Thanks
Freddy
-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 8:19 PM, Urgent Pro <[hidden email]> wrote:
I am getting this error in the sonar log:

ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:

I saw the note about the catalina options. I adjusted my rc.tomcat script to:

TOMCAT_CMD="/usr/bin/jsvc -user $USER -cp $CLASSPATH \
  -pidfile $PIDFILE -outfile $LOGFILE -errfile $LOGFILE \
  -Xms$MEMALLOC_MIN -Xmx1024m -Xss$STACK -XX:MaxPermSize=256m \
  -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
  -Djava.awt.headless=true org.apache.catalina.startup.Bootstrap"

I increased stack size to 24576 using ulimit -s .

Please advise. Thanks.





Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Filter Stack Level Too Deep

Urgent Pro
Is this a different issue than my original one?

On Mon, Oct 15, 2012 at 9:50 AM, Anand Aluru <[hidden email]> wrote:
Hi Freddy,

Below is the error that am seeing in the logs. Even a restart of the server did not help.

Oct 15, 2012 9:02:01 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Oct 15, 2012 9:02:01 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/sonar] startup failed due to previous errors
Oct 15, 2012 9:02:01 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/sonar] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Oct 15, 2012 9:02:01 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/sonar] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
Oct 15, 2012 9:02:01 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/sonar] created a ThreadLocal with key of type [org.picocontainer.injectors.ConstructorInjector$1] (value [org.picocontainer.injectors.ConstructorInjector$1@f2b972]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.


Thanks & Regards,
Anand

On Sun, Oct 14, 2012 at 9:48 PM, Urgent Pro <[hidden email]> wrote:
Sonar 3.2.1
No plugins, just the standard install
The issue arises when the first page is loaded. I can use the search, and then go back to the homepage and the error is no longer there.

Also I am using Tomcat 7.0.32 with apache httpd 2.4.3 with the mod_jk 1.2.37 connector and mysql-connector-java-5.1.22. I can change to Tomcat 6, but I have a jenkins server running and would first like to confirm this could be the issue before changing to Tomcat 6.

On Sun, Oct 14, 2012 at 10:33 AM, Freddy Mallet <[hidden email]> wrote:
Hello,

That's the frist time we face this ruby "Stack level too deep" error, so I would also need :
  • The version of your Sonar server
  • The installed Sonar plugins
  • Do you face this issue when trying to display any filter or only few of them ?
Thanks

-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 9:56 PM, Urgent Pro <[hidden email]> wrote:
Here is the stack trace. There are more info log items before this which I can post as necessary.

<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:47:46 INFO  org.sonar.INFO  Start components done: 11009 ms
<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails  Can not render widget filter:
ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:
13: <th width="1%"></th>
14: <% filter.columns.each do |column| %>
15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
16: <%= column_title(column, filter, update_id) %>
17: </th>
18: <% end %>
19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/filters_helper.rb:26:in `goto_page'
    app/helpers/filters_helper.rb:32:in `column_title'
    app/views/filters/_list.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    org/jruby/RubyKernel.java:2052:in `send'
    app/views/filters/_list.html.erb:14
    org/jruby/RubyKernel.java:2056:in `send'
    compiled-template:8:in `_run_inline_1031195290_locals_dashboard_configuration_widget_widget_properties'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/dashboard_helper.rb:134:in `widget_body'
    app/views/dashboard/_widget.html.erb:3
    org/jruby/RubyKernel.java:2056:in `send'
    app/views/dashboard/index.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    app/views/dashboard/index.html.erb:12
    org/jruby/RubyRange.java:407:in `each'
    app/views/dashboard/index.html.erb:6
    org/jruby/RubyKernel.java:2056:in `send'
    org/jruby/RubyKernel.java:2052:in `send'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/head.rb:9:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/jruby/rack/session_store.rb:42:in `call'


<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails    On line #16 of app/views/filters/_list.html.erb

    13: <th width="1%"></th>
    14: <% filter.columns.each do |column| %>
    15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
    16: <%= column_title(column, filter, update_id) %>
    17: </th>
    18: <% end %>
    19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
                                                                                                                                                                                         87,1   Command


On Thu, Oct 11, 2012 at 3:33 PM, Freddy Mallet <[hidden email]> wrote:
Hi, 

Would help if you could provide the full error stack trace (even if this is a huge one). Moreover do you have the characteristics of the filter that Sonar can't manage to display ?

Thanks
Freddy
-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 8:19 PM, Urgent Pro <[hidden email]> wrote:
I am getting this error in the sonar log:

ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:

I saw the note about the catalina options. I adjusted my rc.tomcat script to:

TOMCAT_CMD="/usr/bin/jsvc -user $USER -cp $CLASSPATH \
  -pidfile $PIDFILE -outfile $LOGFILE -errfile $LOGFILE \
  -Xms$MEMALLOC_MIN -Xmx1024m -Xss$STACK -XX:MaxPermSize=256m \
  -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
  -Djava.awt.headless=true org.apache.catalina.startup.Bootstrap"

I increased stack size to 24576 using ulimit -s .

Please advise. Thanks.






Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Filter Stack Level Too Deep

Anand Aluru
Sorry my mistake. Updated the wrong thread. 

On Mon, Oct 15, 2012 at 7:24 PM, Urgent Pro <[hidden email]> wrote:
Is this a different issue than my original one?


On Mon, Oct 15, 2012 at 9:50 AM, Anand Aluru <[hidden email]> wrote:
Hi Freddy,

Below is the error that am seeing in the logs. Even a restart of the server did not help.

Oct 15, 2012 9:02:01 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Oct 15, 2012 9:02:01 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/sonar] startup failed due to previous errors
Oct 15, 2012 9:02:01 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/sonar] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Oct 15, 2012 9:02:01 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/sonar] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
Oct 15, 2012 9:02:01 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/sonar] created a ThreadLocal with key of type [org.picocontainer.injectors.ConstructorInjector$1] (value [org.picocontainer.injectors.ConstructorInjector$1@f2b972]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.


Thanks & Regards,
Anand

On Sun, Oct 14, 2012 at 9:48 PM, Urgent Pro <[hidden email]> wrote:
Sonar 3.2.1
No plugins, just the standard install
The issue arises when the first page is loaded. I can use the search, and then go back to the homepage and the error is no longer there.

Also I am using Tomcat 7.0.32 with apache httpd 2.4.3 with the mod_jk 1.2.37 connector and mysql-connector-java-5.1.22. I can change to Tomcat 6, but I have a jenkins server running and would first like to confirm this could be the issue before changing to Tomcat 6.

On Sun, Oct 14, 2012 at 10:33 AM, Freddy Mallet <[hidden email]> wrote:
Hello,

That's the frist time we face this ruby "Stack level too deep" error, so I would also need :
  • The version of your Sonar server
  • The installed Sonar plugins
  • Do you face this issue when trying to display any filter or only few of them ?
Thanks

-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 9:56 PM, Urgent Pro <[hidden email]> wrote:
Here is the stack trace. There are more info log items before this which I can post as necessary.

<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:47:46 INFO  org.sonar.INFO  Start components done: 11009 ms
<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails  Can not render widget filter:
ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:
13: <th width="1%"></th>
14: <% filter.columns.each do |column| %>
15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
16: <%= column_title(column, filter, update_id) %>
17: </th>
18: <% end %>
19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/filters_helper.rb:26:in `goto_page'
    app/helpers/filters_helper.rb:32:in `column_title'
    app/views/filters/_list.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    org/jruby/RubyKernel.java:2052:in `send'
    app/views/filters/_list.html.erb:14
    org/jruby/RubyKernel.java:2056:in `send'
    compiled-template:8:in `_run_inline_1031195290_locals_dashboard_configuration_widget_widget_properties'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/dashboard_helper.rb:134:in `widget_body'
    app/views/dashboard/_widget.html.erb:3
    org/jruby/RubyKernel.java:2056:in `send'
    app/views/dashboard/index.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    app/views/dashboard/index.html.erb:12
    org/jruby/RubyRange.java:407:in `each'
    app/views/dashboard/index.html.erb:6
    org/jruby/RubyKernel.java:2056:in `send'
    org/jruby/RubyKernel.java:2052:in `send'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/head.rb:9:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/jruby/rack/session_store.rb:42:in `call'


<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails    On line #16 of app/views/filters/_list.html.erb

    13: <th width="1%"></th>
    14: <% filter.columns.each do |column| %>
    15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
    16: <%= column_title(column, filter, update_id) %>
    17: </th>
    18: <% end %>
    19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
                                                                                                                                                                                         87,1   Command


On Thu, Oct 11, 2012 at 3:33 PM, Freddy Mallet <[hidden email]> wrote:
Hi, 

Would help if you could provide the full error stack trace (even if this is a huge one). Moreover do you have the characteristics of the filter that Sonar can't manage to display ?

Thanks
Freddy
-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 8:19 PM, Urgent Pro <[hidden email]> wrote:
I am getting this error in the sonar log:

ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:

I saw the note about the catalina options. I adjusted my rc.tomcat script to:

TOMCAT_CMD="/usr/bin/jsvc -user $USER -cp $CLASSPATH \
  -pidfile $PIDFILE -outfile $LOGFILE -errfile $LOGFILE \
  -Xms$MEMALLOC_MIN -Xmx1024m -Xss$STACK -XX:MaxPermSize=256m \
  -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
  -Djava.awt.headless=true org.apache.catalina.startup.Bootstrap"

I increased stack size to 24576 using ulimit -s .

Please advise. Thanks.







Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Filter Stack Level Too Deep

Freddy Mallet
In reply to this post by Urgent Pro
Argh .... 

See my new questions below :

Sonar 3.2.1
No plugins, just the standard install

Have you always faced this issue since you're using Sonar ?
 
The issue arises when the first page is loaded. I can use the search, and then go back to the homepage and the error is no longer there.

And does that mean that you only face this issue after each restart of the Sonar server and after a while everything works as expected ?

Thanks
Freddy
 

Also I am using Tomcat 7.0.32 with apache httpd 2.4.3 with the mod_jk 1.2.37 connector and mysql-connector-java-5.1.22. I can change to Tomcat 6, but I have a jenkins server running and would first like to confirm this could be the issue before changing to Tomcat 6.

On Sun, Oct 14, 2012 at 10:33 AM, Freddy Mallet <[hidden email]> wrote:
Hello,

That's the frist time we face this ruby "Stack level too deep" error, so I would also need :
  • The version of your Sonar server
  • The installed Sonar plugins
  • Do you face this issue when trying to display any filter or only few of them ?
Thanks

-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 9:56 PM, Urgent Pro <[hidden email]> wrote:
Here is the stack trace. There are more info log items before this which I can post as necessary.

<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:47:46 INFO  org.sonar.INFO  Start components done: 11009 ms
<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails  Can not render widget filter:
ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:
13: <th width="1%"></th>
14: <% filter.columns.each do |column| %>
15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
16: <%= column_title(column, filter, update_id) %>
17: </th>
18: <% end %>
19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/filters_helper.rb:26:in `goto_page'
    app/helpers/filters_helper.rb:32:in `column_title'
    app/views/filters/_list.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    org/jruby/RubyKernel.java:2052:in `send'
    app/views/filters/_list.html.erb:14
    org/jruby/RubyKernel.java:2056:in `send'
    compiled-template:8:in `_run_inline_1031195290_locals_dashboard_configuration_widget_widget_properties'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/dashboard_helper.rb:134:in `widget_body'
    app/views/dashboard/_widget.html.erb:3
    org/jruby/RubyKernel.java:2056:in `send'
    app/views/dashboard/index.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    app/views/dashboard/index.html.erb:12
    org/jruby/RubyRange.java:407:in `each'
    app/views/dashboard/index.html.erb:6
    org/jruby/RubyKernel.java:2056:in `send'
    org/jruby/RubyKernel.java:2052:in `send'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/head.rb:9:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/jruby/rack/session_store.rb:42:in `call'


<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails    On line #16 of app/views/filters/_list.html.erb

    13: <th width="1%"></th>
    14: <% filter.columns.each do |column| %>
    15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
    16: <%= column_title(column, filter, update_id) %>
    17: </th>
    18: <% end %>
    19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
                                                                                                                                                                                         87,1   Command


On Thu, Oct 11, 2012 at 3:33 PM, Freddy Mallet <[hidden email]> wrote:
Hi, 

Would help if you could provide the full error stack trace (even if this is a huge one). Moreover do you have the characteristics of the filter that Sonar can't manage to display ?

Thanks
Freddy
-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 8:19 PM, Urgent Pro <[hidden email]> wrote:
I am getting this error in the sonar log:

ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:

I saw the note about the catalina options. I adjusted my rc.tomcat script to:

TOMCAT_CMD="/usr/bin/jsvc -user $USER -cp $CLASSPATH \
  -pidfile $PIDFILE -outfile $LOGFILE -errfile $LOGFILE \
  -Xms$MEMALLOC_MIN -Xmx1024m -Xss$STACK -XX:MaxPermSize=256m \
  -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
  -Djava.awt.headless=true org.apache.catalina.startup.Bootstrap"

I increased stack size to 24576 using ulimit -s .

Please advise. Thanks.





Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Filter Stack Level Too Deep

Urgent Pro
This is my first install of Sonar, first time using. I've only received this error.

When I load the first page, the filter error is there. I can go to the menu and use the search and go back to the filter page and the error is gone with a table now there instead, however the logs on the server show a lot of errors.

I will send a link later tonight after I restart the server.

On Mon, Oct 15, 2012 at 5:24 PM, Freddy Mallet <[hidden email]> wrote:
Argh .... 

See my new questions below :

Sonar 3.2.1
No plugins, just the standard install

Have you always faced this issue since you're using Sonar ?
 
The issue arises when the first page is loaded. I can use the search, and then go back to the homepage and the error is no longer there.

And does that mean that you only face this issue after each restart of the Sonar server and after a while everything works as expected ?

Thanks
Freddy
 

Also I am using Tomcat 7.0.32 with apache httpd 2.4.3 with the mod_jk 1.2.37 connector and mysql-connector-java-5.1.22. I can change to Tomcat 6, but I have a jenkins server running and would first like to confirm this could be the issue before changing to Tomcat 6.

On Sun, Oct 14, 2012 at 10:33 AM, Freddy Mallet <[hidden email]> wrote:
Hello,

That's the frist time we face this ruby "Stack level too deep" error, so I would also need :
  • The version of your Sonar server
  • The installed Sonar plugins
  • Do you face this issue when trying to display any filter or only few of them ?
Thanks

-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 9:56 PM, Urgent Pro <[hidden email]> wrote:
Here is the stack trace. There are more info log items before this which I can post as necessary.

<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:47:46 INFO  org.sonar.INFO  Start components done: 11009 ms
<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails  Can not render widget filter:
ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:
13: <th width="1%"></th>
14: <% filter.columns.each do |column| %>
15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
16: <%= column_title(column, filter, update_id) %>
17: </th>
18: <% end %>
19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/filters_helper.rb:26:in `goto_page'
    app/helpers/filters_helper.rb:32:in `column_title'
    app/views/filters/_list.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    org/jruby/RubyKernel.java:2052:in `send'
    app/views/filters/_list.html.erb:14
    org/jruby/RubyKernel.java:2056:in `send'
    compiled-template:8:in `_run_inline_1031195290_locals_dashboard_configuration_widget_widget_properties'
    org/jruby/RubyKernel.java:2056:in `send'
    app/helpers/dashboard_helper.rb:134:in `widget_body'
    app/views/dashboard/_widget.html.erb:3
    org/jruby/RubyKernel.java:2056:in `send'
    app/views/dashboard/index.html.erb:16
    org/jruby/RubyArray.java:1602:in `each'
    app/views/dashboard/index.html.erb:12
    org/jruby/RubyRange.java:407:in `each'
    app/views/dashboard/index.html.erb:6
    org/jruby/RubyKernel.java:2056:in `send'
    org/jruby/RubyKernel.java:2052:in `send'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/head.rb:9:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call'
    /var/run/tomcat/Catalina/localhost/sonar/loader/jruby/rack/session_store.rb:42:in `call'


<a href="tel:2012.10.11%2019" value="+12012101119" target="_blank">2012.10.11 19:54:41 ERROR rails    On line #16 of app/views/filters/_list.html.erb

    13: <th width="1%"></th>
    14: <% filter.columns.each do |column| %>
    15: <th <%= 'width=1% nowrap' if column.small_width? -%> class="<%= column_align(column) -%>">
    16: <%= column_title(column, filter, update_id) %>
    17: </th>
    18: <% end %>
    19: </tr>

    org/jruby/RubyArray.java:2400:in `select'
    org/jruby/RubyProc.java:268:in `call'
    org/jruby/RubyProc.java:228:in `call'
    org/jruby/RubyHash.java:646:in `default'
    org/jruby/RubyHash.java:995:in `[]'
                                                                                                                                                                                         87,1   Command


On Thu, Oct 11, 2012 at 3:33 PM, Freddy Mallet <[hidden email]> wrote:
Hi, 

Would help if you could provide the full error stack trace (even if this is a huge one). Moreover do you have the characteristics of the filter that Sonar can't manage to display ?

Thanks
Freddy
-----
Sonar for Continuous Inspection



On Thu, Oct 11, 2012 at 8:19 PM, Urgent Pro <[hidden email]> wrote:
I am getting this error in the sonar log:

ActionView::TemplateError (stack level too deep) on line #16 of app/views/filters/_list.html.erb:

I saw the note about the catalina options. I adjusted my rc.tomcat script to:

TOMCAT_CMD="/usr/bin/jsvc -user $USER -cp $CLASSPATH \
  -pidfile $PIDFILE -outfile $LOGFILE -errfile $LOGFILE \
  -Xms$MEMALLOC_MIN -Xmx1024m -Xss$STACK -XX:MaxPermSize=256m \
  -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true \
  -Djava.awt.headless=true org.apache.catalina.startup.Bootstrap"

I increased stack size to 24576 using ulimit -s .

Please advise. Thanks.






Loading...