1 Reply Latest reply on Oct 27, 2006 2:10 PM by pmuir

    Seam 1.1.0 beta1 and  JDK jdk1.5.0_05

    hardy.ferentschik

      Hi there,

      I just switched to seam 1.1.0 beta1 and started getting the following error messages when deploying my ear:

      17:09:19,390 ERROR [[/foo]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
      java.lang.NullPointerException
       at java.io.FilterInputStream.close(FilterInputStream.java:159)
       at org.jboss.seam.deployment.Scanner.getClassFile(Scanner.java:175)
       at org.jboss.seam.deployment.Scanner.handleItem(Scanner.java:143)
       at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:131)
       at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:127)
       at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:127)
       at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:127)
       at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:127)
       at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:127)
       at org.jboss.seam.deployment.Scanner.getClasses(Scanner.java:90)
       at org.jboss.seam.init.Initialization.addComponents(Initialization.java:500)
      

      Funny enough it was only me getting this error. We are three people on the project and the other two could deploy just fine. Initially we couldn't figure out any difference, but then we realized that I was running jdk1.5.0_05 whereas they were running jdk1.5.0_08.
      I've installed the latest jdk 1.5 which is jdk1.5.0_09. My problem disappeared right away.

      I hope this post will ave a few people some tedious debugging hours.

      Cheers
      Hardy