Hi,
I am getting the following error when I try to make my J2EE application using JBuilder 7 Enterprise Edition:

"catalog.jsp": weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
[java.lang.NullPointerException]
java.lang.NullPointerException

However, when I manually compile the files and create the ear file, there is no problem in the application. It seems that JBuilder is complaining about something in my jsp file, even though it's a very simple jsp file. What could the problem be?

Here is the JSP file:

<html>
<head>
<title>
Product Catalog
</title>
</head>
<body>
<h1>
Product Catalog
</h1>
<%@ page import="
javax.naming.*,
weblogic.logging.*,
productcatalog.*" %>

<%!
private static Context ctx;
private static NonCatalogLogger logger;
static {
try {
   ctx = new InitialContext();
   logger = new NonCatalogLogger("wlsd21");
} catch (Exception e) {
}
}
public void log(String logMessage, JspWriter out) throws Exception {
        logger.debug("catalog.jsp: " + logMessage);
        out.print(logMessage + "<BR>");
    }
%>
<%
  log("Beginning index.jsp", out);
  productCatalogLocalHome pcHome = (productCatalogLocalHome)ctx.lookup("productCatalogLocal");
  productCatalogLocal pcLocal = pcHome.create();
  Product[] productList = pcLocal.getProductList();
  for (int i=0; i<productList.length; i++) {
      out.println(productList[i].id + " / " + productList[i].name + " / " + productList[i].description + " / " + productList[i].price); %> <br> <%
  }
%>
</body>
</html>