[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1420) Add a null check in Initialization class
by Michael Yuan (JIRA)
Add a null check in Initialization class
----------------------------------------
Key: JBSEAM-1420
URL: http://jira.jboss.com/jira/browse/JBSEAM-1420
Project: JBoss Seam
Issue Type: Task
Components: Core
Reporter: Michael Yuan
Assigned To: Gavin King
Fix For: 1.3.0.ALPHA
The JPA example failed to deploy on WebLogic with an NPE error on the "new File" line:
<code>
public class Initialization
{
private RedeployableStrategy getRedeployableInitialization()
{
File hotDeployDir = new File( servletContext.getRealPath("/WEB-
INF/dev") );
org.jboss.seam.servlet.SeamListener failed:
java.lang.NullPointerException
at java.io.File <init> ( File.java: 194)
at org.jboss.seam.init.Initialization.getRedeployableInitialization
(Initialization.java: 536)
... ...
</code>
I think this is an issue with the File class in jRockit.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 7 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1282) Refactor Exception Handling definition parsing into Pages component
by Chris Rudd (JIRA)
Refactor Exception Handling definition parsing into Pages component
-------------------------------------------------------------------
Key: JBSEAM-1282
URL: http://jira.jboss.com/jira/browse/JBSEAM-1282
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 1.2.1.GA
Reporter: Chris Rudd
Currently I am using the fix I proposed for JBSEAM-715. This allows me to manage and pass additional pages.xml files to the Pages component.
The problem is that for the exception definition the Exceptions component only looks at the WEB-INF/pages.xml. I propose either refactoring the processing of the exception nodes into the Pages component so that any pages.xml that is processed can define exception handlers.
An alternate implementation would be to have the Pages component to notify the Exceptions component of each pages.xml it processes. This way the specific can still be encapsulated in the Exceptions compoent, but it is fed the pages.xml files to use.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 7 months