Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:


Go Back   Caucho Forums > Quercus

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2013, 04:47 AM
PaulWeb PaulWeb is offline
Junior Member
 
Join Date: May 2013
Posts: 2
Default 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)
Reply With Quote
  #2  
Old 01-04-2014, 08:46 AM
nam nam is offline
Administrator
 
Join Date: Aug 2009
Posts: 337
Default

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

Tags
error, exception, method, php

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:30 PM.


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