[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1420) Add a null check in Initialization class

Michael Yuan (JIRA) jira-events at lists.jboss.org
Thu Jun 7 22:59:13 EDT 2007


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

        



More information about the seam-issues mailing list