You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Zarick Lau (JIRA)" <ji...@apache.org> on 2006/06/01 09:34:16 UTC
[jira] Created: (SB-25) JRun 4 server stop trigger NPE
JRun 4 server stop trigger NPE
------------------------------
Key: SB-25
URL: http://issues.apache.org/struts/browse/SB-25
Project: Sandbox
Type: Bug
Components: Standalone Tiles
Environment: JRun 4, Win2k, Sun JDK 1.5.0
Reporter: Zarick Lau
I have integrate standalone tiles in my project (for my company).
When JRun 4 stop (or I trigger the hot-deploy to reload the webapp), it will throw a NullPointerException.
After some study, the NPE should be cause by the absence of super.init(config) call in TilesServlet.java
I'll attach my one-line patch. Hope useful...
(BTW, what's the current status on standalone-tiles?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (SB-25) JRun 4 server stop trigger NPE
Posted by "Zarick Lau (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SB-25?page=all ]
Zarick Lau updated SB-25:
-------------------------
Attachment: tiles-core-HEAD-jrun4-stop-npe.patch
See the Javadoc for more detail:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/GenericServlet.html#init(javax.servlet.ServletConfig)
> JRun 4 server stop trigger NPE
> ------------------------------
>
> Key: SB-25
> URL: http://issues.apache.org/struts/browse/SB-25
> Project: Sandbox
> Type: Bug
> Components: Standalone Tiles
> Environment: JRun 4, Win2k, Sun JDK 1.5.0
> Reporter: Zarick Lau
> Attachments: tiles-core-HEAD-jrun4-stop-npe.patch
>
> I have integrate standalone tiles in my project (for my company).
> When JRun 4 stop (or I trigger the hot-deploy to reload the webapp), it will throw a NullPointerException.
> After some study, the NPE should be cause by the absence of super.init(config) call in TilesServlet.java
> I'll attach my one-line patch. Hope useful...
> (BTW, what's the current status on standalone-tiles?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Work stopped: (SB-25) JRun 4 server stop trigger NPE
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SB-25?page=all ]
Work on SB-25 stopped by Antonio Petrelli.
> JRun 4 server stop trigger NPE
> ------------------------------
>
> Key: SB-25
> URL: http://issues.apache.org/struts/browse/SB-25
> Project: Sandbox
> Issue Type: Bug
> Components: Tiles
> Environment: JRun 4, Win2k, Sun JDK 1.5.0
> Reporter: Zarick Lau
> Assigned To: Antonio Petrelli
> Attachments: tiles-core-HEAD-jrun4-stop-npe.patch
>
>
> I have integrate standalone tiles in my project (for my company).
> When JRun 4 stop (or I trigger the hot-deploy to reload the webapp), it will throw a NullPointerException.
> After some study, the NPE should be cause by the absence of super.init(config) call in TilesServlet.java
> I'll attach my one-line patch. Hope useful...
> (BTW, what's the current status on standalone-tiles?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (SB-25) JRun 4 server stop trigger NPE
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SB-25?page=all ]
Antonio Petrelli reassigned SB-25:
----------------------------------
Assignee: Antonio Petrelli
> JRun 4 server stop trigger NPE
> ------------------------------
>
> Key: SB-25
> URL: http://issues.apache.org/struts/browse/SB-25
> Project: Sandbox
> Issue Type: Bug
> Components: Tiles
> Environment: JRun 4, Win2k, Sun JDK 1.5.0
> Reporter: Zarick Lau
> Assigned To: Antonio Petrelli
> Attachments: tiles-core-HEAD-jrun4-stop-npe.patch
>
>
> I have integrate standalone tiles in my project (for my company).
> When JRun 4 stop (or I trigger the hot-deploy to reload the webapp), it will throw a NullPointerException.
> After some study, the NPE should be cause by the absence of super.init(config) call in TilesServlet.java
> I'll attach my one-line patch. Hope useful...
> (BTW, what's the current status on standalone-tiles?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (SB-25) JRun 4 server stop trigger NPE
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SB-25?page=all ]
Antonio Petrelli resolved SB-25.
--------------------------------
Fix Version/s: 2.0
Resolution: Fixed
Corrected File org.apache.tiles.servlets.TilesServlet as indicated by the reporter
> JRun 4 server stop trigger NPE
> ------------------------------
>
> Key: SB-25
> URL: http://issues.apache.org/struts/browse/SB-25
> Project: Sandbox
> Issue Type: Bug
> Components: Tiles
> Environment: JRun 4, Win2k, Sun JDK 1.5.0
> Reporter: Zarick Lau
> Assigned To: Antonio Petrelli
> Fix For: 2.0
>
> Attachments: tiles-core-HEAD-jrun4-stop-npe.patch
>
>
> I have integrate standalone tiles in my project (for my company).
> When JRun 4 stop (or I trigger the hot-deploy to reload the webapp), it will throw a NullPointerException.
> After some study, the NPE should be cause by the absence of super.init(config) call in TilesServlet.java
> I'll attach my one-line patch. Hope useful...
> (BTW, what's the current status on standalone-tiles?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (SB-25) JRun 4 server stop trigger NPE
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SB-25?page=comments#action_37430 ]
Antonio Petrelli commented on SB-25:
------------------------------------
Could you post the stack trace of the exception? It will be useful especially for comparison with other servlet containers
> JRun 4 server stop trigger NPE
> ------------------------------
>
> Key: SB-25
> URL: http://issues.apache.org/struts/browse/SB-25
> Project: Sandbox
> Type: Bug
> Components: Standalone Tiles
> Environment: JRun 4, Win2k, Sun JDK 1.5.0
> Reporter: Zarick Lau
> Attachments: tiles-core-HEAD-jrun4-stop-npe.patch
>
> I have integrate standalone tiles in my project (for my company).
> When JRun 4 stop (or I trigger the hot-deploy to reload the webapp), it will throw a NullPointerException.
> After some study, the NPE should be cause by the absence of super.init(config) call in TilesServlet.java
> I'll attach my one-line patch. Hope useful...
> (BTW, what's the current status on standalone-tiles?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (SB-25) JRun 4 server stop trigger NPE
Posted by "Zarick Lau (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SB-25?page=comments#action_37431 ]
Zarick Lau commented on SB-25:
------------------------------
The following is the stack trace. Using JRun4 with JDK1.5
06/01 18:21:11 error
java.lang.NullPointerException
at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:205)
at javax.servlet.GenericServlet.log(GenericServlet.java:300)
at javax.servlet.GenericServlet.destroy(GenericServlet.java:122)
at jrun.servlet.WebApplicationService.stop(WebApplicationService.java:326)
at jrun.deployment.DeployerService.undeploy(DeployerService.java:1477)
at jrun.deployment.DeployerService.undeploy(DeployerService.java:1436)
at jrun.deployment.DeployerService.redeploy(DeployerService.java:1383)
at jrun.deployment.DeployerService.redeployChanged(DeployerService.java:872)
at jrun.deployment.DeployerService.run(DeployerService.java:890)
at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
> JRun 4 server stop trigger NPE
> ------------------------------
>
> Key: SB-25
> URL: http://issues.apache.org/struts/browse/SB-25
> Project: Sandbox
> Type: Bug
> Components: Standalone Tiles
> Environment: JRun 4, Win2k, Sun JDK 1.5.0
> Reporter: Zarick Lau
> Attachments: tiles-core-HEAD-jrun4-stop-npe.patch
>
> I have integrate standalone tiles in my project (for my company).
> When JRun 4 stop (or I trigger the hot-deploy to reload the webapp), it will throw a NullPointerException.
> After some study, the NPE should be cause by the absence of super.init(config) call in TilesServlet.java
> I'll attach my one-line patch. Hope useful...
> (BTW, what's the current status on standalone-tiles?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Work started: (SB-25) JRun 4 server stop trigger NPE
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SB-25?page=all ]
Work on SB-25 started by Antonio Petrelli.
> JRun 4 server stop trigger NPE
> ------------------------------
>
> Key: SB-25
> URL: http://issues.apache.org/struts/browse/SB-25
> Project: Sandbox
> Issue Type: Bug
> Components: Tiles
> Environment: JRun 4, Win2k, Sun JDK 1.5.0
> Reporter: Zarick Lau
> Assigned To: Antonio Petrelli
> Attachments: tiles-core-HEAD-jrun4-stop-npe.patch
>
>
> I have integrate standalone tiles in my project (for my company).
> When JRun 4 stop (or I trigger the hot-deploy to reload the webapp), it will throw a NullPointerException.
> After some study, the NPE should be cause by the absence of super.init(config) call in TilesServlet.java
> I'll attach my one-line patch. Hope useful...
> (BTW, what's the current status on standalone-tiles?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira