Hello,
we have a strange problem. On a machine using Mac OS X 10.4.5 we get an error when clicking on a link that looks like this:
href="javascript:ZeigeWoche(' +vJahrZurueck+ ',' +vMonatZurueck+ ', ' +vTagZurueck+ ')"
This link is supposed to call method “ZeigeWoche”, passing 3 arguments.
Servoy throws a “Could not eval the String “ZeigeWoche(1,1,1)””. Now what is strange is that this does not happen on Windows nor on Mac OS X 10.4.4.
In the console I see this on any Mac:
java.net.UnknownServiceException: protocol doesn't support input
java.net.UnknownServiceException: protocol doesn't support input
at java.net.URLConnection.getInputStream(URLConnection.java:772)
at javax.swing.JEditorPane.getStream(JEditorPane.java:719)
at javax.swing.JEditorPane.setPage(JEditorPane.java:406)
...
And on the machine using OS X 10.4.5 we also get this error:
org.mozilla.javascript.EvaluatorException: Inappropriate array length.
org.mozilla.javascript.EvaluatorException: Inappropriate array length.
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:61)
at org.mozilla.javascript.Context.reportRuntimeError(Context.java:560)
at org.mozilla.javascript.Context.reportRuntimeError(Context.java:598)
at org.mozilla.javascript.Context.reportRuntimeError0(Context.java:568)
at org.mozilla.javascript.NativeArray.jsConstructor(NativeArray.java:330)
at org.mozilla.javascript.NativeArray.execMethod(NativeArray.java:155)
at org.mozilla.javascript.IdFunction.construct(IdFunction.java:90)
at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:1337)
at org.mozilla.javascript.gen.c569.call(AnsichtWocheErstellen:59)
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1254)
at org.mozilla.javascript.gen.c568.call(ZeigeWoche:35)
at org.mozilla.javascript.optimizer.OptRuntime.callSimple(OptRuntime.java:281)
at org.mozilla.javascript.gen.c567.call(internal_anon:1)
at org.mozilla.javascript.gen.c567.exec(internal_anon)
at org.mozilla.javascript.Context.evaluateReader(Context.java:788)
at org.mozilla.javascript.Context.evaluateString(Context.java:752)
at com.servoy.j2db.FormPanel.f(Unknown Source)
at com.servoy.j2db.dataui.DataTextEditor$b.hyperlinkUpdate(Unknown Source)
at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:320)
at com.servoy.j2db.util.e$e.a(Unknown Source)
at com.servoy.j2db.util.e$e.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at java.awt.Component.processMouseEvent(Component.java:5557)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5319)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4021)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3869)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3945)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3869)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:182)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Anyone else experiencing problems using OS X 10.4.5? Is there a fix/workaround?
Thanks
Patrick