Status: 500 Internal Server Error Content-Type: text/html 
----------------------------------------------------------

                 Key: JRUBY-3228
                 URL: http://jira.codehaus.org/browse/JRUBY-3228
             Project: JRuby
          Issue Type: Bug
          Components: JRuby-extras
    Affects Versions: JRuby 1.1.6
         Environment: jruby 1.1.6RC1 (ruby 1.8.6 patchlevel 114) (2008-12-03 
rev 8263) [x86-java]

java version "1.6.0_11", Java(TM) SE Runtime Environment (build 1.6.0_11-b03), 
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
            Reporter: Robin Wunderlin


I migrated a existing Ruby on Rails-Project to JRuby.

Everything works fine except when I call "session[:last_view] = DateTime.now" 
in the application controller.

After this call I received the Msg: "Status: 500 Internal Server Error 
Content-Type: text/html".

This part worked well with RoR.

If I comment this call and delete the session in the browser, everything works 
fine.


Callback:

/!\ FAILSAFE /!\  Wed Dec 10 16:12:05 +0100 2008
  Status: 500 Internal Server Error
) dump format error(
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session/cookie_store.rb:145:in
 `load'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session/cookie_store.rb:145:in
 `unmarshal'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session/cookie_store.rb:102:in
 `restore'
    C:/jruby/bin/../lib/ruby/1.8/cgi/session.rb:304:in `[]'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/cgi_process.rb:134:in
 `session'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/cgi_process.rb:166:in
 `stale_session_check!'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/cgi_process.rb:114:in
 `session'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1131:in
 `assign_shortcuts'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/flash.rb:167:in
 `assign_shortcuts_with_flash'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:518:in
 `process'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in
 `process_with_filters'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in
 `process_with_session_management_support'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in
 `process'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in
 `handle_request'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in
 `dispatch'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in
 `dispatch_cgi'
    
C:/jruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in
 `dispatch'
    
C:/jruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-java/bin/../lib/mongrel/rails.rb:76:in
 `process'
    
C:/jruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-java/bin/../lib/mongrel/rails.rb:74:in
 `process'
    C:/jruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:159:in 
`process_client'
    C:/jruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:158:in 
`each'
    C:/jruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:158:in 
`process_client'
    C:/jruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:285:in 
`run'

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to