js_provider sample fails
------------------------
Key: CXF-786
URL: https://issues.apache.org/jira/browse/CXF-786
Project: CXF
Issue Type: Bug
Components: Samples
Affects Versions: 2.1
Reporter: Jeff Zhang
The js_provider sample fails.
The error on "ant server" is:
server:
[java] entering server
[java] processing file
/local1/coheig/artix_5.0_11_7_2007/java/samples/js_provider/impl.jsx
[java] processing file
/local1/coheig/artix_5.0_11_7_2007/java/samples/js_provider/impl.js
[java] server ready...
[java] org.mozilla.javascript.EcmaError: TypeError: Cannot find function
getImplementation. (impl.js#31)
[java] at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3226)
[java] at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3216)
[java] at
org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3232)
[java] at
org.mozilla.javascript.ScriptRuntime.typeError1(ScriptRuntime.java:3244)
[java] at
org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3304)
[java] at
org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:1988)
....
and the error on "ant client" is:
[java] Invoking server through Dispatch interface using SOAPMessage
[java] Response from server: Hi Gil
[java] Invoking server through Dispatch interface using DOMSource in
PAYLOAD Mode
[java] Exception in thread "main" java.lang.NullPointerException
[java] at demo.hwDispatch.client.Client.main(Client.java:86)
[java] Java Result: 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.