#96 ✓resolved
joep

can't create new forum topic

Reported by joep | September 8th, 2010 @ 10:16 AM

I created a new forum category, then created a new forum in that category, then posted a new topic, but when I submitted the form I got the following error:

A NoMethodError Exception occurred in page#index

You have a nil object when you didn't expect it!
The error occurred while evaluating nil.locals
[RAILS_ROOT]/vendor/modules/forum/app/controllers/forum/page_feature.rb:460:in add_post_features'

  • URL: http://www.mytest.com:3000/forums/view/info/4
  • Parameters: {"action"=>"index", "path"=>["info", "4"], "controller"=>"page", "full_path"=>["forums", "view", "info", "4"]}
  • Rails root: /Users/joe/src/Webiva
  • User Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.1.11) Gecko/20100701 Firefox/3.5.11* Process: 3889
  • Server : MacBook

[RAILS_ROOT]/vendor/modules/forum/app/controllers/forum/page_feature.rb:460:in add_post_features' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:557:incall' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:557:in define_user_tags' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:457:indefine_expansion_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:275:in call' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:275:inrender_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:306:in stack' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:274:inrender_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:437:in parse_end_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:incall' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:in to_s' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb:83:into_default_s' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb:83:in to_s' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:437:inparse_end_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:181:in call' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:181:inexpand' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:1571:in each_local_value' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/attribute_methods.rb:211:ineach_with_index' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:1562:in each' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:1562:ineach_with_index' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:1562:in each_local_value' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:442:inloop_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:275:in call' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:275:inrender_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:306:in stack' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:274:inrender_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:437:in parse_end_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:incall' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:in to_s' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb:83:into_default_s' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb:83:in to_s' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:437:inparse_end_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:181:in call' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:181:inexpand' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:457:in define_expansion_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:275:incall' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:275:in render_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:306:instack' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:274:in render_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:437:inparse_end_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:in call' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:into_s' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb:83:in to_default_s' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb:83:into_s' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:437:in parse_end_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:181:incall' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:181:in expand' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:457:inexpansion_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:275:in call' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:275:inrender_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:306:in stack' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:274:inrender_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:437:in parse_end_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:incall' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:in to_s' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb:83:into_default_s' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb:83:in to_s' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:437:inparse_end_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:181:in call' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:181:inexpand' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:457:in expansion_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:275:incall' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:275:in render_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:306:instack' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:274:in render_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:437:inparse_end_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:in call' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:into_s' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb:83:in to_default_s' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb:83:into_s' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:437:in parse_end_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:181:incall' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:181:in expand' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:457:inexpansion_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:275:in call' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:275:inrender_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:306:in stack' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:274:inrender_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:437:in parse_end_tag' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:incall' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:in to_s' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb:83:into_default_s' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb:83:in to_s' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:402:inparse' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:in call' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:363:into_s' [RAILS_ROOT]/vendor/gems/radius-0.5.1/lib/radius.rb:404:in parse' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:1922:inparse_feature' [RAILS_ROOT]/app/controllers/paragraph_feature.rb:1872:in webiva_feature' [RAILS_ROOT]/vendor/modules/forum/app/controllers/forum/page_feature.rb:178:inforum_page_topic_feature' [RAILS_ROOT]/app/controllers/paragraph_renderer.rb:115:in forum_page_topic_feature' [RAILS_ROOT]/vendor/modules/forum/app/controllers/forum/page_renderer.rb:159:intopic' [RAILS_ROOT]/app/controllers/paragraph_renderer.rb:686:in renderer_cache' [RAILS_ROOT]/vendor/modules/forum/app/controllers/forum/page_renderer.rb:157:intopic' [RAILS_ROOT]/lib/site_node_engine.rb:187:in send' [RAILS_ROOT]/lib/site_node_engine.rb:187:inrender_module_paragraph' [RAILS_ROOT]/lib/site_node_engine.rb:150:in compile_paragraph' [RAILS_ROOT]/lib/site_node_engine.rb:679:inrun' [RAILS_ROOT]/lib/site_node_engine.rb:667:in each' [RAILS_ROOT]/lib/site_node_engine.rb:667:inrun' [RAILS_ROOT]/lib/site_node_engine.rb:665:in each' [RAILS_ROOT]/lib/site_node_engine.rb:665:inrun' [RAILS_ROOT]/app/controllers/module_app_controller.rb:122:in handle_page' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:insend' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in evaluate_method' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:incall' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:225:in call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:629:inrun_before_filters' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:615:in call_filters' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:610:inperform_action_without_benchmark' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:inms' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in realtime' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:inms' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:inperform_action_without_flash' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in perform_action' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:532:insend' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:532:in process_without_filters' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:606:inprocess' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:391:in process' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:386:incall' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:indispatch' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in _call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:inbuild_middleware_stack' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in call' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:incall' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in cache' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:incache' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in call' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:incall' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/head.rb:9:in call' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/methodoverride.rb:24:incall' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:incall' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in call' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/lock.rb:11:incall' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/lock.rb:11:in synchronize' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/lock.rb:11:incall' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:114:in call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/reloader.rb:34:inrun' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:108:in call' [RAILS_ROOT]/vendor/rails/railties/lib/rails/rack/static.rb:31:incall' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in call' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/urlmap.rb:40:ineach' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in call' [RAILS_ROOT]/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:incall' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/content_length.rb:13:in call' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/chunked.rb:15:incall' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:61:in process' /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:inprocess_client' /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in each' /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:inprocess_client' /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in run' /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:ininitialize' /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in new' /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:inrun' /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in initialize' /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:innew' /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in run' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:34:inrun' [RAILS_ROOT]/vendor/rails/railties/lib/commands/server.rb:111 /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in gem_original_require' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:inrequire' script/server:3

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages