Home

News: java.sun.com interview: A Conversation With Cay Horstmann

  1. Cay Horstmann, a computer science prof at San Jose State, Java Champion, and author of some respected books on JSF and Java in the enterprise makes some provocative points in an interview on java.sun.com, as pointed out by TSS reader John Simpson. Regarding JSF:
    JSC: What are some crucial mistakes that developers make in JavaServer Faces development, often called JSF? Horstmann: I don't want to blame developers for weaknesses in the framework and deployment platform. The single biggest issue that hampers productivity is "the stack trace from hell." If you make an innocent typo, your IDE probably won't catch it -- either because the IDEs are not all that savvy about JSF or because JSF was not designed with compile-time checking in mind, for example, with value expressions. Consequently, when you deploy your app, you get a huge stack trace that tells you the life story of the app server. You then must divine which part of the stack trace is relevant and what it tells you about the source of failure. A junior developer can't be expected to do this. All they know is that something failed. So productivity instantly goes down the drain. Who's to blame? First, the JSF library implementers, for doing a poor job of tracing back the cause of the error to the cause in the programmer's code. Whenever there's a failure, the mantra must be "File name, line number, file name, line number." This is not easy. JSF is built upon JavaServer Pages (JSP) technology. The JSP parser must be rigged to capture the file name and line number of every artifact and to associate it with the data structures that it hands to the JSF implementation. Second, the app server implementers are to blame for hiding behind the fiction that they produce software for deployment, not development. When something goes wrong, the app server just belches and whines -- it has no pathway to propagate an error with file name and line number to the development environment. The folks at Netbeans do the best they can, scraping the stack traces for clues. However, they can only report what the app server tells them. The app servers need to have a development mode that tells the IDE the precise file name and line number that caused a failure. Look at it this way -- suppose the compiler had the same attitude as the app server. If the programmer is slovenly enough to feed it a program with errors, it just returns a stack trace and exits. Nobody could be productive with such a system. Yet this is the fundamental flaw with JSF.
    Ouch! There's a lot here - some of which doesn't sound right. (First off, disclosure: I am on the JSF 2.0 EG, mostly with the intent of making sure dumb users like myself don't get ignored in favor of shiny specification bells and whistles.) For one thing, JSP is only the default rendering technology for JSF. It's the default because every servlet container is expected to have it, and that lowers the installation burden on the deployer. Blaming JSF because of JSP is a little like saying that leather seats are too hot in the summer in Florida - you don't have to use it, and if you do, well, you should expect the issues that come along with it. (To wit: in FL, leather seats in the summer are a good way to get burns along your bum and legs, if you're wearing shorts.) For another, there are a number of IDEs - including Netbeans and Eclipse - that do a very workable job parsing expressions in JSF. There are still some issues with this, in that some JSF tags (like ) can declare a reference to a local variable (and the IDEs tend to resolve managed beans, not local references). Also, the IDEs tend to ignore variables referenced by custom variable resolvers (such as Spring's DelegatingVariableResolver.) On scripting languages:
    JSC: What is your view of the proliferation of scripting languages -- Perl, PHP, Python, Groovy, Ruby -- each ostensibly intended for different domains of application? Horstmann: You know how to pick my hot-button issues. I think it's great that people come up with new programming languages for research purposes. But these languages ought to die a quick death. What is the point of having Python and Groovy and Ruby and PHP and Perl? I want to learn one scripting language really well rather than dabble in five of them. From a Java language perspective, Groovy seems the best candidate. Groovy has a Java language-like syntax and a metaobject protocol that makes Grails possible. But it's taken a long time to achieve professional language design, and core parts of the language are still poorly defined and even in flux. For example, I can't really understand the Groovy MOP, except by reading the Grails source code. I was not happy to see that JavaFX Script is yet another programming language. My graduate student, Sadiya Hameed, is implementing DSLs that have the key operators of JavaFX Script, such as bind and dur, with Scala and Groovy as the host languages. It works just fine. The syntax is a little different but really no better or worse. Pragmatically, neither language would have worked for Sun at this point in time. I am told that it's important that JavaFX Script can be compiled, so Groovy would not be an optimal host. And graphic designers are probably not ready for Scala. Still, it drives me crazy to see yet another language.
    Interesting - and scary. The availability of Python and Ruby on the JVM is a win/win for both the communities of both Java and the other language - Ruby gets an implementation that actually runs quickly, for example. Java wins because it gains access to the various libraries people write in those languages - such as Rails, or the Universal Feed Parser from Mark Pilgrim. (ROME is great, but ... I'll give the nod to the bozo bit every time, partly because I'm guilty of producing bozo feeds myself from time to time.) What do you think of Mr. Horstmann's points?
  2. For one thing, JSP is only the default rendering technology for JSF. It's the default because every servlet container is expected to have it, and that lowers the installation burden on the deployer. Blaming JSF because of JSP ...
    I've heard that several times, but what I haven't heard is if the alternatives to JSP for JSF development are ready for enterprise use. I'll soon be incorporating JSF into a legacy GUI that is composed of JSPs, JS, and some Struts, and I would love to abandon JSPs for something better. What is the status of the alternatives to JSP? Are they enterprise ready (reliable, good tools support, reasonable to debug, etc.)?
  3. For one thing, JSP is only the default rendering technology for JSF. It's the default because every servlet container is expected to have it, and that lowers the installation burden on the deployer. Blaming JSF because of JSP ...
    I've heard that several times, but what I haven't heard is if the alternatives to JSP for JSF development are ready for enterprise use.

    I'll soon be incorporating JSF into a legacy GUI that is composed of JSPs, JS, and some Struts, and I would love to abandon JSPs for something better.

    What is the status of the alternatives to JSP? Are they enterprise ready (reliable, good tools support, reasonable to debug, etc.)?
    The two I've used are Facelets and JSFTemplating, both authored by people also on the JSF 2.0 EG. I'm more experienced with Facelets of the two, but JSFTemplating is growing fast, and gaining acceptance. Both are far faster than JSP, and far more reliable - in terms of bug reporting, etc.
  4. For one thing, JSP is only the default rendering technology for JSF. It's the default because every servlet container is expected to have it, and that lowers the installation burden on the deployer. Blaming JSF because of JSP ...


    I've heard that several times, but what I haven't heard is if the alternatives to JSP for JSF development are ready for enterprise use.

    I'll soon be incorporating JSF into a legacy GUI that is composed of JSPs, JS, and some Struts, and I would love to abandon JSPs for something better.

    What is the status of the alternatives to JSP? Are they enterprise ready (reliable, good tools support, reasonable to debug, etc.)?
    I, too, am on the JSF 2 EG, and I'm also a developer on JSFTemplating. With that out of the way, I can say that, while my knowledge is hardly exhaustive (or even close to it), I don't know of *anyone* doing serious JSF development with JSP. Facelets seems to be the big winner, and I've used it extensively for quite a while. It's fast, stable, and robust, and has backing from some pretty serious players in the JSF space (such as Seam). JSFTemplating, to which I added its Facelets support, is also a perfectly viable solution. It too is fast, stable and robust. In fact, if you've used the GlassFish v2 admin GUI, you've used a JSFTemplating application, so Sun believes it ready enough to base such an important part of a highly important product on it. I'm very confident you'll be safe with either option, and you'll certainly be much happier than with JSP, especially once JSF 2 ships later this year.
  5. The Stack Trace from Hell[ Go to top ]

    I've had a long day of programming with JSF and the Woodstock components. Yes, it is high time for me to switch to Facelets on this project, and I'll be happier with the error reporting, as long as the error occurs in page markup. But today, my errors appeared in a session bean. See below for the stacktrace. As you admire this beauty, keep in mind that you need to scroll backwards in the log. The offending error message is 763 lines away from the end of the log. There simply has to be a better way to get this report back to the IDE than scraping the stack trace. I am not sure who should take ownership of this issue, but there sure are a lot of people who say "it's not my department..." Cheers, Cay java.lang.NullPointerException at com.horstmann.activelecture.session.LecturesImpl.getPageData(LecturesImpl.java:254) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067) at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176) at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895) at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986) at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:203) at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:77) at $Proxy106.getPageData(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:233) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152) at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225) at com.horstmann.activelecture.session.__Lectures_Remote_DynamicStub.getPageData(com/horstmann/activelecture/session/__Lectures_Remote_DynamicStub.java) at com.horstmann.activelecture.session._Lectures_Wrapper.getPageData(com/horstmann/activelecture/session/_Lectures_Wrapper.java) at com.horstmann.activelecture.jsf.MainSessionBean.getPageData(MainSessionBean.java:40) at com.horstmann.activelecture.jsf.MainRequestBean.loadPageData(MainRequestBean.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.faces.vendor.GlassFishInjectionProvider$1.run(GlassFishInjectionProvider.java:267) at java.security.AccessController.doPrivileged(Native Method) at com.sun.faces.vendor.GlassFishInjectionProvider.invokeLifecycleMethod(GlassFishInjectionProvider.java:261) at com.sun.faces.vendor.GlassFishInjectionProvider.invokePostConstruct(GlassFishInjectionProvider.java:191) at com.sun.faces.vendor.GlassFishInjectionProvider.invokePostConstruct(GlassFishInjectionProvider.java:118) at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:327) at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:546) at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:86) at com.sun.el.parser.AstValue.getValue(AstValue.java:127) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:229) at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211) at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:476) at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:660) at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1126) at org.apache.jsp.main_jspx._jspx_meth_w_progressBar_0(main_jspx.java from :875) at org.apache.jsp.main_jspx._jspx_meth_w_panelGroup_3(main_jspx.java from :833) at org.apache.jsp.main_jspx._jspx_meth_h_panelGrid_0(main_jspx.java from :443) at org.apache.jsp.main_jspx._jspx_meth_w_form_0(main_jspx.java from :397) at org.apache.jsp.main_jspx._jspx_meth_w_body_0(main_jspx.java from :359) at org.apache.jsp.main_jspx._jspx_meth_w_html_0(main_jspx.java from :262) at org.apache.jsp.main_jspx._jspx_meth_w_page_0(main_jspx.java from :223) at org.apache.jsp.main_jspx._jspx_meth_f_view_0(main_jspx.java from :186) at org.apache.jsp.main_jspx._jspService(main_jspx.java from :152) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:320) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:106) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) EJB5018: An exception was thrown during an ejb invocation on [LecturesImpl] javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:3869) at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3769) at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3571) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1354) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316) at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:210) at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:77) at $Proxy106.getPageData(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:233) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152) at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225) at com.horstmann.activelecture.session.__Lectures_Remote_DynamicStub.getPageData(com/horstmann/activelecture/session/__Lectures_Remote_DynamicStub.java) at com.horstmann.activelecture.session._Lectures_Wrapper.getPageData(com/horstmann/activelecture/session/_Lectures_Wrapper.java) at com.horstmann.activelecture.jsf.MainSessionBean.getPageData(MainSessionBean.java:40) at com.horstmann.activelecture.jsf.MainRequestBean.loadPageData(MainRequestBean.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.faces.vendor.GlassFishInjectionProvider$1.run(GlassFishInjectionProvider.java:267) at java.security.AccessController.doPrivileged(Native Method) at com.sun.faces.vendor.GlassFishInjectionProvider.invokeLifecycleMethod(GlassFishInjectionProvider.java:261) at com.sun.faces.vendor.GlassFishInjectionProvider.invokePostConstruct(GlassFishInjectionProvider.java:191) at com.sun.faces.vendor.GlassFishInjectionProvider.invokePostConstruct(GlassFishInjectionProvider.java:118) at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:327) at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:546) at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:86) at com.sun.el.parser.AstValue.getValue(AstValue.java:127) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:229) at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211) at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:476) at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:660) at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1126) at org.apache.jsp.main_jspx._jspx_meth_w_progressBar_0(main_jspx.java from :875) at org.apache.jsp.main_jspx._jspx_meth_w_panelGroup_3(main_jspx.java from :833) at org.apache.jsp.main_jspx._jspx_meth_h_panelGrid_0(main_jspx.java from :443) at org.apache.jsp.main_jspx._jspx_meth_w_form_0(main_jspx.java from :397) at org.apache.jsp.main_jspx._jspx_meth_w_body_0(main_jspx.java from :359) at org.apache.jsp.main_jspx._jspx_meth_w_html_0(main_jspx.java from :262) at org.apache.jsp.main_jspx._jspx_meth_w_page_0(main_jspx.java from :223) at org.apache.jsp.main_jspx._jspx_meth_f_view_0(main_jspx.java from :186) at org.apache.jsp.main_jspx._jspService(main_jspx.java from :152) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:320) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:106) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) Caused by: java.lang.NullPointerException at com.horstmann.activelecture.session.LecturesImpl.getPageData(LecturesImpl.java:254) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067) at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176) at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895) at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986) at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:203) ... 104 more JSF1001: Managedbean mainRB could not be created. ApplicationDispatcher[/ActiveLecture] PWC1231: Servlet.service() for servlet jsp threw exception javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:240) at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211) at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:476) at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:660) at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1126) at org.apache.jsp.main_jspx._jspx_meth_w_progressBar_0(main_jspx.java from :875) at org.apache.jsp.main_jspx._jspx_meth_w_panelGroup_3(main_jspx.java from :833) at org.apache.jsp.main_jspx._jspx_meth_h_panelGrid_0(main_jspx.java from :443) at org.apache.jsp.main_jspx._jspx_meth_w_form_0(main_jspx.java from :397) at org.apache.jsp.main_jspx._jspx_meth_w_body_0(main_jspx.java from :359) at org.apache.jsp.main_jspx._jspx_meth_w_html_0(main_jspx.java from :262) at org.apache.jsp.main_jspx._jspx_meth_w_page_0(main_jspx.java from :223) at org.apache.jsp.main_jspx._jspx_meth_f_view_0(main_jspx.java from :186) at org.apache.jsp.main_jspx._jspService(main_jspx.java from :152) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:320) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:106) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) Caused by: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:556) at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:86) at com.sun.el.parser.AstValue.getValue(AstValue.java:127) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:229) ... 73 more Caused by: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:340) at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:546) ... 80 more Caused by: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.vendor.GlassFishInjectionProvider.invokeLifecycleMethod(GlassFishInjectionProvider.java:278) at com.sun.faces.vendor.GlassFishInjectionProvider.invokePostConstruct(GlassFishInjectionProvider.java:191) at com.sun.faces.vendor.GlassFishInjectionProvider.invokePostConstruct(GlassFishInjectionProvider.java:118) at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:327) ... 81 more Caused by: java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException at java.security.AccessController.doPrivileged(Native Method) at com.sun.faces.vendor.GlassFishInjectionProvider.invokeLifecycleMethod(GlassFishInjectionProvider.java:261) ... 84 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.faces.vendor.GlassFishInjectionProvider$1.run(GlassFishInjectionProvider.java:267) ... 86 more Caused by: javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: null; nested exception is: java.lang.NullPointerException at com.horstmann.activelecture.session._Lectures_Wrapper.getPageData(com/horstmann/activelecture/session/_Lectures_Wrapper.java) at com.horstmann.activelecture.jsf.MainSessionBean.getPageData(MainSessionBean.java:40) at com.horstmann.activelecture.jsf.MainRequestBean.loadPageData(MainRequestBean.java:73) ... 91 more WebModule[/ActiveLecture]org.apache.jasper.JasperException: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() javax.faces.FacesException: org.apache.jasper.JasperException: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:413) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:320) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:106) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) Caused by: org.apache.jasper.JasperException: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:402) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408) ... 42 more Caused by: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:240) at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211) at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:476) at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:660) at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1126) at org.apache.jsp.main_jspx._jspx_meth_w_progressBar_0(main_jspx.java from :875) at org.apache.jsp.main_jspx._jspx_meth_w_panelGroup_3(main_jspx.java from :833) at org.apache.jsp.main_jspx._jspx_meth_h_panelGrid_0(main_jspx.java from :443) at org.apache.jsp.main_jspx._jspx_meth_w_form_0(main_jspx.java from :397) at org.apache.jsp.main_jspx._jspx_meth_w_body_0(main_jspx.java from :359) at org.apache.jsp.main_jspx._jspx_meth_w_html_0(main_jspx.java from :262) at org.apache.jsp.main_jspx._jspx_meth_w_page_0(main_jspx.java from :223) at org.apache.jsp.main_jspx._jspx_meth_f_view_0(main_jspx.java from :186) at org.apache.jsp.main_jspx._jspService(main_jspx.java from :152) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) ... 57 more Caused by: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:556) at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:86) at com.sun.el.parser.AstValue.getValue(AstValue.java:127) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:229) ... 73 more Caused by: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:340) at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:546) ... 80 more Caused by: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.vendor.GlassFishInjectionProvider.invokeLifecycleMethod(GlassFishInjectionProvider.java:278) at com.sun.faces.vendor.GlassFishInjectionProvider.invokePostConstruct(GlassFishInjectionProvider.java:191) at com.sun.faces.vendor.GlassFishInjectionProvider.invokePostConstruct(GlassFishInjectionProvider.java:118) at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:327) ... 81 more Caused by: java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException at java.security.AccessController.doPrivileged(Native Method) at com.sun.faces.vendor.GlassFishInjectionProvider.invokeLifecycleMethod(GlassFishInjectionProvider.java:261) ... 84 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.faces.vendor.GlassFishInjectionProvider$1.run(GlassFishInjectionProvider.java:267) ... 86 more Caused by: javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: null; nested exception is: java.lang.NullPointerException at com.horstmann.activelecture.session._Lectures_Wrapper.getPageData(com/horstmann/activelecture/session/_Lectures_Wrapper.java) at com.horstmann.activelecture.jsf.MainSessionBean.getPageData(MainSessionBean.java:40) at com.horstmann.activelecture.jsf.MainRequestBean.loadPageData(MainRequestBean.java:73) ... 91 more executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@1c1f173) threw exception com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:594) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:325) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:106) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) Caused by: javax.faces.FacesException: org.apache.jasper.JasperException: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:413) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:320) ... 39 more Caused by: org.apache.jasper.JasperException: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:402) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408) ... 42 more Caused by: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:240) at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211) at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:476) at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:660) at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1126) at org.apache.jsp.main_jspx._jspx_meth_w_progressBar_0(main_jspx.java from :875) at org.apache.jsp.main_jspx._jspx_meth_w_panelGroup_3(main_jspx.java from :833) at org.apache.jsp.main_jspx._jspx_meth_h_panelGrid_0(main_jspx.java from :443) at org.apache.jsp.main_jspx._jspx_meth_w_form_0(main_jspx.java from :397) at org.apache.jsp.main_jspx._jspx_meth_w_body_0(main_jspx.java from :359) at org.apache.jsp.main_jspx._jspx_meth_w_html_0(main_jspx.java from :262) at org.apache.jsp.main_jspx._jspx_meth_w_page_0(main_jspx.java from :223) at org.apache.jsp.main_jspx._jspx_meth_f_view_0(main_jspx.java from :186) at org.apache.jsp.main_jspx._jspService(main_jspx.java from :152) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) ... 57 more Caused by: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:556) at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:86) at com.sun.el.parser.AstValue.getValue(AstValue.java:127) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:229) ... 73 more Caused by: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:340) at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:546) ... 80 more Caused by: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.faces.vendor.GlassFishInjectionProvider.invokeLifecycleMethod(GlassFishInjectionProvider.java:278) at com.sun.faces.vendor.GlassFishInjectionProvider.invokePostConstruct(GlassFishInjectionProvider.java:191) at com.sun.faces.vendor.GlassFishInjectionProvider.invokePostConstruct(GlassFishInjectionProvider.java:118) at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:327) ... 81 more Caused by: java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException at java.security.AccessController.doPrivileged(Native Method) at com.sun.faces.vendor.GlassFishInjectionProvider.invokeLifecycleMethod(GlassFishInjectionProvider.java:261) ... 84 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.faces.vendor.GlassFishInjectionProvider$1.run(GlassFishInjectionProvider.java:267) ... 86 more Caused by: javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: null; nested exception is: java.lang.NullPointerException at com.horstmann.activelecture.session._Lectures_Wrapper.getPageData(com/horstmann/activelecture/session/_Lectures_Wrapper.java) at com.horstmann.activelecture.jsf.MainSessionBean.getPageData(MainSessionBean.java:40) at com.horstmann.activelecture.jsf.MainRequestBean.loadPageData(MainRequestBean.java:73) ... 91 more phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@1c1f173) threw exception: com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() org.apache.jasper.JasperException: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:594) com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.afterPhase(ViewHandlerImpl.java:470) com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280) com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:106) javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288) org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272) com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637) com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568) com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813) com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting invoke lifecycle method public void com.horstmann.activelecture.jsf.MainRequestBean.loadPageData() at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:594) at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:325) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:106) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571) at org.apache.
  6. Re: The Stack Trace from Hell[ Go to top ]

    ROTFLMAO !!! Grails buddy... Grails.
  7. Re: The Stack Trace from Hell[ Go to top ]

    It's good to see the JSF people finally moving away from JSP. It was a sort of nice technology (I always preferred velocity-like template solutions more) back in the day but is woefully out of date when you have much more developer friendly solutions like facelets and such available. Death to jsp! ...
    I've had a long day of programming with JSF and the Woodstock components. Yes, it is high time for me to switch to Facelets on this project, and I'll be happier with the error reporting, as long as the error occurs in page markup.
  8. Thanks, Joseph and Jason, for the comments. I'll take a look at facelets first since we are running on JBoss.
  9. For one thing, JSP is only the default rendering technology for JSF. It's the default because every servlet container is expected to have it, and that lowers the installation burden on the deployer. Blaming JSF because of JSP ...


    I've heard that several times, but what I haven't heard is if the alternatives to JSP for JSF development are ready for enterprise use.

    I'll soon be incorporating JSF into a legacy GUI that is composed of JSPs, JS, and some Struts, and I would love to abandon JSPs for something better.

    What is the status of the alternatives to JSP? Are they enterprise ready (reliable, good tools support, reasonable to debug, etc.)?
    I have been using Facelets in production with great success for years. It just works and you get line number when something goes wrong (at least you do 99.5% of the time) and nice debugging support (component dump etc.). I find it much more productive than JSP.
  10. "And graphic designers are probably not ready for Scala." Er, right, hmm. What programming languages are graphics designers ready for? Are there examples of non-programmers successfully using Groovy or JavaFX Script? At what point do they stop being non-programmers?
  11. "And graphic designers are probably not ready for Scala."

    Er, right, hmm. What programming languages are graphics designers ready for? Are there examples of non-programmers successfully using Groovy or JavaFX Script? At what point do they stop being non-programmers?
    Ricky--they use Flash.
  12. Whenever there's a failure, the mantra must be "File name, line number, file name, line number."
    This is exactly what the Tapestry does. BTW, is there a WYSIWYG editor for JSF?
  13. Whenever there's a failure, the mantra must be "File name, line number, file name, line number."

    This is exactly what the Tapestry does.
    BTW, is there a WYSIWYG editor for JSF?
    More than one. Instantiations and JBoss IDE for Eclipse, and the old project rave (now creator?) for Netbeans come to mind quickly.
  14. I am told that it's important that JavaFX Script can be compiled, so Groovy would not be an optimal host.
    Groovy is compiled not interpreted. Am I missing something in what was meant there?