I’m dead in the water. When I launch Servoy, I get to the select solution dialog. When I choose a solution, for example, the CRM demo solution, the dialog disappears, the intro “about” screen appears. Then when I click continue, that dialog disappears and the actual solution does not appear. The Servoy menu is the only thing available so I can get to About, Preferences and Quit. All these work as expected, but that’s it. No other menus are available.
The client version does work as far as windows appeariing, but it is in demo mode so I can’t get to my other solutions at all. The admin web interface is also not accessible.
I uninstalled and installed the new 2.0b4 and got the same behavior plus additional issues with the license showing bad code and 5 rather than 2 dev licenses.
I fear this has something to do with licensing, but I’m not sure why.
My Developer is running on a G5 with Mac OS X. I installed the 10.3.2 update yesterday. Maybe there is an issue with 10.3.2 and Servoy, but I am not sure what is going on.
java version “1.4.1_01”
Java™ 2 Runtime Environment, Standard Edition (build 1.4.1_01-99)
Java HotSpot™ Client VM (build 1.4.1_01-27, mixed mode)
The console dump is at the bottom of this message. It may dump the exceptions to standard_out only upon exiting Servoy, but I’m not sure.
One odd thing is that I can open the same solution using the client and it works just fine. It is only the developer version 1.2 and 2.0b4 that show the problem.
Just for kicks, I also tried to update the java as you can see, G5 firmware update, os 10.3.2 update other updates, java 3d, and also I repaired permissions using disk util. All to no avail.
Here’s the trace:
Loading servoy.properties from /Users/bob/servoy.properties - Done
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
Starting service Tomcat-Apache
Apache Tomcat/4.0.1
java.lang.NullPointerException
java.lang.NullPointerException
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
at com.servoy.j2db.m$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:230)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.Dialog.show(Dialog.java:538)
at java.awt.Component.show(Component.java:1134)
at java.awt.Component.setVisible(Component.java:1089)
at com.servoy.j2db.util.b.setVisible(Unknown Source)
at com.servoy.j2db.util.gui.f.a(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.reportDetailMessage(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.reportError(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.reportError(Unknown Source)
at com.servoy.j2db.FormManager.dc(Unknown Source)
at com.servoy.j2db.FormManager.da(Unknown Source)
at com.servoy.j2db.dataui.e.a(Unknown Source)
at com.servoy.j2db.dataui.e.a(Unknown Source)
at com.servoy.j2db.FormPanel.dP(Unknown Source)
at com.servoy.j2db.FormManager.do(Unknown Source)
at com.servoy.j2db.FormManager.a(Unknown Source)
at com.servoy.j2db.FormManager.if(Unknown Source)
at com.servoy.j2db.develop.z.if(Unknown Source)
at com.servoy.j2db.m.setVisible(Unknown Source)
at java.awt.Window$1$DisposeAction.run(Window.java:538)
at java.awt.Window.dispose(Window.java:552)
at java.awt.Dialog.disposeImpl(Dialog.java:614)
at java.awt.Dialog.dispose(Dialog.java:610)
at com.servoy.j2db.J2DBClient.closeSolution(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.closeSolution(Unknown Source)
at com.servoy.j2db.develop.J2DBDeveloper.do(Unknown Source)
at com.servoy.j2db.J2DBClient.shutDown(Unknown Source)
at com.servoy.j2db.cmd.a.doIt(Unknown Source)
at com.servoy.j2db.cmd.b$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:230)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.Dialog.show(Dialog.java:538)
at java.awt.Component.show(Component.java:1134)
at java.awt.Component.setVisible(Component.java:1089)
at com.servoy.j2db.util.b.setVisible(Unknown Source)
at com.servoy.j2db.m.setVisible(Unknown Source)
at com.servoy.j2db.m.a(Unknown Source)
at com.servoy.j2db.FormManager.a(Unknown Source)
at com.servoy.j2db.scripting.JSApplication.js_showFormInDialog(Unknown Source)
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:324)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:278)
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1230)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1940)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:94)
at com.servoy.j2db.scripting.e.call(Unknown Source)
at com.servoy.j2db.develop.c.i.executeFunction(Unknown Source)
at com.servoy.j2db.FormPanel.a(Unknown Source)
at com.servoy.j2db.FormPanel.a(Unknown Source)
at com.servoy.j2db.FormPanel.r(Unknown Source)
at com.servoy.j2db.FormPanel.dV(Unknown Source)
at com.servoy.j2db.FormPanel.t(Unknown Source)
at com.servoy.j2db.FormManager.a(Unknown Source)
at com.servoy.j2db.FormManager.if(Unknown Source)
at com.servoy.j2db.develop.z.if(Unknown Source)
at com.servoy.j2db.FormManager.do(Unknown Source)
at com.servoy.j2db.develop.z.do(Unknown Source)
at com.servoy.j2db.FormManager$3.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:230)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
ScriptEngine init not completly successfull java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.RuntimeException
I don’t get any exceptions to the console when starting and I can’t see any formdialog or window open beforehand. However, sometimes when I quit, I see a flash of the Servoy window as it should be as if it were hidden.
I’m at a loss as what else I might try. Only thing I can imagine is that java AWT is not working properly, but since the Servoy client works fine and only developer doesn’t, I’m at a loss as to what’s going on. My guess is it is some kind of permissions type problem or improper install of java, but I’ve tried to fix these. Other ideas???
2003-12-22 11:14:42.868 java[1230] Java couldn’t paint in Java_apple_awt_CRenderer_doRect, no focused view.
I downloaded 2.0b5, moved my servoy folder out to my desktop and installed b5. Install completed fine, but when I run it now, I don’t even get as far as the select solution dialog. I only get the Servoy start-up screen and then it just shows the Servoy menu with nothing else. Quiting in b5 doesn’t show the flash of any windows and also shows nothing other than running tomcat in the console.
Any suggestions? Seems odd that the client works, but the developer does not. What resources does Developer need that Client does not?
Q: Terminal/Console reports “Java couldn’t paint in Java_apple_awt_CRenderer_doRect, no focused view.”
A: This is a known issue with Swing applications under 1.4.1 Update 1, as well as Java 1.4.1 on Panther. It specifically refers to a failed paint call, but typically has no noticeable effect on applications and can be safely ignored.
It’s the “typically” above that has me wondering.
As for your suggestions, are you talking about the complete install of the OS? I hope not. I am uninstalling Servoy using the uninstall script and checking the force delete of the /Applications/Servoy folder. When I then install, it acts as if it is the first time, other than the fact that my license is “remembered”.
I just did it again and installed b5. Still didn’t open properly. However, when I showed the preferences window, it “unhid” the Servoy Developer main window. However, I never got the Select Solution Dialog. Now when I try to open solution, it is blank - even though I installed everything and even though I can see the solutions in the filesystem where they should be. I can however, create a new solution, but it isn’t a solid process and requires some tricks to get it to work.
I can create a solution, but I cannot actually edit forms, etc. The example solutions, i.e. CRM and styles don’t show up at all in the select solution dialog. The main Servoy Developer window shows with tool bar, but noting below regardless of what I do. Wait, if I resize the window, it draws properly. But I can’t edit elements or even see properties. This is a serious drag.
It will take a day or more to rebuild my system from scratch. Is that what I’m facing??? Have you seen this behavior before?
I think I fond the issue. I created a new user and looged in with the new user. It acted like it was a new install and things seems to work as expected. Somehow I must have put some funk in my main user account’s permissions or preferences, etc.
Now I’m faced with a delimma. Do I try to repair my account or create a new on and migrate? Will try deleting servoy.properties…
Removing the servoy.properties file seems to have resolved the problem. I removed it, then uninstalled servoy completeley, then reinstalled and restarted. Although I haven’t gotten into a lot of testing, the basics seem okay.
I’m not sure how the servoy.properties file got corrupted, but I think that this was the sole issue and not a java or apple update problem as I had previously thought.
FYI, I am now running the unreleased Java 1.4.2 from the apple developers site and 2.0b5 of servoy without any problems so far.