javax.faces.FacesException

#{richBean.watijTest}: java.lang.Error: An error occurs during WebBrowser Control initialization.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web395

  • via Google Groups by Sebastian Pawlak, 6 months ago
    #{richBean.watijTest}: java.lang.Error: An error occurs during WebBrowser Control initialization.
  • #{richBean.watijTest}: java.lang.Error: An error occurs during WebBrowser Control initialization.
  • Problem in renderResponse: OutputStream encountered error during write
  • Stack trace

    • javax.faces.FacesException: #{richBean.watijTest}: java.lang.Error: An error occurs during WebBrowser Control initialization. at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:114)[:2.0.3-] at javax.faces.component.UICommand.broadcast(UICommand.java:311)[:2.0.3-] at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:781)[:2.0.3-] at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1246)[:2.0.3-] at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)[:2.0.3-] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)[:2.0.3-] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)[:2.0.3-] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)[:2.0.3-] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)[:6.1.0.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)[:6.1.0.Final] at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)[:6.1.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)[:6.1.0.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)[:6.1.0.Final] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)[:6.1.0.Final] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)[:6.1.0.Final] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)[:6.1.0.Final] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)[:1.1.0.Final] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)[:1.1.0.Final] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)[:6.1.0.Final] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)[:6.1.0.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159)[:6.1.0.Final] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[:6.1.0.Final] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)[:6.1.0.Final] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[:6.1.0.Final] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)[:6.1.0.Final] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)[:6.1.0.Final] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)[:6.1.0.Final] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)[:6.1.0.Final] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)[:6.1.0.Final] at java.lang.Thread.run(Thread.java:662)[:1.6.0_26] Caused by: javax.faces.el.EvaluationException: java.lang.Error: An error occurs during WebBrowser Control initialization. at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:98)[:2.0.3-] at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)[:2.0.3-] ... 29 more Caused by: java.lang.Error: An error occurs during WebBrowser Control initialization. at com.jniwrapper.win32.ie.cx.<init>(Unknown Source)[:] at com.jniwrapper.win32.ie.Browser.a(Unknown Source)[:] at com.jniwrapper.win32.ie.Browser.<init>(Unknown Source)[:] at com.jniwrapper.win32.ie.Browser.<init>(Unknown Source)[:] at com.teamdev.jxbrowser.ie.IEBrowser.<init>(Unknown Source)[:2.8] at com.teamdev.jxbrowser.ie.IEBrowserFactory.create(Unknown Source)[:2.8] at com.teamdev.jxbrowser.BrowserFactory.createBrowser(Unknown Source)[:2.8] at org.watij.webspec.dsl.WebSpec.ie(WebSpec.java:282)[:] at org.jboss.as.quickstarts.jsf.RichBean.watijTest(RichBean.java:62)[:] at org.jboss.as.quickstarts.jsf.RichBean$Proxy$_$$_WeldClientProxy.watijTest(RichBean$Proxy$_$$_WeldClientProxy.java)[:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_26] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_26] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_26] at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_26] at org.apache.el.parser.AstValue.invoke(AstValue.java:196)[:6.1.0.Final] at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)[:6.1.0.Final] at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)[:6.1.0.Final] at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)[:6.1.0.Final] at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)[:6.1.0.Final] at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)[:6.1.0.Final] at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:102)[:2.0.3-] at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:84)[:2.0.3-] ... 30 more Caused by: java.lang.reflect.InvocationTargetException at com.jniwrapper.win32.MessageLoopThread$ThreadSynchronizedAction.rethrowExceptionIfSaved(MessageLoopThread.java:590)[:] at com.jniwrapper.win32.MessageLoopThread.doInvokeAndWait(MessageLoopThread.java:226)[:] at com.jniwrapper.win32.ie.cn.<init>(Unknown Source)[:] ... 52 more Caused by: java.lang.RuntimeException: Cannot find JExplorer32.dll in JAR. at com.jniwrapper.win32.ie.by.a(Unknown Source)[:] at com.jniwrapper.win32.ie.by.<init>(Unknown Source)[:] at com.jniwrapper.win32.ie.IsolatedProcess.<init>(Unknown Source)[:] at com.jniwrapper.win32.ie.IsolatedProcess.start(Unknown Source)[:] at com.jniwrapper.win32.ie.co.run(Unknown Source)[:] at com.jniwrapper.win32.MessageLoopThread$ThreadSynchronizedAction.run(MessageLoopThread.java:566)[:] at com.jniwrapper.win32.MessageLoopThread$LoopThread.run(MessageLoopThread.java:508)[:]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.