0

ArrayIndexOuOfBoundsException showing Messagebox

asked 2013-06-03 09:44:14 +0800

squarereply gravatar image squarereply
0

Since a few months we are having occasional errors in showing messageboxes in our web application. First of all, we are actually using ZK version 5.0.9 on a weblogic server version 10.3.5 The error doesn't happen sistematically but appears after a variable period of time (generally more than a week) on just 1 or 2 of the 6 machines where the application runs, once the error has appeared it is generated every time the method Messagebox.show is invoked all over the application (on that specific machine) and the only way to make it work again is restarting the server on that machine. Attached the stacktrace generated in case of error. We would be grateful for any possible suggestion!


tacktrace: May 15, 2013 8:48:44 AM org.zkoss.zk.ui.impl.UiEngineImpl handleError:1279 SEVERE: >>java.lang.ArrayIndexOutOfBoundsException

at java.lang.reflect.Array.get(Native Method) at bsh.Reflect.getIndex(Unknown Source) at bsh.BSHPrimarySuffix.doIndex(Unknown Source) at bsh.BSHPrimarySuffix.doSuffix(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHArguments.getArguments(Unknown Source) at bsh.BSHMethodInvocation.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at org.zkoss.zk.scripting.bsh.BSHInterpreter.exec(BSHInterpreter.java:134) at org.zkoss.zk.scripting.util.GenericInterpreter.interpret(GenericInterpreter.java:341) at org.zkoss.zk.ui.impl.PageImpl.interpret(PageImpl.java:876) at org.zkoss.zk.ui.impl.UiEngineImpl.execNonComponent(UiEngineImpl.java:877) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:677) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:622) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:756) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:711) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:655) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:622) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:756) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:711) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:655) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:622) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:756) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:711) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:655) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:622) at org.zkoss.zk.ui.impl.UiEngineImpl.createComponents(UiEngineImpl.java:954) at org.zkoss.zk.ui.impl.AbstractExecution.createComponents(AbstractExecution.java:237) at org.zkoss.zk.ui.Executions.createComponents(Executions.java:178) at org.zkoss.zul.Messagebox.show(Messagebox.java:266) at org.zkoss.zul.Messagebox.show(Messagebox.java:128) at it.reply.square.isp.geno.zk.window.NewsletterSubWindowController.insertUserIntoNewsletter(NewsletterSubWindowController.java:129) at it.reply.square.isp.geno.zk.window.NewsletterSubWindowController.onClick$confirmSubNews(NewsletterSubWindowController.java:166) 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 org.zkoss.zk.ui.event.GenericEventListener.onEvent(GenericEventListener.java:81) at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:192) at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:138) at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:306) at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:329) at org.zkoss.zk.ui.AbstractComponent$ForwardListener.onEvent(AbstractComponent.java:3033) at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:192) at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:138) at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1635) at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1419) at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1132) at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:562) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:457) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:465) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)*

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-06-03 09:44:14 +0800

Seen: 8 times

Last updated: Jun 03 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More