Caucho Forums

Caucho Forums (http://forum.caucho.com//index.php)
-   Quercus (http://forum.caucho.com//forumdisplay.php?f=5)
-   -   How to handle exception when was missed include or missed method (http://forum.caucho.com//showthread.php?t=30567)

PaulWeb 09-16-2013 04:47 AM

How to handle exception when was missed include or missed method
 
Quercus version 4.017
Quercus doesnt' hadle error when was missed include or missed method,
Mayby somebody know how to handle these erros?

Code:

java.lang.NullPointerException
        com.caucho.quercus.env.LongValue.toStringBuilder(LongValue.java:239)
        com.caucho.quercus.env.Value.toStringValue(Value.java:991)
        com.caucho.quercus.env.Value.toStringValue(Value.java:983)
        com.caucho.quercus.module.IniDefinition.getAsStringValue(IniDefinition.java:258)
        com.caucho.quercus.env.Env.getIni(Env.java:1776)
        com.caucho.quercus.env.Env.getErrorMask(Env.java:6301)
        com.caucho.quercus.env.Env.error(Env.java:6417)
        com.caucho.quercus.env.Env.error(Env.java:6399)
        com.caucho.quercus.env.Env.error(Env.java:6063)
        com.caucho.quercus.expr.CallExpr.evalImpl(CallExpr.java:198)
        com.caucho.quercus.expr.CallExpr.eval(CallExpr.java:151)
        com.caucho.quercus.expr.Expr.evalValue(Expr.java:469)
        com.caucho.quercus.statement.ReturnStatement.execute(ReturnStatement.java:69)
        com.caucho.quercus.statement.IfStatement.execute(IfStatement.java:84)
        com.caucho.quercus.statement.BlockStatement.execute(BlockStatement.java:105)
        com.caucho.quercus.program.Function.callImpl(Function.java:433)
        com.caucho.quercus.program.Function.callMethod(Function.java:469)
        com.caucho.quercus.env.ObjectExtValue.callMethod(ObjectExtValue.java:809)
        com.caucho.quercus.env.Value.callMethod(Value.java:1533)
        org.wp.spring.php.PHPScriptUtils$QAdapter.call(PHPScriptUtils.java:330)
        org.wp.spring.php.PHPScriptUtils$QAdapter.call(PHPScriptUtils.java:298)
        org.wp.spring.php.PHPScriptUtils$PHPObjectInvocationHandler.invoke(PHPScriptUtils.java:205)
        com.sun.proxy.$Proxy308.handleRequest(Unknown Source)
        org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
        org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
        org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:920)
        org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:816)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:801)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
        org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)


nam 01-04-2014 08:46 AM

Have you tried the latest version of Quercus? I don't see how this NullPointerException can happen in the latest version.


All times are GMT. The time now is 08:19 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.