Internal Error Message

Hi,

We’ve developed an application with VAADIN v7.1.15 running on WAS 8.5.5 using IE8, Chrome. Noticed that we are getting a red error message ‘Internal Error’ on the browser quite often when moving through different windows through the application. Unfortunately we could not replicate this issue consistently. It happens intermittently.

However, when tailing the log, we managed to catch this error which coincides with this error message:


[15/09/14 12:35:29:121 BST]
00000133 CDIViewProvid I com.tnt.vcm.application.management.console.ManagementConsoleViewImpl is annotated, the viewName is “”“”
[15/09/14 12:35:29:122 BST]
00000133 CDIViewProvid I com.tnt.vcm.application.warehouse.location.WarehouseView is annotated, the viewName is “warehouseView”
[15/09/14 12:35:29:122 BST]
00000133 CDIViewProvid I com.tnt.vcm.application.HomeView is annotated, the viewName is “home”
[15/09/14 12:35:29:123 BST]
00000133 CDIViewProvid I Releasing creational context for current view org.apache.webbeans.context.creational.CreationalContextImpl@2c56ac3b
[15/09/14 12:35:29:123 BST]
00000133 CDIViewProvid I Created new creational context for current view org.apache.webbeans.context.creational.CreationalContextImpl@d62c8a60
[15/09/14 12:35:29:124 BST]
00000133 CDIViewProvid I Returning view instance com.tnt.vcm.application.consignment.ConsignmentView@3ce30a2a
[15/09/14 12:36:00:191 BST]
00000008 BeanStoreCont I BeanStoreContainer is about to be destroyed: com.vaadin.cdi.internal.BeanStoreContainer@5aad744c
[15/09/14 12:36:00:192 BST]
00000008 BeanStoreCont I Dereferencing beans from beanstore: com.vaadin.cdi.internal.UIBeanStore@16978a9c
[15/09/14 12:36:00:193 BST]
00000008 CDIViewProvid I CDIViewProvider is being destroyed, releasing creational context for current view
[15/09/14 12:36:33:541 BST]
00000133 DefaultErrorH E
java.lang.NullPointerException
at com.vaadin.ui.ConnectorTracker.removeFromGlobalResourceHandler(ConnectorTracker.java:192)
at com.vaadin.ui.ConnectorTracker.cleanConnectorMap(ConnectorTracker.java:269)
at com.vaadin.server.communication.UidlWriter.write(UidlWriter.java:297)
at com.vaadin.server.communication.UidlRequestHandler.writeUidl(UidlRequestHandler.java:149)
at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:97)
at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:37)
at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1372)
at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)

[15/09/14 12:40:58:588 BST]

00000133 BeanStoreCont I New BeanStoreContainer created
[15/09/14 12:40:58:613 BST]
00000133 CDIViewProvid I Attempting to retrieve view name from string “home”
[15/09/14 12:40:58:614 BST]
00000133 CDIViewProvid I Looking for view with name “home”
[15/09/14 12:40:58:615 BST]
00000133 CDIViewProvid I com.tnt.vcm.application.consignment.ConsignmentView is annotated, the viewName is “consignment”
[15/09/14 12:40:58:615 BST]
00000133 CDIViewProvid I com.tnt.vcm.application.management.console.ManagementConsoleViewImpl is annotated, the viewName is “”“”
[15/09/14 12:40:58:616 BST]
00000133 CDIViewProvid I com.tnt.vcm.application.warehouse.location.WarehouseView is annotated, the viewName is “warehouseView”
[15/09/14 12:40:58:617 BST]
00000133 CDIViewProvid I com.tnt.vcm.application.HomeView is annotated, the viewName is “home”
[15/09/14 12:40:58:617 BST]
00000133 CDIViewProvid I Bean -100578502,Name:null,WebBeans Type:MANAGED,API Types:[com.vaadin.ui.CustomComponent,java.lang.Iterable,com.vaadin.shared.Connector,com.vaadin.server.ClientConnector,com.vaadin.ui.Component,com.vaadin.event.MethodEventSource,java.io.Serializable,com.tnt.vcm.application.BaseView,java.lang.Object,com.vaadin.navigator.View,com.vaadin.ui.AbstractComponent,com.vaadin.server.Sizeable,com.vaadin.server.AbstractClientConnector,com.tnt.vcm.application.HomeView,com.vaadin.ui.HasComponents]
,Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]
with viewName “home” is one alternative

Anyone faced similar issue before and what was the fixed please ?

Thanks and regards

Gulshan