Skip to main content



      Home
Home » Archived » 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 09:17 Go to next message
Eclipse UserFriend
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 09:43 Go to previous message
Eclipse UserFriend
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:DatabaseQuery - not possible to drop to Canvas
Next Topic:NullPointer Exception, when using BusinessObject in Database Query
Goto Forum:
  


Current Time: Wed Jul 23 15:50:09 EDT 2025

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

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

Back to the top