Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006058 [Resin] minor always 05-23-17 01:45 05-24-17 14:31
Reporter stbu View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.52
Summary 0006058: NullPointerException @ buildInvocation( instead of 503 Service Temporarily Unavailable
Description We're running Resin-Professional in an environment with multiple virtual hosts, several web-apps and many Rewrite Rules. We've observe the NullPointerExceptions (Stack Trace in "Additional Information") under following circumstances:

- A HTTP-Request is performed to /webapp which is properly handled.
- Stop /webapp using the /resin-admin interface which will change the state of /webapp to "STOPPED"
- Perform another HTTP-Request to /webapp is causing:
Server Error
The server is temporarily unavailable due to an internal error. Please notify the system administrator of this problem.

The Resin Logfile contains the Stack Trace from "Additional Information".

When tested the same against Resin-4.0.50 we receive the expected "503 Service Temporarily Unavailable" response.

The NullPointerException was also observed during HTTP Requests on a web-app while the underlying .war file was updated.
Additional Information [2017-05-23 09:07:01.055] {resin-port-8443-47} WARNING com.caucho.server.webapp.ErrorPageManager java.lang.NullPointerException
  at com.caucho.server.webapp.WebAppContainer.buildInvocation(
  at com.caucho.server.cluster.ServletService.buildInvocation(
  at com.caucho.server.dispatch.InvocationServer.buildInvocation(
  at com.caucho.server.dispatch.InvocationServer.buildInvocation(
  at com.caucho.server.http.AbstractHttpRequest.buildInvocation(
  at com.caucho.server.http.AbstractHttpRequest.getInvocation(
  at com.caucho.server.http.HttpRequest.handleRequest(
  at com.caucho.env.thread2.ResinThread2.runTasks(
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
05-23-17 01:45 stbu New Issue
05-23-17 01:45 stbu Issue Monitored: stbu
05-24-17 14:31 ferg Assigned To  => ferg
05-24-17 14:31 ferg Status new => closed
05-24-17 14:31 ferg Resolution open => fixed
05-24-17 14:31 ferg Fixed in Version  => 4.0.53

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