# error messages when loading a form

**URL:** <https://forum.servoy.com/t/error-messages-when-loading-a-form/1100>\
**Category:** Classic Servoy\
**Created:** [January 26, 2004, 10:49am UTC](https://forum.servoy.com/t/error-messages-when-loading-a-form/1100 "2004-01-26T10:49:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [January 26, 2004, 10:49am UTC](https://forum.servoy.com/t/error-messages-when-loading-a-form/1100/1 "2004-01-26T10:49:33Z")

</div>

The below message is what I see in my terminal (os x) when I load my very first form. I can’t tell what it means no’r can I determine if this has got something to do with that form or some methods before that ![:?]( "Confused")

Can somebody help me? Thanks…

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.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:289)  
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1232)  
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.s(Unknown Source)  
at com.servoy.j2db.FormPanel.dY(Unknown Source)  
at com.servoy.j2db.FormPanel.w(Unknown Source)  
at com.servoy.j2db.FormManager.a(Unknown Source)  
at com.servoy.j2db.FormManager.do(Unknown Source)  
at com.servoy.j2db.develop.z.do(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)

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [January 26, 2004, 3:47pm UTC](https://forum.servoy.com/t/error-messages-when-loading-a-form/1100/2 "2004-01-26T15:47:00Z")

</div>

Will be fixed in Servoy 2.0rc4, this could happen if you show a formdialog and immediately called closeFormDialog in for example onShow (in form).
