Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:17 Go to next message
fantasia1993 is currently offline fantasia1993Friend
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 fantasia1993Friend
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:DatabaseQuery - not possible to drop to Canvas
Next Topic:NullPointer Exception, when using BusinessObject in Database Query
Goto Forum:
  


Current Time: Tue Apr 16 13:31:30 GMT 2024

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

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

Back to the top