# ONE solution wont start (crashes)

**URL:** <https://forum.servoy.com/t/one-solution-wont-start-crashes/12962>\
**Category:** Classic Servoy\
**Created:** [October 1, 2010, 8:44am UTC](https://forum.servoy.com/t/one-solution-wont-start-crashes/12962 "2010-10-01T08:44:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alb](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@alb](https://forum.servoy.com/u/alb)\
**Post date:** [October 1, 2010, 8:44am UTC](https://forum.servoy.com/t/one-solution-wont-start-crashes/12962/1 "2010-10-01T08:44:20Z")

</div>

This is _reallY_ weird.  
Running servoy 5.2.1 on Windows 2008R2 x64. Two solutions on server. One starts up fine and can be accessed via both SC and WC.

The other when trying to access through WC get plain white browser window (eg nothing) and when trying to access through SC hangs for 5 mins then says ‘solution could not be loaded’.

Checking servoy\_log.txt see the following critical java error:

2010-10-01 18:32:46,872 ERROR [http-443-1] com.servoy.j2db.util.Debug - Throwable  
java.lang.NullPointerException  
at com.servoy.j2db.persistence.ServerProxy.getName(ServerProxy.java:98)  
at com.servoy.j2db.FlattenedSolution.combineServerProxies(FlattenedSolution.java:523)  
at com.servoy.j2db.FlattenedSolution.setSolutionAndModules(FlattenedSolution.java:464)  
at com.servoy.j2db.FlattenedSolution.setSolution(FlattenedSolution.java:430)  
at com.servoy.j2db.ClientState.loadSolutionsAndModules(ClientState.java:1324)  
at com.servoy.j2db.server.headlessclient.SessionClient.loadSolution(SessionClient.java:256)  
at com.servoy.j2db.ClientState.selectAndOpenSolution(ClientState.java:414)  
at com.servoy.j2db.ClientState.handleClientUserUidChanged(ClientState.java:392)  
at com.servoy.j2db.server.headlessclient.WebClientSession.startSessionClient(WebClientSession.java:146)  
at com.servoy.j2db.server.headlessclient.SolutionLoader.(SolutionLoader.java:181)  
at sun.reflect.GeneratedConstructorAccessor31.newInstance(Unknown Source)  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)  
at java.lang.reflect.Constructor.newInstance(Unknown Source)  
at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)  
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:89)  
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:305)  
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)  
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)  
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)  
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)  
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)  
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)  
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)  
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)  
at com.servoy.j2db.server.servlets.Zl.doGet(Zl.java:5)  
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:128)  
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)  
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)  
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)  
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)  
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)  
at java.lang.Thread.run(Unknown Source)  
2010-10-01 18:32:46,872 ERROR [http-443-1] com.servoy.j2db.util.Debug - Cannot load solution cesoft  
2010-10-01 18:32:46,872 ERROR [http-443-1] com.servoy.j2db.util.Debug - Throwable  
java.lang.NullPointerException  
at com.servoy.j2db.persistence.ServerProxy.getName(ServerProxy.java:98)  
at com.servoy.j2db.FlattenedSolution.combineServerProxies(FlattenedSolution.java:523)  
at com.servoy.j2db.FlattenedSolution.setSolutionAndModules(FlattenedSolution.java:464)  
at com.servoy.j2db.FlattenedSolution.setSolution(FlattenedSolution.java:430)  
at com.servoy.j2db.ClientState.loadSolutionsAndModules(ClientState.java:1324)  
at com.servoy.j2db.server.headlessclient.SessionClient.loadSolution(SessionClient.java:256)  
at com.servoy.j2db.ClientState.selectAndOpenSolution(ClientState.java:414)  
at com.servoy.j2db.ClientState.handleClientUserUidChanged(ClientState.java:392)  
at com.servoy.j2db.server.headlessclient.WebClientSession.startSessionClient(WebClientSession.java:146)  
at com.servoy.j2db.server.headlessclient.SolutionLoader.(SolutionLoader.java:181)  
at sun.reflect.GeneratedConstructorAccessor31.newInstance(Unknown Source)  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)  
at java.lang.reflect.Constructor.newInstance(Unknown Source)  
at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)  
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:89)  
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:305)  
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)  
at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)  
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)  
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)  
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)  
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)  
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)  
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)  
at com.servoy.j2db.server.servlets.Zl.doGet(Zl.java:5)  
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:128)  
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)  
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)  
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)  
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)  
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)  
at java.lang.Thread.run(Unknown Source)

So something is bviously wrong - but what?  
Strangely the solution _does_ run when loaded onto our older Windows 2003 x 32 server. Jave versions are the same on both servers.  
Also runs when started from developer on a windows and a Mac.  
so obviously there is something in the W2k8R2x64 environment that doesnt like the solution - but what?  
Any ideas? We have been fighting this for 3 days now.  
Al.

---

<div class="post-metadata">

**Author:** ![Gabi\_Boros](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@Gabi\_Boros](https://forum.servoy.com/u/Gabi_Boros)\
**Post date:** [October 1, 2010, 10:15am UTC](https://forum.servoy.com/t/one-solution-wont-start-crashes/12962/2 "2010-10-01T10:15:26Z")

</div>

do you have the db server, used by the solution, defined in the server’s servoy.properties file ?

---

<div class="post-metadata">

**Author:** ![alb](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@alb](https://forum.servoy.com/u/alb)\
**Post date:** [October 1, 2010, 10:57am UTC](https://forum.servoy.com/t/one-solution-wont-start-crashes/12962/3 "2010-10-01T10:57:22Z")

</div>

yes - the database definitions are all there and working.  
If I run deeloper on the server - which uses the same servoy.properties file - it can start the SC and the solution…but I cant access it when its running udner the servoy server (if that makes sense?)

---

<div class="post-metadata">

**Author:** ![Gabi\_Boros](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@Gabi\_Boros](https://forum.servoy.com/u/Gabi_Boros)\
**Post date:** [October 1, 2010, 11:19am UTC](https://forum.servoy.com/t/one-solution-wont-start-crashes/12962/4 "2010-10-01T11:19:30Z")

</div>

if you delete the .servoy dir form the home dir of the user running the smart client, does it work ?

---

<div class="post-metadata">

**Author:** ![alb](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@alb](https://forum.servoy.com/u/alb)\
**Post date:** [October 2, 2010, 12:05am UTC](https://forum.servoy.com/t/one-solution-wont-start-crashes/12962/5 "2010-10-02T00:05:49Z")

</div>

Tried that - no difference.  
also - I dont think this is at the client end becaue  
a) other solutions on the server run fine  
b) The webclient for the failing solution only opens a white browser page and the SC for the dogy solution says ‘cant conect to solution’.

also when solution crashes the verbose java error on the server seems to indicate connectivity/SSL/port isses? So its obviously osmehting specific about this solution that is crashing the java process on the server (i’m not a java expert!) - but what? previously errors have given a good idea of whats wrong or where to look - but I am stumped with this one.  
have also tried different JRE on the server - no difference.

Does this error point to anything:

2010-10-02 09:57:06,604 ERROR [http-443-8] com.servoy.j2db.util.Debug - Throwable  
java.lang.NullPointerException  
at com.servoy.j2db.persistence.ServerProxy.getName(ServerProxy.java:98)  
at com.servoy.j2db.FlattenedSolution.combineServerProxies(FlattenedSolution.java:523)

---

<div class="post-metadata">

**Author:** ![Gabi\_Boros](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@Gabi\_Boros](https://forum.servoy.com/u/Gabi_Boros)\
**Post date:** [October 4, 2010, 7:41am UTC](https://forum.servoy.com/t/one-solution-wont-start-crashes/12962/6 "2010-10-04T07:41:08Z")

</div>

the error message means that the db server proxy for the client, was created with an  
invalid server; can you check if the db server used by the solution is up & running ?  
can you post the connectivity error you see in the logs ?
