FormInDialogue intermittent issue

Hi,

We have a solution with many formindialogue forms for choosing values, printing options, etc.
Each form that is shown in such a dialogue has an onShow method.

Every now and then the dialogue with the form is shown, but the onShow method is not executed.
(I have have put a log-output as first line in the onShow method, so I am sure it is executed or not)

And then all the elements in the dialogue are not responing ( checkboxes, buttons ), but the user can quit
the dialugue using the X (close window) in the upper right corner.
When the user starts the same action that is showing the dialogue, the error persists.
If the user stops and start the solution, the dialogue works again.

Any ideas ??

Smart Client and Version = 5.1.4 .

Regards,

if this happens and you resize the dialog or move another window over it
does the form redraw completely?

Will try this tomorrow when it happens again and let you now.

Thanks,

Hi,

Today something even stranger happpened with one user.

She could do everything , EXCEPT change checkboxes.
All checkboxes in all forms of the application where not responding to mouse clicks.
All the rest of the solution worked without any problem.
All buttons and TextFields , etc where responding fine.

Any Ideas what could cause this ??

Add.INFO :

When the user goes to edit mode in a form then code : forms[_form].controller.readOnly = false is executed.
When the issue occurred, in every form she entered edit mode, all elements had readonly off, except the checkboxes, they stayed greyd-out (readonly)

Regards,

no idea, that looks like somekind of java issue of the install on that system
What kind of look and feel does she use?

Look and feel is standard look & feel for windows.
Same for all the users.

and when she logged out in Servoy and logged on again ( so no stopping of servoy client)
everything worked fine again.

Regards,

they where not by accident set to disabled or readonly?
(dont think so because i think for checkboxes you can see that visually)

no, they where not set.
b.t.w. the users are running windows xp sp3 and Servoy 5.1.4

what seems strange to mee is that the problem ( also the one with the dialogue form ) is gone
when they logoff and logon in the servoy solution. So the client keeps running.
Or does logoof/logon do some kind of restart of the client ??

no logging of just makes sure that all the solution/form ui you have are all destroyed,
so you start pretty fresh looking at that.

Dont you get any special logging in the java console on the client?

No, the java console was up and there was no error.

Johan, what would you advise ?

Reinstall Java Re, remove .servoy,
any more ?

b.t.w. it is not just one user with the “dialogueform issue” at least 3 users have this on a regular bases.

i dont know what that is, you could try to install the latest java, and maybe the latest graphics card drivers (maybe it is a glitch in painting the stuff)

i never seen it on my end.

If you really dont see any errors in the java console on the clients when it happens then i have no idea where to look.

The java version on the servoy server =

java version “1.6.0_18”
Java™ SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot™ Client VM (build 16.0-b13, mixed mode)

clients :

java version “1.6.0_20”
Java™ SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot™ Client VM (build 16.3-b01, mixed mode, sharing)

We turned on Java logging together with the java console because users often close the java console.

I went trough all the log information and came across the following messages :

Besides the errors shown below :

  • we also saw a database error ( violation of constraint ) in the clients java log.
    Normaly these are shown in the server log, but it is not in the serverlog.
  • there is some log output missing in the java log.(written with patricks log plugin)
    where there should be pairs of 3 lines of output, in some cases there are only (the last)two.
    In the code, the last two lines can only be output to log if the first one is also output.

Also

In the java logs :

<record>
  <date>2010-09-16T09:17:33</date>
  <millis>1284621453139</millis>
  <sequence>10</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>Exceptie bij het uitvoeren van berekening: calc_inkoopbedrag van tabel inkorderkaarten, fout java.util.ConcurrentModificationException
</message>
</record>
<record>
  <date>2010-09-16T09:17:33</date>
  <millis>1284621453186</millis>
  <sequence>11</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>ERROR - Debug                      - error executing calc: calc_inkoopbedrag
java.lang.RuntimeException: Exceptie bij het uitvoeren van berekening: calc_inkoopbedrag van tabel inkorderkaarten, fout 

java.util.ConcurrentModificationException
	at com.servoy.j2db.scripting.Zi.Za(Zi.java:53)
	at com.servoy.j2db.scripting.Zi.Za(Zi.java:85)
	at com.servoy.j2db.dataprocessing.FoundSet.getCalculationValue(FoundSet.java:1271)
	at com.servoy.j2db.dataprocessing.Record.getValue(Record.java:361)
	at com.servoy.j2db.dataprocessing.Zh.run(Zh.java:1)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.util.ConcurrentModificationException
	at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
	at java.util.AbstractList$Itr.next(Unknown Source)
	at com.servoy.j2db.dataprocessing.Zhd.foundSetChanged(Zhd.java:85)
	at com.servoy.j2db.dataprocessing.Zxb.foundSetChanged(Zxb.java:6)
	at com.servoy.j2db.dataprocessing.Zxb.Za(Zxb.java:3)
	at com.servoy.j2db.dataprocessing.Zxb.Za(Zxb.java:8)
	at com.servoy.j2db.dataprocessing.Zsb.Za(Zsb.java:255)
	at com.servoy.j2db.dataprocessing.FoundSet.getRelatedFoundSet(FoundSet.java:961)
	at com.servoy.j2db.dataprocessing.Record.getRelatedFoundSet(Record.java:93)
	at com.servoy.j2db.dataprocessing.Record.getValue(Record.java:360)
	at com.servoy.j2db.dataprocessing.Record.get(Record.java:265)
	at com.servoy.j2db.scripting.Zjb.get(Zjb.java:32)
	at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1641)
	at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1740)
	at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1679)
	at org.mozilla.javascript.gen.c134._c0(calc_inkoopbedrag:15)
	at org.mozilla.javascript.gen.c134.call(calc_inkoopbedrag)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:387)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3127)
	at org.mozilla.javascript.gen.c134.call(calc_inkoopbedrag)
	at com.servoy.j2db.scripting.Ztb.executeFunction(Ztb.java:196)
	at com.servoy.j2db.scripting.Zi.Za(Zi.java:38)
	... 7 more
</message>
</record>
<record>

and

<record>
  <date>2010-09-13T15:39:45</date>
  <millis>1284385185248</millis>
  <sequence>6</sequence>
  <logger>sun.plugin</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>     Reader.java:596 (09/13 15:39:45.248)[     <==196607 0] Stack Trace: 	at com.neoteris.NeoterisStatic.readByte(Unknown Source)
</message>
</record>

and

<record>
  <date>2010-09-13T16:06:24</date>
  <millis>1284386784719</millis>
  <sequence>213</sequence>
  <logger>sun.plugin</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>     Reader.java:596 (09/13 16:06:24.719)[     <==196607 0] Stack Trace: 	at java.lang.Thread.run(Unknown Source)
</message>
</record>
<record>
  <date>2010-09-13T16:06:24</date>
  <millis>1284386784719</millis>
  <sequence>214</sequence>
  <logger>sun.plugin</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>sun.plugin2.main.client.PluginMain: unrecognized message ID 46
</message>
</record>
<record>
  <date>2010-09-13T16:06:27</date>
  <millis>1284386787954</millis>
  <sequence>215</sequence>
  <logger>sun.plugin</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>JVM heartbeat .. Exception, send ts: 27584996324, now ts: 27595006625, dT 10010301
</message>
</record>

In the servoy_log.txt on the server we regular see
(often the time in the message is somewhere during midnight. I guess that these are from users that shut there pc without closing Servoy >?):

2010-09-16 03:25:40,970 ERROR [TaskExecuter[1]] com.servoy.j2db.dataprocessing.Zm - Error flushing message buffer to client BF6C021E-DAAF-4E5E-9961-

71CF67392EE0
java.rmi.ConnectException: Connection refused to host: 172.16.161.231; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
	at sun.rmi.server.UnicastRef.invoke(Unknown Source)
	at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
	at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
	at $Proxy11.isAlive(Unknown Source)
	at com.servoy.j2db.dataprocessing.ClientProxy.Zc(ClientProxy.java:11)
	at com.servoy.j2db.dataprocessing.Zz.run(Zz.java:9)
	at com.servoy.j2db.util.Zid.run(Zid.java:27)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at com.servoy.j2db.util.rmi.Zs.createSocket(Zs.java:103)
	... 11 more

those exceptions dont tell me anything,
the last one is just the server telling you that it can’t reach a client maybe because he client disconnected from the network (suspended its laptop, killed the client)

Do the following logs mean anything to You ?

<record>
  <date>2010-09-20T14:56:40</date>
  <millis>1284987400922</millis>
  <sequence>187</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>ERROR - Debug                      - Compilation failed for method: svy_utl_queryParser
</message>
</record>
<record>
  <date>2010-09-20T14:56:41</date>
  <millis>1284987401016</millis>
  <sequence>188</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>ERROR - Debug                      - Throwable
java.lang.RuntimeException: Unable to instantiate compiled class:java.lang.reflect.InvocationTargetException
	at org.mozilla.javascript.optimizer.Codegen.createFunctionObject(Codegen.java:102)
	at org.mozilla.javascript.Context.compileImpl(Context.java:2460)
	at org.mozilla.javascript.Context.compileFunction(Context.java:1435)
	at org.mozilla.javascript.Context.compileFunction(Context.java:1427)
	at com.servoy.j2db.scripting.Ztb.Za(Ztb.java:188)
	at com.servoy.j2db.scripting.Ztb.compileFunction(Ztb.java:172)
	at com.servoy.j2db.scripting.Zd.get(Zd.java:83)
	at com.servoy.j2db.scripting.Zh.get(Zh.java:36)
	at com.servoy.j2db.Zec.Za(Zec.java:265)
	at com.servoy.j2db.Zec.Zc(Zec.java:98)
	at com.servoy.j2db.Zec.Zg(Zec.java:266)
	at com.servoy.j2db.scripting.CreationalPrototype.get(CreationalPrototype.java:33)
	at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1641)
	at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1400)
	at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1379)
	at org.mozilla.javascript.gen.c121._c0(svy_mod_dialogs_global_fillBaseDialogElements:302)
	at org.mozilla.javascript.gen.c121.call(svy_mod_dialogs_global_fillBaseDialogElements)
	at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:91)
	at org.mozilla.javascript.gen.c120._c0(svy_mod_dialogs_global_fillErrorDialogElements:347)
	at org.mozilla.javascript.gen.c120.call(svy_mod_dialogs_global_fillErrorDialogElements)
	at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:91)
	at org.mozilla.javascript.gen.c243._c0(svy_mod_dialogs_global_showQuestionDialog:801)
	at org.mozilla.javascript.gen.c243.call(svy_mod_dialogs_global_showQuestionDialog)
	at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:81)
	at org.mozilla.javascript.gen.c263._c0(verkorderregels_onPreDelete:2130)
	at org.mozilla.javascript.gen.c263.call(verkorderregels_onPreDelete)
	at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:81)
	at org.mozilla.javascript.gen.c213._c0(svy_nav_dc_delete:376)
	at org.mozilla.javascript.gen.c213.call(svy_nav_dc_delete)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:387)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3127)
	at org.mozilla.javascript.gen.c213.call(svy_nav_dc_delete)
	at com.servoy.j2db.scripting.Ztb.executeFunction(Ztb.java:196)
	at com.servoy.j2db.Zwb.Za(Zwb.java:741)
	at com.servoy.j2db.Zwb.Za(Zwb.java:1223)
	at com.servoy.j2db.Zcc.Za(Zcc.java:1)
	at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:27)
	at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:18)
	at com.servoy.j2db.ui.BaseEventExecutor.fireActionCommand(BaseEventExecutor.java:16)
	at com.servoy.j2db.dataui.Zh.mouseReleased(Zh.java:2)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
</message>
</record>

<record>
  <date>2010-09-20T15:02:36</date>
  <millis>1284987756464</millis>
  <sequence>202</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>In Find
</message>
</record>
<record>
  <date>2010-09-20T15:02:39</date>
  <millis>1284987759636</millis>
  <sequence>203</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>In Search
</message>
</record>
<record>
  <date>2010-09-20T15:02:39</date>
  <millis>1284987759730</millis>
  <sequence>204</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>ERROR - Debug                      - Compilation failed for method: svy_utl_queryParser
</message>
</record>
<record>
  <date>2010-09-20T15:02:39</date>
  <millis>1284987759730</millis>
  <sequence>205</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>ERROR - Debug                      - Throwable
java.lang.RuntimeException: Unable to instantiate compiled class:java.lang.reflect.InvocationTargetException
	at org.mozilla.javascript.optimizer.Codegen.createFunctionObject(Codegen.java:102)
	at org.mozilla.javascript.Context.compileImpl(Context.java:2460)
	at org.mozilla.javascript.Context.compileFunction(Context.java:1435)
	at org.mozilla.javascript.Context.compileFunction(Context.java:1427)
	at com.servoy.j2db.scripting.Ztb.Za(Ztb.java:188)
	at com.servoy.j2db.scripting.Ztb.compileFunction(Ztb.java:172)
	at com.servoy.j2db.scripting.Zd.get(Zd.java:83)
	at com.servoy.j2db.scripting.Zh.get(Zh.java:36)
	at com.servoy.j2db.Zec.Za(Zec.java:265)
	at com.servoy.j2db.Zec.Zc(Zec.java:98)
	at com.servoy.j2db.Zec.Zg(Zec.java:266)
	at com.servoy.j2db.scripting.CreationalPrototype.get(CreationalPrototype.java:33)
	at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1641)
	at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1400)
	at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1379)
	at org.mozilla.javascript.gen.c334._c0(svy_sea_search:433)
	at org.mozilla.javascript.gen.c334.call(svy_sea_search)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:387)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3127)
	at org.mozilla.javascript.gen.c334.call(svy_sea_search)
	at com.servoy.j2db.scripting.Ztb.executeFunction(Ztb.java:196)
	at com.servoy.j2db.Zwb.Za(Zwb.java:741)
	at com.servoy.j2db.Zwb.Za(Zwb.java:106)
	at com.servoy.j2db.Zwb.performFind(Zwb.java:86)
	at com.servoy.j2db.cmd.Zfb.doIt(Zfb.java:13)
	at com.servoy.j2db.cmd.Zc.run(Zc.java:1)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
</message>
</record>
<record>
  <date>2010-09-20T15:02:39</date>
  <millis>1284987759792</millis>
  <sequence>206</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>ERROR - Debug                      - Compilation failed for method: svy_utl_queryParser
</message>
</record>
<record>
  <date>2010-09-20T15:02:39</date>
  <millis>1284987759792</millis>
  <sequence>207</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>ERROR - Debug                      - Throwable
java.lang.RuntimeException: Unable to instantiate compiled class:java.lang.reflect.InvocationTargetException
	at org.mozilla.javascript.optimizer.Codegen.createFunctionObject(Codegen.java:102)
	at org.mozilla.javascript.Context.compileImpl(Context.java:2460)
	at org.mozilla.javascript.Context.compileFunction(Context.java:1435)
	at org.mozilla.javascript.Context.compileFunction(Context.java:1427)
	at com.servoy.j2db.scripting.Ztb.Za(Ztb.java:188)
	at com.servoy.j2db.scripting.Ztb.compileFunction(Ztb.java:172)
	at com.servoy.j2db.scripting.Zd.get(Zd.java:83)
	at com.servoy.j2db.scripting.Zh.get(Zh.java:36)
	at com.servoy.j2db.Zec.Za(Zec.java:265)
	at com.servoy.j2db.Zec.Zc(Zec.java:98)
	at com.servoy.j2db.Zec.Zg(Zec.java:266)
	at com.servoy.j2db.scripting.CreationalPrototype.get(CreationalPrototype.java:33)
	at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1641)
	at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1400)
	at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1379)
	at org.mozilla.javascript.gen.c334._c0(svy_sea_search:433)
	at org.mozilla.javascript.gen.c334.call(svy_sea_search)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:387)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3127)
	at org.mozilla.javascript.gen.c334.call(svy_sea_search)
	at com.servoy.j2db.scripting.Ztb.executeFunction(Ztb.java:196)
	at com.servoy.j2db.Zwb.Za(Zwb.java:741)
	at com.servoy.j2db.Zwb.Za(Zwb.java:106)
	at com.servoy.j2db.Zwb.performFind(Zwb.java:86)
	at com.servoy.j2db.cmd.Zfb.doIt(Zfb.java:13)
	at com.servoy.j2db.cmd.Zc.run(Zc.java:1)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
</message>
</record>
<record>
  <date>2010-09-20T15:02:39</date>
  <millis>1284987759839</millis>
  <sequence>208</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>ERROR - Debug                      - Compilation failed for method: svy_utl_queryParser
</message>
</record>
<record>
  <date>2010-09-20T15:02:39</date>
  <millis>1284987759839</millis>
  <sequence>209</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>10</thread>
  <message>ERROR - Debug                      - Throwable
java.lang.RuntimeException: Unable to instantiate compiled class:java.lang.reflect.InvocationTargetException
	at org.mozilla.javascript.optimizer.Codegen.createFunctionObject(Codegen.java:102)
	at org.mozilla.javascript.Context.compileImpl(Context.java:2460)
	at org.mozilla.javascript.Context.compileFunction(Context.java:1435)
	at org.mozilla.javascript.Context.compileFunction(Context.java:1427)
	at com.servoy.j2db.scripting.Ztb.Za(Ztb.java:188)
	at com.servoy.j2db.scripting.Ztb.compileFunction(Ztb.java:172)
	at com.servoy.j2db.scripting.Zd.get(Zd.java:83)
	at com.servoy.j2db.scripting.Zh.get(Zh.java:36)
	at com.servoy.j2db.Zec.Za(Zec.java:265)
	at com.servoy.j2db.Zec.Zc(Zec.java:98)
	at com.servoy.j2db.Zec.Zg(Zec.java:266)
	at com.servoy.j2db.scripting.CreationalPrototype.get(CreationalPrototype.java:33)
	at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1641)
	at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1400)
	at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1379)
	at org.mozilla.javascript.gen.c334._c0(svy_sea_search:433)
	at org.mozilla.javascript.gen.c334.call(svy_sea_search)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:387)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3127)
	at org.mozilla.javascript.gen.c334.call(svy_sea_search)
	at com.servoy.j2db.scripting.Ztb.executeFunction(Ztb.java:196)
	at com.servoy.j2db.Zwb.Za(Zwb.java:741)
	at com.servoy.j2db.Zwb.Za(Zwb.java:106)
	at com.servoy.j2db.Zwb.performFind(Zwb.java:86)
	at com.servoy.j2db.cmd.Zfb.doIt(Zfb.java:13)
	at com.servoy.j2db.cmd.Zc.run(Zc.java:1)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
</message>
</record>
</log>

yes that is a problem, dont know if that is related
But you have there a method that is way to big (i guess) for rhino to handle.
Rhino cant parse/compile the error and execute methods from it.

So there is something wrong with this method: svy_utl_queryParser

This is a method from sanneke in the framework :

function svy_utl_queryParser()
{
//Sanneke 26-06-2007
//Combines query and arguments into 1 string
var _query = arguments[0];
var _args = arguments[1];

if (_args.length != utils.stringPatternCount(_query, "?")) {
    return "-ERROR- args: " + _args.length + "; query: " + utils.stringPatternCount(_query, "?") + ";";
}

var _val;

for (var i=0; i < _args.length; i++) {
    switch(typeof _args[i])    {
        case "string":
            _val = "'" + _args[i] + "'";
            break;
        case "object": //date
            _val = "'" + utils.dateFormat(_args[i], "yyyy-MM-dd HH:mm:ss:SSS") + "'";
            break;
        default: //number, integer
            _val = _args[i];
    }
    _query = _query.replace(/?{1}/, _val);
}

return _query;
}

its a pity that rhino generates such a bad error and not the complete stacktrace, i fixed that for our next release

That method seems pretty standard and small, i will also try to test it to compile it

for now what you can try is have a system property specified in the admin pages for the clients:

system.property.servoy.disableScriptCompile=true

Thanks Johan,

This has no negative side effects ??

B.t.w. Last Friday I cleared the java cacheand then completely removed java and reinstalled it.
Also delete the .Servoy directory.

Add. info : I mean on this client pc !

Regards,

no not really, then it executes like it does in the debugger (but not then actual debugging ofcourse only in interpreted mode)
This could be a bit slower, but i think that this wont be noticed (webclients have that property by default…)