Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Voicetools » Script-Module causes Runtime error(org.mozilla.javascript.EvaluatorException: missing ; before statement (<script>#4))
Script-Module causes Runtime error [message #756029] Thu, 10 November 2011 14:17 Go to next message
fantasia1993 is currently offline fantasia1993
Messages: 6
Registered: November 2011
Junior Member
Hello,

i used a very simple Script-module, where i execute a method from given Classfile:

var result = new java.lang.String;
com.test.app.Test test = new com.test.app.Test();
result = test.sayHello();

During runtime i get following error:
org.mozilla.javascript.EvaluatorException: missing ; before statement (<script>#4)

I attached the detailed logging of the Runtime-error and the according canvas-file.

Thanks in advance for hints and comments!
Wolfgang
Re: Script-Module causes Runtime error [message #756033 is a reply to message #756029] Thu, 10 November 2011 14:43 Go to previous message
fantasia1993 is currently offline fantasia1993
Messages: 6
Registered: November 2011
Junior Member
Have found the Problem!

This is the right syntax for that test:

var test = new com.test.app.Test();
result = test.sayHello();


Wolfgang
Previous Topic:Not possible to Drop DatabaseQuery on to the Canvas
Next Topic:DatabaseQuery - not possible to drop to Canvas
Goto Forum:
  


Current Time: Fri Oct 31 00:04:03 GMT 2014

Powered by FUDForum. Page generated in 0.02091 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software