0 Replies Latest reply on Aug 30, 2012 8:28 PM by Steve Pallen

    render partial not working on blackberry

      I have code that runs ok with on rhodes 3.3.4 on BB simulator (9800 sdk 6.0). However I get the failure indicated below when I run the same code in 4.2.3. I believe the problem is related to <%= render :partial => 'error' %>

       

       

      Here is an excerpt from the log file:

       

       

      I 08/29/2012 20:32:25:563  worker7  BrowserAdapter| handleResourceRequest: http://localhost:2375/app/Value/edit

      I 08/29/2012 20:32:25:568  worker7             APP| RHO serve: /apps/app/Value/edit

      E 08/29/2012 20:32:25:590  worker7         RubyAPI| ValueController.clone failed: java.lang.InstantiationException: newInstance (com.xruby.runtime.lang.RubyObject)

      E 08/29/2012 20:32:25:594  worker7         RubyAPI| ValueController.render_partial failed: java.lang.InstantiationException: newInstance (com.xruby.runtime.lang.RubyObject)

      E 08/29/2012 20:32:25:597  worker7         RubyAPI| ValueController.render failed: java.lang.InstantiationException: newInstance (com.xruby.runtime.lang.RubyObject)

      E 08/29/2012 20:32:25:601  worker7      RhoSupport| evalPrecompiledFile failed : xruby.apps.app.Value.edit_erb.main;com.xruby.runtime.lang.RubyException: java.lang.InstantiationException: newInstance (com.xruby.runtime.lang.RubyObject)

      E 08/29/2012 20:32:25:604  worker7         RubyAPI| ValueController.eval_compiled_file failed: java.lang.InstantiationException: newInstance (com.xruby.runtime.lang.RubyObject)

      E 08/29/2012 20:32:25:608  worker7         RubyAPI| ValueController.render failed: java.lang.InstantiationException: newInstance (com.xruby.runtime.lang.RubyObject)

      E 08/29/2012 20:32:25:611  worker7         RubyAPI| ValueController.edit failed: java.lang.InstantiationException: newInstance (com.xruby.runtime.lang.RubyObject)

      E 08/29/2012 20:32:25:615  worker7         RubyAPI| ValueController.send failed: java.lang.InstantiationException: newInstance (com.xruby.runtime.lang.RubyObject)

      E 08/29/2012 20:32:25:618  worker7         RubyAPI| ValueController.serve failed: java.lang.InstantiationException: newInstance (com.xruby.runtime.lang.RubyObject)

      E 08/29/2012 20:32:25:622  worker7         RubyAPI| ValueController.send failed: java.lang.InstantiationException: newInstance (com.xruby.runtime.lang.RubyObject)

      E 08/29/2012 20:32:25:625  worker7         RubyAPI| AppApplication.serve failed: java.lang.InstantiationException: newInstance (com.xruby.runtime.lang.RubyObject)

      E 08/29/2012 20:32:25:629  worker7         RubyAPI| AppApplication.send failed: java.lang.InstantiationException: newInstance (com.xruby.runtime.lang.RubyObject)

      I 08/29/2012 20:32:25:633  worker7             APP| App error: java.lang.InstantiationException: newInstance (com.xruby.runtime.lang.RubyObject)

      ValueController.clone

      ValueController.render_partial

      ValueController.render

      ValueController.eval_compiled_file

      ValueController.render

      ValueController.edit

      ValueController.send

      ValueController.serve

      ValueController.send

      AppApplication.serve

      AppApplication.send

      I 08/29/2012 20:32:25:641  worker7   RhoConnection| dispatch end