Login in Web client in application server.

Hi All,

This problem is not at all occurring in Servoy Developer . When I am running from servoy application server in web client it is showing this problem . This is not occurring all the times . Some of the times it is occurring . After clicking the login button , It giving showing "Error calling Server " in small at the top . It is not at all going to the main form . If again I try to access the solution , it goes directly to the main form . Then again I have to restart the browser to resolve this Issue. There is nothing in the server log . I am having Servoy 6.0.6 and Mozilla Fire Fox 13.0.

Please provide some suggestion on this.

Thanks,
Ashutos.

Hi All ,

I am still facing this problem in the servoy web client . Has anybody come across this Issue ? . Please provide some suggestions on this .

Thanks,

Ashutos,

If you can reproduce this in a small sample solution, please file a case in our support system.
Make sure to mention the Servoy version and browser version.

Rob

Hi Rob,

Thanks for your reply . I would like to share some information .server is having 64 bit Windows OS . Java version is Java 1.7.0_04 64 bit . servoy is 6.0.6 and browser is mozilla firefox . Is the Java version 1.7.0_04 is the source of problem ? . Please provide some suggestions on this.

Ashutos,

We would have to see it in order to debug it.
If you have exceptions in the log files, those may also be helpful.

Rob

Hi Rob,

Thanks for your reply . Actually most of the times when this issue appears , we donot see any thing in the server log . But again when I am trying to access the URL , the following Issue comes in the server log.

org.apache.wicket.WicketRuntimeException: Method onNewBrowserWindow of interface org.apache.wicket.markup.html.INewBrowserWindowListener targeted at component [Page class = com.servoy.j2db.server.headlessclient.MainPage, id = 7, version = 0, ajax = 1] threw an exception
     at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:193)
     at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
     at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
     at com.servoy.j2db.server.servlets.Zl.doGet(Zl.java:7)
     at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
     at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:182)
     ... 24 more
    Caused by: java.lang.NullPointerException
     at com.servoy.j2db.server.headlessclient.MainPage.onNewBrowserWindow(MainPage.java:1513)

Please provide your suggestion on this.

Hello,

Can anybody please suggest something, what exactly is causing this error.I am getting a similar log as posted by the original posters of this thread. Please give some ideas.

Thanks,
Sovan

that is difficult to say, because when that exact stack happens servoy is in a weird state
Because a null pointer should not happen in that method call. It looks like that client is already in shutdown/closesolution when it wants to render a page in a new window.

So if you have something reproducible on the latest releases of servoy please make a case.