Mantis - Quercus
Viewing Issue Advanced Details
2569 minor always 04-02-08 11:17 04-16-08 07:20
ferg  
ferg  
urgent  
closed  
fixed  
none    
none 3.1.6  
0002569: json implementation issues
(rep by Matthew Schmidt)

We're seeing a problem with the latest snapshot with json_encode. It looks like part of it is implemented, but there's an issue as we move further down in the method.

java.lang.UnsupportedOperationException: unimplementated

java.lang.UnsupportedOperationException: unimplementated
    at com.caucho.quercus.env.JavaValue.entrySet(JavaValue.java:80)
    at com.caucho.quercus.lib.json.JsonModule.encodeObject(JsonModule.java:159)
    at com.caucho.quercus.lib.json.JsonModule.jsonEncodeImpl(JsonModule.java:91)
    at com.caucho.quercus.lib.json.JsonModule.encodeObject(JsonModule.java:165)
    at com.caucho.quercus.lib.json.JsonModule.jsonEncodeImpl(JsonModule.java:91)
    at com.caucho.quercus.lib.json.JsonModule.encodeArray(JsonModule.java:123)
    at com.caucho.quercus.lib.json.JsonModule.jsonEncodeImpl(JsonModule.java:88)
    at com.caucho.quercus.lib.json.JsonModule.json_encode(JsonModule.java:67)
    at _quercus._sites._all._modules._dzone._dzone_0home._dzone_0home__module$fun_dzone_home_social_links.call(sites/dz/main/sites/all/modules/dzone/dzone_home/dzone_home.module:145)
    at com.caucho.quercus.program.CompiledFunction_4.call(CompiledFunction_4.java:119)
    at com.caucho.quercus.env.CallbackFunction.call(CallbackFunction.java:153)
    at com.caucho.quercus.lib.FunctionModule.call_user_func_array(FunctionModule.java:91)
    at _quercus._includes._menu__inc$fun_menu_execute_active_handler.call(sites/dz/main/includes/menu.inc:415)
    at _quercus._index__php.execute(sites/dz/main/index.php:15)
    at com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:119)
    at com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServlet.java:146)
    at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:353)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
    at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
    at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:283)
    at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:108)
    at com.caucho.server.dispatch.ForwardFilterChain.doFilter(ForwardFilterChain.java:84)
    at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:194)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
    at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:435)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:675)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
    at java.lang.Thread.run(Thread.java:619)

We had to use the PHP json_encode because there were some problems with Drupal's JSON conversion (not related to Resin). Any help here would be great. Thanks!


Notes
(0002978)
ferg   
04-16-08 07:20   
php/470a