0 Replies Latest reply on Jul 31, 2008 8:27 AM by shredderspop

    NPE with flexlib

      I'm getting an NPE whenever I add any google flexlib component to my application. It appears that the webtier compiler is choking but I can figure out why. Here is the trace:

      07/31 10:58:01 ERROR java.lang.NullPointerException
      at flex.webtier.server.j2ee.BaseCompileFilter.getDependenciesFromCompilationUnits(BaseCompil eFilter.java:215)
      at flex.webtier.server.j2ee.jsp.JspCompileFilter.compileMxml(JspCompileFilter.java:83)
      at flex.webtier.server.j2ee.BaseCompileFilter.mxmlToSwf(BaseCompileFilter.java:322)
      at flex.webtier.server.j2ee.BaseCompileFilter.invoke(BaseCompileFilter.java:60)
      at flex.webtier.server.j2ee.RecompileFilter.invoke(RecompileFilter.java:37)
      at flex.webtier.server.j2ee.jsp.MxmlTagImpl.invoke(MxmlTagImpl.java:470)
      at flex.webtier.server.j2ee.jsp.MxmlTagImpl.compileInlined(MxmlTagImpl.java:404)
      at flex.webtier.server.j2ee.jsp.MxmlTagImpl.doEndTag(MxmlTagImpl.java:343)
      at flex.bootstrap.BootstrapTag.doEndTag(BootstrapTag.java:62)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:113)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:584)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:619)