Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001837 [Quercus] minor always 06-28-07 12:02 10-16-07 15:44
Reporter dizzle View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0001837: Mantis shows a stack trace instead of a proper error message
Description Mantis shows a stack trace for any error case. For example, when I was trying to register an account, it happened if I entered an existing username, an existing email address, or an invalid password. Looking at the stack trace, it appears to be an issue with how Quercus does error handling.

java.lang.NullPointerException
    at com.caucho.quercus.lib.file.FileModule.basename(FileModule.java:122)
    at _quercus._core._error_0api__php$fun_error_handler.call(var/www/hosts/bugs.caucho.com/webapps/ROOT/core/error_api.php:50)
    at com.caucho.quercus.env.CallbackFunction.call(CallbackFunction.java:148)
    at com.caucho.quercus.env.Env.error(Env.java:3700)
    at com.caucho.quercus.lib.ErrorModule.trigger_error(ErrorModule.java:457)
    at _quercus._core._user_0api__php$fun_user_ensure_name_unique.call(var/www/hosts/bugs.caucho.com/webapps/ROOT/core/user_api.php:134)
    at _quercus._core._user_0api__php$fun_user_create.callImpl(var/www/hosts/bugs.caucho.com/webapps/ROOT/core/user_api.php:345)
    at com.caucho.quercus.program.CompiledFunction_N.call(CompiledFunction_N.java:86)
    at _quercus._core._user_0api__php$fun_user_signup.call(var/www/hosts/bugs.caucho.com/webapps/ROOT/core/user_api.php:418)
    at com.caucho.quercus.program.CompiledFunction.callRef(CompiledFunction.java:58)
    at _quercus._signup__php.execute(var/www/hosts/bugs.caucho.com/webapps/ROOT/signup.php:44)
    at com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:115)
    at com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServlet.java:122)
    at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:298)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:167)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:226)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:600)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:522)
    at java.lang.Thread.run(Thread.java:595)
Additional Information
Attached Files

- Relationships

- Notes
(0002349)
ferg
10-16-07 15:44

php/1602
 

- Issue History
Date Modified Username Field Change
06-28-07 12:02 dizzle New Issue
10-16-07 15:44 ferg Note Added: 0002349
10-16-07 15:44 ferg Assigned To  => ferg
10-16-07 15:44 ferg Status new => closed
10-16-07 15:44 ferg Resolution open => fixed
10-16-07 15:44 ferg Fixed in Version  => 3.1.4


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker